반응형
Kubernetes 조타 차트를 설치할 수 없습니다. 오류: 아직 사용 중인 이름을 재사용할 수 없습니다.
조타 차트는 설치할 수 없지만 조타로 생성된 원시 파일을 사용하면 kubectl apply를 통해 설치할 수 있습니다.
사용 시 다음 오류가 표시됩니다.
Error: cannot re-use a name that is still in use
helm.go:88: [debug] cannot re-use a name that is still in use
helm.sh/helm/v3/pkg/action.(*Install).availableName
helm.sh/helm/v3/pkg/action/install.go:442
helm.sh/helm/v3/pkg/action.(*Install).Run
helm.sh/helm/v3/pkg/action/install.go:185
main.runInstall
helm.sh/helm/v3/cmd/helm/install.go:242
main.newInstallCmd.func2
helm.sh/helm/v3/cmd/helm/install.go:120
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.1.3/command.go:852
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.1.3/command.go:960
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.1.3/command.go:897
main.main
helm.sh/helm/v3/cmd/helm/helm.go:87
runtime.main
runtime/proc.go:225
runtime.goexit
runtime/asm_amd64.s:1371
다음 명령을 사용하여 조타 장치에서 생성한 원시 파일을 설치하면 잘 작동하지만 실행하면 위의 오류가 발생합니다.
helm install myChart . --dry-run > myChart.yaml
kubectl apply -f myChart.yaml
설치 대신 업그레이드 사용:
helm upgrade -i myChart .
릴리스가 없는 경우 플래그가 설치됩니다.
다른 옵션은 다음과 같습니다.
- 사용 가능한 조타 차트를 나열합니다. 예:
- 필요한 조타 차트를 삭제합니다. 예:
나에게 효과가 있다 - 조타 제거 /<chart_name>
반응형
'개발하자' 카테고리의 다른 글
Kubernetes를 설정할 때 포트 6443 연결이 거부되었습니다. (0) | 2022.12.18 |
---|---|
Flurter 및 Android Studio를 설치한 후 "cmdline-tools 구성 요소가 누락됨" 오류가 표시됩니다. Android SDK를 추가했습니다. 어떻게 해결해야 할까요? (0) | 2022.12.17 |
'DateTime' 유형이 Flower Cloud Firestore의 'String' 유형의 하위 유형이 아닙니다. (0) | 2022.12.16 |
fastapi/flask/nodejs의 쿼리 매개 변수를 따르는 대괄호 (1) | 2022.12.16 |
다트 코드로만 플러터 웹 API 오류를 해결하는 방법은 무엇입니까? (0) | 2022.12.15 |