You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed victoria-metrics-operator-0.34.8.tgz (operator:v0.47.3) using Helm and created a vmcluster. Everything was working fine at that point. However, this afternoon I noticed that a new version of the operator (v0.48.0) was available.
After upgrading, I found that all the pods in mzc/vmcluster-01 were restarted, and some containers were in ImagePullBackOff status because my images are stored in a private registry, and some of the worker nodes didn't have the images cached.
Upon running kubectl describe, I discovered that the vmcluster.spec.imagePullSecrets configuration was missing, and the StatefulSet also lacked this configuration.
I suspect that after upgrading the operator, it performed a validation check on the vmcluster, which resulted in the loss of the vmcluster.spec.imagePullSecrets configuration. This may have triggered the restart mechanism for both the StatefulSet and Deployment.
After my test, adding or subtracting imagePullSecrets in kubernetes v1.27.7 does cause StatefulSet and Deployment to restart its pods.
Hi bro!
I installed victoria-metrics-operator-0.34.8.tgz (operator:v0.47.3) using Helm and created a vmcluster. Everything was working fine at that point. However, this afternoon I noticed that a new version of the operator (v0.48.0) was available.
After upgrading, I found that all the pods in mzc/vmcluster-01 were restarted, and some containers were in ImagePullBackOff status because my images are stored in a private registry, and some of the worker nodes didn't have the images cached.
Upon running kubectl describe, I discovered that the vmcluster.spec.imagePullSecrets configuration was missing, and the StatefulSet also lacked this configuration.
I suspect that after upgrading the operator, it performed a validation check on the vmcluster, which resulted in the loss of the vmcluster.spec.imagePullSecrets configuration. This may have triggered the restart mechanism for both the StatefulSet and Deployment.
After my test, adding or subtracting imagePullSecrets in kubernetes v1.27.7 does cause StatefulSet and Deployment to restart its pods.
Looking forward to your reply.
[email protected]
The text was updated successfully, but these errors were encountered: