Hey everyone, After upgrading the RKE version from...
# rke
r
Hey everyone, After upgrading the RKE version from 1.3.1 to 1.6.7, and consequently the Kubernetes version from 1.21 to 1.27.16, the deployments have stopped working and are not creating new replicas of pods. Is this a known issue, and does anyone know how to solve it?
BTW, the system pods works well.
The already running PODs of deployments are in running state but after restart of a deployment the new pods are not created even with scale down replicas to 0 and then to an X
c
did you go directly from 1.21 to 1.27? You’re supposed to step through 1.22, 1.23, and so on.
r
Yes, I upgraded from 1.21 to 1.27, and everything went smoothly. The cluster is up and running. I identified and fixed the issue, which was related to Consul rather than RKE. After fixing Consul, everything is perfect. Thanks for your response!
c
hope that works out. You have probably missed some important resource version migrations. In the future you should refer to https://kubernetes.io/releases/version-skew-policy/#supported-component-upgrade-order
Project policies for API deprecation and API change guidelines require
kube-apiserver
to not skip minor versions when upgrading, even in single-instance clusters.
🙌 1
You may at some point find that things are more broken than you think because you have skipped MANY minor versions.
🙌 1
r
I noticed that when a node have 2 IP addresses Pub and private a nodeport does not work on the Public IPs but it is OK for the private ones. Doe you aware of what can be the reason and solution? C.C @creamy-pencil-82913
The above posted issue ^^ has been already resolved.