Kubernetes point release upgrades cause ImagePullBackOff when using custom registry
Bug #1891530 reported by
Chris Johnston
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CDK Addons |
Fix Released
|
High
|
Kevin W Monroe | ||
Charmed Kubernetes Testing |
Fix Released
|
High
|
Kevin W Monroe |
Bug Description
When a point release of Kubernetes is published which requires new (updated) images, an environment using a custom registry will result in pods in ImagePullBackOff because the new image isn't available in the custom registry.
description: | updated |
no longer affects: | charmed-kubernetes-bundles |
Changed in cdk-addons: | |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: sts |
Changed in cdk-addons: | |
importance: | Medium → High |
Changed in cdk-addons: | |
assignee: | nobody → Kevin W Monroe (kwmonroe) |
Changed in cdk-addons: | |
status: | Triaged → In Progress |
Changed in cdk-addons: | |
milestone: | none → 1.21 |
Changed in cdk-addons: | |
status: | In Progress → Fix Committed |
Changed in charmed-kubernetes-testing: | |
status: | In Progress → Fix Committed |
Changed in cdk-addons: | |
status: | Fix Committed → Fix Released |
Changed in charmed-kubernetes-testing: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Task to Chris on MM and gathered some info.
In this case, the customer cluster had just upgraded to 1.17.10:
kubernetes-master 1.17.10 active 3 kubernetes-master local 0 ubuntu
kubernetes-worker 1.17.10 active 3 kubernetes-worker local 0 ubuntu exposed
The customer (who is using their own registry) now has pods in ImagePullBackoff because their registry doesn't have nvidia/ k8s-device- plugin: v0.7.0- rc.5
Looking at https:/ /github. com/charmed- kubernetes/ bundle/ blob/master/ container- images. txt at the time of this writing, we can see that the latest version of cdk-addons is 1.17.9, and that this image did indeed change since 1.17.8 (and in fact, it has changed 6 times in the 1.17.x series).