We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
环境操作系统:Centos7.9 目前版本:
[root@master1 ocboot]# kubectl -n onecloud get onecloudclusters default -o=jsonpath='{.spec.version}' v3.11.8
k8s版本及ocboot 版本为
[root@master1 ~]# kubectl version Client Version: v1.28.5+k3s1 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.28.5+k3s1 [root@master1 ocboot]# git checkout master-v3.11.9-1 warning: refname 'master-v3.11.9-1' is ambiguous. 已经位于 'master-v3.11.9-1'
升级命名出现错误:
TASK [utils/k8s/kubelet/extra-args : Restart kubelet] ************************** . . . skipping: [ser-c5-2] skipping: [ser-c5-3] fatal: [master1]: FAILED! => {"changed": false, "msg": "Could not find the requested service kubelet: host"} skipping: [ser-c5-4] skipping: [ser-c5-5] . . . PLAY RECAP ********************************************************************* master1 : ok=29 changed=1 unreachable=0 failed=1 skipped=12 rescued=0 ignored=0 master2 : ok=37 changed=2 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 ...
kubectl get pods -n onecloud --watch无变动,没升级。请指教。
kubectl get pods -n onecloud --watch
The text was updated successfully, but these errors were encountered:
https://www.cloudpods.org/docs/operations/upgrading/ocboot-upgrade#%E4%B8%8B%E8%BD%BD-ocboot-%E5%B7%A5%E5%85%B7 用这个版本的 ocboot 升级试试
Sorry, something went wrong.
是使用这个版本的ocboot升级,再次操作,还是遇到一样的问题。
感觉是 master1 上面有 /etc/kubernets/kubelet.conf 文件,但实际又是部署的 k3s 导致的
/etc/kubernets/kubelet.conf
确实是存在/etc/kubernets/kubelet.conf文件,我把修改为/etc/kubernets/kubelet.conf.bak然后再升级,就成功了。 @zexi 谢谢!!!
No branches or pull requests
环境操作系统:Centos7.9
目前版本:
k8s版本及ocboot 版本为
升级命名出现错误:
kubectl get pods -n onecloud --watch
无变动,没升级。请指教。The text was updated successfully, but these errors were encountered: