Update build to produce list of docker images required for platform deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
In Progress
|
Low
|
Abraham Arce |
Bug Description
From the starlingx-discuss mailing list the following request was made by Cheng Li but several others also requested this list.
Subject: [Starlingx-discuss] Docker image list
As you know many docker images are pulled during starlingx deployment. It may be fast to pull all these images in America, but it’s very slow in China.
To speed up starlingx deployment, I have set up a private docker registry for which I sync images every night from upstream registries by cron job.
I installed starlingx without using my private docker registry so that I can get the upstream docker image list. Every item in the list is synced every day.
This works fine except that the docker image list changes sometimes. In this case, I would have to collect the image list by deploying without using private docker registry, which is very slow.
So I wonder if it’s possible to publish the docker image list file together with ISO and tarball on CENGN?
--------------
This launchpad will be used to track an enhancement for the build to produce a list of docker images required by StarlingX to deploy the platform (up to the point where the platform-integ-apps is applied).
Note: the images required by the stx-openstack application can be obtained already from the CENGN build output.
Changed in starlingx: | |
status: | Triaged → In Progress |
We have the following:
Stage 1: After Ansible setup
REPOSITORY TAG k8s-cni- sriov master- centos- stable- latest airshipit/ armada dd2e56c473549fd 16f94212b553ed5 8c48d1f51b- ubuntu_ bionic calico/ kube-controller s v3.6.2 io/kube- proxy v1.13.5 io/kube- apiserver v1.13.5 io/kube- controller- manager v1.13.5 io/kube- scheduler v1.13.5 kubernetes- helm/tiller v2.13.1
starlingx/
quay.io/
quay.io/calico/node v3.6.2
quay.io/calico/cni v3.6.2
quay.io/
k8s.gcr.
k8s.gcr.
k8s.gcr.
k8s.gcr.
nfvpe/multus v3.2
gcr.io/
k8s.gcr.io/coredns 1.2.6
k8s.gcr.io/pause 3.1
Stage 2: After first unlock. platform-integ-apps are applied.
REPOSITORY TAG external_ storage/ rbd-provisioner v2.1.1-k8s1.11 config- helper v1.10.3
quay.io/
port/ceph-
I took a crack at trying to locate the information from my private build. We would basically need a set of greps to derive them. I think it can be done if someone wants to take on packaging it into a script.
# For these they all are derived from here: k8s-cni- sriov master- centos- stable- latest calico/ kube-controller s v3.6.2 soho-rchurch- lx2 cgcs-root]$ grep -ri "image:" $MY_REPO/ stx/stx- config/ puppet- manifests/ src/modules/ platform/ templates | sort -u starlingx- 2/cgcs- root/stx/ stx-config/ puppet- manifests/ src/modules/ platform/ templates/ calico. yaml.erb: image: "<%= @quay_registry %>/calico/ cni:v3. 6.2" starlingx- 2/cgcs- root/stx/ stx-config/ puppet- manifests/ src/modules/ platform/ templates/ calico. yaml.erb: image: "<%= @quay_registry %>/calico/ kube-controller s:v3.6. 2" starlingx- 2/cgcs- root/stx/ stx-config/ puppet- manifests/ src/modules/ platform/ templates/ calico. yaml.erb: image: "<%= @quay_registry %>/calico/ node:v3. 6.2" starlingx- 2/cgcs- root/stx/ stx-config/ puppet- manifests/ src/modules/ platform/ templates/ multus. yaml.erb: image: <%= @docker_registry %>/nfvpe/ multus: v3.2 starlingx- 2/cgcs- root/stx/ stx-config/ puppet- manifests/ src/modules/ platform/ templates/ sriov-cni. yaml.erb: image: <%= @docker_registry %>/starlingx/ k8s-cni- sriov:master- centos- stable- latest starlingx- 2/cgcs- root/stx/ stx-config/ puppet- manifests/ src/modules/ platform/ templates/ sriovdp- daemonset. yaml.erb: image: <%= @docker_registry %>/starlingx/ k8s-plugins- sriov-network- device: master- centos- stable- latest
# starlingx/
# quay.io/calico/node v3.6.2
# quay.io/calico/cni v3.6.2
# quay.io/
[rchurch@
/l/d/rchurch/
/l/d/rchurch/
/l/d/rchurch/
/l/d/rchurch/
/l/d/rchurch/
/l/d/rchurch/
# For these we can derive it from the Kubernetes version: io/kube- proxy v1.13.5 io/kube- apiserver v1.13.5 io/kube- controller- manager v1.13.5 io/kube- scheduler v1.13.5 soho-rchurch- lx2 cgcs-root]$ grep -ri "kubernetesVersion" $MY_REPO/ stx/stx- config/ puppet- ...
# k8s.gcr.
# k8s.gcr.
# k8s.gcr.
# k8s.gcr.
[rchurch@