devel标志在kubectl中起什么作用?

时间:2019-09-02 11:32:27

标签: kubernetes kubernetes-helm istio

我正在关注this youtube教程,讲师会运行此命令。

helm install --name istio incubator/istio --namespace istio-system --devel
helm upgrade istio incubator/istio --reuse-values --set istio.install=true --devel

--devel标志的作用是什么?我似乎找不到它的参考?

省略--devel标志会出现此错误

Error: failed to download "incubator/istio" (hint: running `helm repo update` may help)

1 个答案:

答案 0 :(得分:1)

helm install --help | grep devel

  --devel                    use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored.

HELM UPGRADE手册:

  

此命令将发行版升级到图表的指定版本   和/或更新图表值。

     

必需的参数是release和chart。图表参数可以是   以下之一:-图表参考(“ stable / mariadb”);使用“ –version”和   最新版本以外的版本的“ –devel”标志-图表的路径   目录-打包图表-完全限定的网址。