본문 바로가기
WIKI 기술 지식 베이스

profile

원문 보기 위키 갱신

Kubernetes용 서비스 프로파일(service profile) 설정을 출력해 주는 CLI 명령어예요.

출처: Linkerd profile

본문

Kubernetes용 서비스 프로파일 구성을 출력해요.

이 명령어가 무엇을 하는지, 서비스 프로파일로 무엇을 할 수 있는지에 대한 자세한 내용은 서비스 프로파일 문서를 참고하세요.

예시

# Output a basic template to apply after modification.
linkerd profile -n emojivoto --template web-svc

# Generate a profile from an OpenAPI specification.
linkerd profile -n emojivoto --open-api web-svc.swagger web-svc

# Generate a profile from a protobuf definition.
linkerd profile -n emojivoto --proto Voting.proto vote-svc

플래그 (Flags)

플래그 용도
--ignore-cluster 오프라인 생성 방식으로 서비스 프로파일을 출력
--namespace-n 서비스가 속한 네임스페이스
--open-api 주어진 OpenAPI 스펙 파일을 기반으로 서비스 프로파일 출력
--output-o 출력 형식. 값: yaml, json
--proto 주어진 Protobuf 스펙 파일을 기반으로 서비스 프로파일 출력
--template 서비스 프로파일 템플릿 출력

더 알아보기 (Learn more)