helm create

helm create (지정된 이름의 새 차트 생성)

helm create 명령은 주어진 이름으로 새 차트(chart)를 생성합니다.

출처: 문서

본문

Synopsis

이 명령은 차트에서 흔히 쓰이는 파일과 디렉터리와 함께 차트 디렉터리를 만듭니다.

예를 들어, helm create foo 를 실행하면 다음과 같은 디렉터리 구조가 만들어집니다.

foo/
├── .helmignore   # Contains patterns to ignore when packaging Helm charts.
├── Chart.yaml    # Information about your chart
├── values.yaml   # The default values for your templates
├── charts/       # Charts that this chart depends on
└── templates/    # The template files
    └── tests/    # The test files

helm create 는 인자로 경로를 받습니다. 주어진 경로의 디렉터리가 없으면 Helm은 진행하면서 해당 디렉터리를 만들려고 시도합니다. 대상 디렉터리가 이미 존재하고 그 안에 파일이 있다면, 충돌하는 파일은 덮어쓰지만 나머지 파일은 그대로 둡니다.

helm create NAME [flags]

옵션 (Options)

  -h, --help             help for create
  -p, --starter string   the name or absolute path to Helm starter scaffold

상위 명령에서 상속된 옵션 (Options inherited from parent commands)

      --burst-limit int                 클라이언트 측 기본 스로틀링 한도 (기본값 100)
      --color string                    색상 출력 사용 (never, auto, always) (기본값 "auto")
      --colour string                   색상 출력 사용 (never, auto, always) (기본값 "auto")
      --content-cache string            캐시된 콘텐츠(예: 차트)가 담긴 디렉터리 경로 (기본값 "~/.cache/helm/content")
      --debug                           상세 출력 활성화
      --kube-apiserver string           Kubernetes API 서버의 주소와 포트
      --kube-as-group stringArray       작업에 가장(impersonate)할 그룹. 이 플래그를 반복해서 여러 그룹을 지정할 수 있음
      --kube-as-user string             작업에 가장(impersonate)할 사용자 이름
      --kube-ca-file string             Kubernetes API 서버 연결에 사용할 인증기관(certificate authority) 파일
      --kube-context string             사용할 kubeconfig 컨텍스트 이름
      --kube-insecure-skip-tls-verify   true로 설정하면 Kubernetes API 서버 인증서의 유효성을 검사하지 않음. HTTPS 연결이 안전하지 않게 됨
      --kube-tls-server-name string     Kubernetes API 서버 인증서 검증에 사용할 서버 이름. 제공하지 않으면 서버 접속에 사용된 호스트명을 사용
      --kube-token string               인증에 사용되는 bearer 토큰
      --kubeconfig string               kubeconfig 파일 경로
  -n, --namespace string                이 요청의 네임스페이스 범위
      --qps float32                     bursting을 제외하고 Kubernetes API와 통신할 때 사용하는 초당 쿼리 수
      --registry-config string          레지스트리 설정 파일 경로 (기본값 "~/.config/helm/registry/config.json")
      --repository-cache string         캐시된 저장소 인덱스가 담긴 디렉터리 경로 (기본값 "~/.cache/helm/repository")
      --repository-config string        저장소 이름과 URL이 담긴 파일 경로 (기본값 "~/.config/helm/repositories.yaml")

더 알아보기 (Learn more)

  • helm — Kubernetes용 Helm 패키지 매니저