无法安装舵机图表,但是当我使用helm生成的原始文件时,我可以通过kubectl .安装。
使用helm install myChart . --debug时会显示以下错误
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生成的原始文件非常有效,但当我运行helm install myChart .时,会出现上述错误
helm install myChart . --dry-run > myChart.yaml
kubectl apply -f myChart.yaml发布于 2021-12-23 16:57:08
使用升级代替安装:
helm upgrade -i myChart .如果发行版不存在,则安装-i标志。
发布于 2022-09-17 11:32:50
另一种选择可以是:
helm list。例如:
helm delete phoenix-chart。例如:
发布于 2022-12-03 18:42:25
为我工作- helm卸载/
https://stackoverflow.com/questions/70464815
复制相似问题