I have been using your charts without issue so far in a kubernetes development environment.
Today I wanted to try an update from 2024.1.2.0-b77
to 2024.1.3.0-b105
. Si I did change the value Image.tag
for my helm deployment and run
helm upgrade yugabyte yugabytedb/yugabyte --namespace database --values applications/yugabytedb/values.yaml
The command finish it’s execution but the pods where never updated. I checked the describe
of the statefulset and the config was correctly applied on it but the pod was still with the older version.
I did try to remove the pods one by one with kubectl -n database delete pod yb-tserver-0
and the new pod was still using the old image.
The only solution I found was to scale down and scale up with
kubectl -n database scale sts yb-tserver --replicas=0; kubectl -n database scale sts yb-tserver --replicas=3
If you have any suggestion for this issue (did you want me to report it on github?).
Also, I found that the chart tries to get the images from quay.io/yugabytedb/yugabyte
but get unauthorized access and final fallback to docker hub and start the containers in the pod.
Warning Failed 15m kubelet Error: ErrImagePull
Warning Failed 15m kubelet Failed to pull image "yugabytedb/yugabyte:2024.1.3.0-b105": reading manifest 2024.1.3.0-b105 in quay.io/yugabytedb/yugabyte: unauthorized: access to the requested resource is not authorized
Normal BackOff 15m kubelet Back-off pulling image "yugabytedb/yugabyte:2024.1.3.0-b105"
Normal BackOff 15m (x2 over 15m) kubelet Back-off pulling image "yugabytedb/yugabyte:2024.1.3.0-b105"
Warning Failed 15m (x2 over 15m) kubelet Error: ImagePullBackOff
Normal BackOff 15m (x2 over 15m) kubelet Back-off pulling image "yugabytedb/yugabyte:2024.1.3.0-b105"
Warning Failed 15m (x2 over 15m) kubelet Error: ImagePullBackOff
Warning Failed 15m kubelet Error: ImagePullBackOff
Normal Pulling 14m (x2 over 15m) kubelet Pulling image "yugabytedb/yugabyte:2024.1.3.0-b105"
Normal Started 14m kubelet Started container yb-tserver
Normal Created 14m kubelet Created container yb-tserver