我有带ICP1的IBM ICP 2.1.0.3。我找不到任何程序将分蘖升级到2.9.1或以上。由于分蘖是2.7.3 + icp,因此有一些舵图无法安装在ICP 2.1.0.3上。
任何已知且稳定的程序将分蘖升级到2.9.1?
当人们在ICP上升级分蘖时,我看到了一些棘手的错误(参见本页:https://www-01.ibm.com/support/docview.wss?uid=ibm10730087)。我不认为他们打算让你升级那样的单个组件。
预期的路径可能是安装较新版本的IBM Cloud Private。版本3.1.1使用分蘖2.9.1,因此它可能是您需要的。这对你来说是最“稳定”的程序。
如果你想尝试一些有风险的东西,不介意你破坏你的集群,你可以试试这个:
kubectl
命令删除ICP上的分蘖部署。helm init --tiller-tls
创建新的分蘖部署。我之前听说过这个有用过,但我自己从未尝试过。
您可以通过重新启动来升级tiller-deploy
。
# use following command to check whether the tiller-deploy pod is running or not
$kubectl get pod -n kube-system
# delete tiller-deploy deployment
$kubectl delete deployment -n kube-system tiller-deploy
# use the same command to confirm that the tiller-deploy is deleted
$kubectl get pod -n kube-system
# use the command below to deploy tiller-deploy again
$helm init