-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
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
Kubeadm upgrade plan failed v1.17.11 to 1.18.20 #2560
Labels
kind/support
Categorizes issue or PR as a support question.
Comments
found below log in etcd during upgrade plan command
|
/kind support |
k8s-ci-robot
added
the
kind/support
Categorizes issue or PR as a support question.
label
Aug 25, 2021
related to #910 |
<1.20 is out of support.
You could try refreshing the certs with 'kubeadm certs renew' before
upgrade. This command is missing in older versions so download kubeadm 1.22
and use it only for that purpose. Use the 1.18 binary for the upgrade.
/support
|
Hello, @prabhinmp 🤖 👋 You seem to have troubles using Kubernetes and kubeadm. Please see: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Team,
I'm upgrading Kubernetes cluster from v1.17.11 to 1.18.20.
Im not using external etcd . but I'm getting below error when I do
kubeadm upgrade plan.
commandI0825 00:49:59.791965 3510173 round_trippers.go:444] GET https://192.168.190.78:6443/api/v1/namespaces/kube-system/configmaps/kubeadm-config?timeout=10s 200 OK in 1 milliseconds I0825 00:49:59.791980 3510173 round_trippers.go:450] Response Headers: I0825 00:49:59.791985 3510173 round_trippers.go:453] Cache-Control: no-cache, private I0825 00:49:59.791991 3510173 round_trippers.go:453] Content-Type: application/json I0825 00:49:59.791998 3510173 round_trippers.go:453] Content-Length: 979 I0825 00:49:59.792011 3510173 round_trippers.go:453] Date: Wed, 25 Aug 2021 04:49:59 GMT I0825 00:49:59.792038 3510173 request.go:1068] Response Body: {"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"kubeadm-config","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/configmaps/kubeadm-config","uid":"de91e9af-15a6-48d6-bd75-c02df7257ed3","resourceVersion":"56870577","creationTimestamp":"2020-10-16T07:26:37Z"},"data":{"ClusterConfiguration":"apiServer:\n extraArgs:\n authorization-mode: Node,RBAC\n timeoutForControlPlane: 4m0s\napiVersion: kubeadm.k8s.io/v1beta2\ncertificatesDir: /etc/kubernetes/pki\nclusterName: kubernetes\ncontrollerManager: {}\ndns:\n type: CoreDNS\netcd:\n local:\n dataDir: /var/lib/etcd\nimageRepository: k8s.gcr.io\nkind: ClusterConfiguration\nkubernetesVersion: v1.17.17\nnetworking:\n dnsDomain: cluster.local\n podSubnet: 10.244.0.0/16\n serviceSubnet: 10.96.0.0/12\nscheduler: {}\n","ClusterStatus":"apiEndpoints:\n kubernetes-master:\n advertiseAddress: 192.168.190.78\n bindPort: 6443\napiVersion: kubeadm.k8s.io/v1beta2\nkind: ClusterStatus\n"}} I0825 00:49:59.792451 3510173 etcd.go:103] etcd endpoints read from pods: https://192.168.190.78:2379 context deadline exceeded error syncing endpoints with etc k8s.io/kubernetes/cmd/kubeadm/app/util/etcd.NewFromCluster /workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/util/etcd/etcd.go:119 k8s.io/kubernetes/cmd/kubeadm/app/cmd/upgrade.runPlan /workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/upgrade/plan.go:87 k8s.io/kubernetes/cmd/kubeadm/app/cmd/upgrade.NewCmdPlan.func1 /workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/upgrade/plan.go:55 k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).execute /workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:826 k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).ExecuteC /workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:914 k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).Execute /workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:864 k8s.io/kubernetes/cmd/kubeadm/app.Run /workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/kubeadm.go:50 main.main _output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/kubeadm.go:25 runtime.main /usr/local/go/src/runtime/proc.go:203 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1357
Kindly help on this.
The text was updated successfully, but these errors were encountered: