generate list of images during build

Bug #1866071 reported by Kevin W Monroe
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
CDK Addons
Incomplete
Undecided
Unassigned

Bug Description

When composing the list of everything included in CK, we need to figure out all the container images that come from cdk-addons. Fortunately, these are pretty easy to find by grepping images from built templates, e.g.:

$ grep -r image: build/templates | sed -e "s/.*') }}\///" | sed -e "s/{{ multiarch_workaround }}/{{ arch }}/" | sort -u
addon-resizer-{{ arch }}:1.8.5
cephcsi/cephfsplugin:v1.0.0
cephcsi/rbdplugin:v1.0.0
coredns/coredns{{ arch }}:1.6.5
coreos/kube-state-metrics:v1.8.0
k8s-dns-dnsmasq-nanny{{ arch }}:1.14.13
k8s-dns-kube-dns{{ arch }}:1.14.13
k8s-dns-sidecar{{ arch }}:1.14.13
k8scloudprovider/cinder-csi-plugin:v1.17.0
k8scloudprovider/k8s-keystone-auth:latest
k8scloudprovider/openstack-cloud-controller-manager:v1.17.0
k8scsi/csi-attacher:v1.0.1
k8scsi/csi-attacher:v2.0.0
k8scsi/csi-node-driver-registrar:v1.0.2
k8scsi/csi-node-driver-registrar:v1.1.0
k8scsi/csi-provisioner:v1.0.2
k8scsi/csi-provisioner:v1.4.0
k8scsi/csi-resizer:v0.3.0
k8scsi/csi-snapshotter:v1.0.2
k8scsi/csi-snapshotter:v1.2.2
kubernetesui/dashboard-{{ arch }}:v2.0.0-beta4
kubernetesui/metrics-scraper:v1.0.1
metrics-server-{{ arch }}:v0.3.6
nvidia/k8s-device-plugin:1.0.0-beta4

Revision history for this message
Kevin W Monroe (kwmonroe) wrote :

Looks like it'll be easier to grab the full image list from the addons build job output:

https://jenkins.canonical.com/k8s/job/build-release-cdk-addons-amd64-1.18/

The ALL_IMAGES line from that job's console output has both template images as well as static images that we carry per release.

Revision history for this message
Kevin W Monroe (kwmonroe) wrote :

ALL_IMAGES, btw, looks like this:

07:44:39 + ALL_IMAGES= docker.io/****/microbot-amd64:latest docker.io/****/microbot-arm64:latest docker.io/****/registry-amd64:2.6 docker.io/****/registry-arm64:2.6 k8s.gcr.io/defaultbackend-amd64:1.5 k8s.gcr.io/defaultbackend-arm64:1.5 k8s.gcr.io/defaultbackend-s390x:1.4 k8s.gcr.io/pause-amd64:3.2 quay.io/external_storage/nfs-client-provisioner:v3.1.0-k8s1.11 quay.io/kubernetes-ingress-controller/nginx-ingress-controller-amd64:0.30.0 quay.io/kubernetes-ingress-controller/nginx-ingress-controller-arm64:0.30.0 quay.io/kubernetes-ingress-controller/nginx-ingress-controller-s390x:0.20.0 sonatype/nexus3:latest rancher/rancher:latest quay.io/cephcsi/cephfsplugin:v1.0.0

07:44:39 docker.io/coredns/coredns:1.6.7 docker.io/k8scloudprovider/cinder-csi-plugin:v1.17.0 docker.io/k8scloudprovider/k8s-keystone-auth:latest docker.io/k8scloudprovider/openstack-cloud-controller-manager:v1.17.0 docker.io/kubernetesui/dashboard-amd64:v2.0.0-rc5 docker.io/kubernetesui/metrics-scraper:v1.0.3 docker.io/nvidia/k8s-device-plugin:1.0.0-beta5 k8s.gcr.io/k8s-dns-dnsmasq-nanny:1.14.13 k8s.gcr.io/k8s-dns-kube-dns:1.14.13 k8s.gcr.io/k8s-dns-sidecar:1.14.13 k8s.gcr.io/metrics-server-amd64:v0.3.6 quay.io/cephcsi/rbdplugin:v1.0.0 quay.io/coreos/kube-state-metrics:v1.9.5 quay.io/k8scsi/csi-attacher:v1.0.1 quay.io/k8scsi/csi-attacher:v2.0.0 quay.io/k8scsi/csi-node-driver-registrar:v1.0.2 quay.io/k8scsi/csi-node-driver-registrar:v1.1.0 quay.io/k8scsi/csi-provisioner:v1.0.2 quay.io/k8scsi/csi-provisioner:v1.4.0 quay.io/k8scsi/csi-resizer:v0.3.0 quay.io/k8scsi/csi-snapshotter:v1.0.2 quay.io/k8scsi/csi-snapshotter:v1.2.2 rocks.canonical.com/cdk/addon-resizer-amd64:1.8.5

This is from an amd64 run, so we may need to take care if we're going to note other architectures.

Revision history for this message
George Kraft (cynerva) wrote :

Actually, I triaged this prematurely.

Kevin, is there anything left to do here?

Changed in cdk-addons:
importance: Undecided → Low
status: New → Triaged
George Kraft (cynerva)
Changed in cdk-addons:
importance: Low → Undecided
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.