Comment 1 for bug 1834504

Revision history for this message
Bob Church (rchurch) wrote :

We have the following:

Stage 1: After Ansible setup

REPOSITORY TAG
starlingx/k8s-cni-sriov master-centos-stable-latest
quay.io/airshipit/armada dd2e56c473549fd16f94212b553ed58c48d1f51b-ubuntu_bionic
quay.io/calico/node v3.6.2
quay.io/calico/cni v3.6.2
quay.io/calico/kube-controllers v3.6.2
k8s.gcr.io/kube-proxy v1.13.5
k8s.gcr.io/kube-apiserver v1.13.5
k8s.gcr.io/kube-controller-manager v1.13.5
k8s.gcr.io/kube-scheduler v1.13.5
nfvpe/multus v3.2
gcr.io/kubernetes-helm/tiller v2.13.1
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
quay.io/external_storage/rbd-provisioner v2.1.1-k8s1.11
port/ceph-config-helper v1.10.3

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:
# starlingx/k8s-cni-sriov master-centos-stable-latest
# quay.io/calico/node v3.6.2
# quay.io/calico/cni v3.6.2
# quay.io/calico/kube-controllers v3.6.2
[rchurch@soho-rchurch-lx2 cgcs-root]$ grep -ri "image:" $MY_REPO/stx/stx-config/puppet-manifests/src/modules/platform/templates | sort -u
/l/d/rchurch/starlingx-2/cgcs-root/stx/stx-config/puppet-manifests/src/modules/platform/templates/calico.yaml.erb: image: "<%= @quay_registry %>/calico/cni:v3.6.2"
/l/d/rchurch/starlingx-2/cgcs-root/stx/stx-config/puppet-manifests/src/modules/platform/templates/calico.yaml.erb: image: "<%= @quay_registry %>/calico/kube-controllers:v3.6.2"
/l/d/rchurch/starlingx-2/cgcs-root/stx/stx-config/puppet-manifests/src/modules/platform/templates/calico.yaml.erb: image: "<%= @quay_registry %>/calico/node:v3.6.2"
/l/d/rchurch/starlingx-2/cgcs-root/stx/stx-config/puppet-manifests/src/modules/platform/templates/multus.yaml.erb: image: <%= @docker_registry %>/nfvpe/multus:v3.2
/l/d/rchurch/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
/l/d/rchurch/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

# For these we can derive it from the Kubernetes version:
# k8s.gcr.io/kube-proxy v1.13.5
# k8s.gcr.io/kube-apiserver v1.13.5
# k8s.gcr.io/kube-controller-manager v1.13.5
# k8s.gcr.io/kube-scheduler v1.13.5
[rchurch@soho-rchurch-lx2 cgcs-root]$ grep -ri "kubernetesVersion" $MY_REPO/stx/stx-config/puppet-manifests/src/modules/platform/templates | sort -u
/l/d/rchurch/starlingx-2/cgcs-root/stx/stx-config/puppet-manifests/src/modules/platform/templates/kubeadm.yaml.erb:kubernetesVersion: 1.13.5

# k8s.gcr.io/coredns 1.2.6
# k8s.gcr.io/pause 3.1
These are baked into the kubeadm and are pulled when it’s initialized. We can see what versions that it will pull if left to its own devices:

controller-0:/etc# kubeadm config images list
I0624 20:09:40.825976 572565 version.go:237] remote version is much newer: v1.15.0; falling back to: stable-1.13
k8s.gcr.io/kube-apiserver:v1.13.7
k8s.gcr.io/kube-controller-manager:v1.13.7
k8s.gcr.io/kube-scheduler:v1.13.7
k8s.gcr.io/kube-proxy:v1.13.7
k8s.gcr.io/pause:3.1
k8s.gcr.io/etcd:3.2.24
k8s.gcr.io/coredns:1.2.6

When we set the kubernetesVersion in the ERB file we could also document the versions of pause and coredns in a comment that we could use with an extraction script.

# For these helm.pp:
# quay.io/airshipit/armada af8a9ffd0873c2fbc915794e235dbd357f2adab1
# gcr.io/kubernetes-helm/tiller v2.13.1
[rchurch@soho-rchurch-lx2 cgcs-root]$ grep -ri "pull.*airshipit" $MY_REPO/stx/stx-config/puppet-manifests/src/modules/platform/manifests | sort -u
/l/d/rchurch/starlingx-2/cgcs-root/stx/stx-config/puppet-manifests/src/modules/platform/manifests/helm.pp: command => "docker image pull ${quay_registry}/airshipit/armada:af8a9ffd0873c2fbc915794e235dbd357f2adab1",
[rchurch@soho-rchurch-lx2 cgcs-root]$ grep -ri "pull.*tiller" $MY_REPO/stx/stx-config/puppet-manifests/src/modules/platform/manifests | sort -u
/l/d/rchurch/starlingx-2/cgcs-root/stx/stx-config/puppet-manifests/src/modules/platform/manifests/helm.pp: command => "docker image pull ${gcr_registry}/kubernetes-helm/tiller:v2.13.1",

# For platform-integ-apps: These can be moved and defined in $MY_REPO/stx/stx-config/kubernetes/platform/stx-platform/stx-platform-helm/stx-platform-helm/manifests/manifest.yaml for a single grep:
# quay.io/external_storage/rbd-provisioner v2.1.1-k8s1.11
# port/ceph-config-helper v1.10.3
[rchurch@soho-rchurch-lx2 starlingx-2]$ grep -ri rbd-provisioner: $MY_REPO/stx/stx-config/kubernetes/helm-charts/rbd-provisioner
/l/d/rchurch/starlingx-2/cgcs-root/stx/stx-config/kubernetes/helm-charts/rbd-provisioner/values.yaml: rbd_provisioner: quay.io/external_storage/rbd-provisioner:v2.1.1-k8s1.11
[rchurch@soho-rchurch-lx2 cgcs-root]$ grep -ri ceph-config-helper: $MY_REPO/stx/stx-config/kubernetes/helm-charts/ceph-pools-audit
/l/d/rchurch/starlingx-2/cgcs-root/stx/stx-config/kubernetes/helm-charts/ceph-pools-audit/values.yaml: ceph_config_helper: docker.io/port/ceph-config-helper:v1.10.3