container images in k8s validation should come from rocks.canonical.com
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charmed Kubernetes Testing |
Fix Released
|
High
|
Kevin W Monroe |
Bug Description
The k8s validation suite we use in charmed kubernetes includes a hello-world test that pulls a container image from gcr.io/
This is a request to pull the container image from rocks.canonical.com instead so that a charmed kubernetes deployment doesn't have a dependency on the gcr.io container registry.
This was caught when I deployed charmed kubernetes in an environment where we allowed rocks.canonical.com and docker hub. Everything deployed fine but the validation failed when it tried to use that hello world image from gcr.io.
Details from hello world pod:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 5m29s default-scheduler Successfully assigned default/
Normal Pulling 3m56s (x4 over 5m28s) kubelet Pulling image "gcr.io/
Warning Failed 3m56s (x4 over 5m28s) kubelet Failed to pull image "gcr.io/
Warning Failed 3m56s (x4 over 5m28s) kubelet Error: ErrImagePull
Warning Failed 3m44s (x6 over 5m27s) kubelet Error: ImagePullBackOff
Normal BackOff 18s (x21 over 5m27s) kubelet Back-off pulling image "gcr.io/
Changed in charmed-kubernetes-testing: | |
assignee: | nobody → Kevin W Monroe (kwmonroe) |
status: | New → Triaged |
Changed in charmed-kubernetes-testing: | |
milestone: | none → 1.20 |
Changed in charmed-kubernetes-testing: | |
status: | Fix Committed → Fix Released |
Image is now in rocks:
https:/ /rocks. canonical. com/v2/ cdk/google- samples/ node-hello/ tags/list