gpt4 book ai didi

kubernetes - helm init已在版本3中删除

转载 作者:行者123 更新时间:2023-12-02 11:27:41 25 4
gpt4 key购买 nike

从版本3开始,helm init命令不再起作用。
运行helm --help会列出所有可用的命令,其中init不再存在。

这是为什么?

最佳答案

根据official documentationhelm init命令已被删除而无需替换:

The helm init command has been removed. It performed two primary functions. First, it installed Tiller. This is no longer needed. Second, it setup directories and repositories where Helm configuration lived. This is now automated. If the directory is not present it will be created.



还有另一个值得注意的更改,接下来可能会困扰您:

The stable repository is no longer added by default. This repository will be deprecated during the life of Helm v3 and we are now moving to a distributed model of repositories that can be searched by the Helm Hub.



但是,根据 official quickstart guide,可以根据需要手动完成此操作:
$ helm repo add stable https://kubernetes-charts.storage.googleapis.com/
$ helm repo update

⎈快乐 Helm !⎈

关于kubernetes - helm init已在版本3中删除,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59261340/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com