[registry] Switch registry to use registry.k8s.io
Please see the conversation here: https://groups.google.com/a/kubernetes.io/g/dev/c/DYZYNQ_A6_cpull/8925/head
parent
cc6cbfbe71
commit
bb530da5c2
|
@ -15,7 +15,7 @@ function create_container_image_tar() {
|
||||||
IMAGES=$(kubectl describe pods --all-namespaces | grep " Image:" | awk '{print $2}' | sort | uniq)
|
IMAGES=$(kubectl describe pods --all-namespaces | grep " Image:" | awk '{print $2}' | sort | uniq)
|
||||||
# NOTE: etcd and pause cannot be seen as pods.
|
# NOTE: etcd and pause cannot be seen as pods.
|
||||||
# The pause image is used for --pod-infra-container-image option of kubelet.
|
# The pause image is used for --pod-infra-container-image option of kubelet.
|
||||||
EXT_IMAGES=$(kubectl cluster-info dump | egrep "quay.io/coreos/etcd:|k8s.gcr.io/pause:" | sed s@\"@@g)
|
EXT_IMAGES=$(kubectl cluster-info dump | egrep "quay.io/coreos/etcd:|registry.k8s.io/pause:" | sed s@\"@@g)
|
||||||
IMAGES="${IMAGES} ${EXT_IMAGES}"
|
IMAGES="${IMAGES} ${EXT_IMAGES}"
|
||||||
|
|
||||||
rm -f ${IMAGE_TAR_FILE}
|
rm -f ${IMAGE_TAR_FILE}
|
||||||
|
@ -46,12 +46,12 @@ function create_container_image_tar() {
|
||||||
|
|
||||||
# NOTE: Here removes the following repo parts from each image
|
# NOTE: Here removes the following repo parts from each image
|
||||||
# so that these parts will be replaced with Kubespray.
|
# so that these parts will be replaced with Kubespray.
|
||||||
# - kube_image_repo: "k8s.gcr.io"
|
# - kube_image_repo: "registry.k8s.io"
|
||||||
# - gcr_image_repo: "gcr.io"
|
# - gcr_image_repo: "gcr.io"
|
||||||
# - docker_image_repo: "docker.io"
|
# - docker_image_repo: "docker.io"
|
||||||
# - quay_image_repo: "quay.io"
|
# - quay_image_repo: "quay.io"
|
||||||
FIRST_PART=$(echo ${image} | awk -F"/" '{print $1}')
|
FIRST_PART=$(echo ${image} | awk -F"/" '{print $1}')
|
||||||
if [ "${FIRST_PART}" = "k8s.gcr.io" ] ||
|
if [ "${FIRST_PART}" = "registry.k8s.io" ] ||
|
||||||
[ "${FIRST_PART}" = "gcr.io" ] ||
|
[ "${FIRST_PART}" = "gcr.io" ] ||
|
||||||
[ "${FIRST_PART}" = "docker.io" ] ||
|
[ "${FIRST_PART}" = "docker.io" ] ||
|
||||||
[ "${FIRST_PART}" = "quay.io" ] ||
|
[ "${FIRST_PART}" = "quay.io" ] ||
|
||||||
|
|
|
@ -15,15 +15,15 @@
|
||||||
# external_vsphere_cloud_controller_image_tag: "latest"
|
# external_vsphere_cloud_controller_image_tag: "latest"
|
||||||
## gcr.io/cloud-provider-vsphere/csi/release/syncer
|
## gcr.io/cloud-provider-vsphere/csi/release/syncer
|
||||||
# vsphere_syncer_image_tag: "v2.4.0"
|
# vsphere_syncer_image_tag: "v2.4.0"
|
||||||
## k8s.gcr.io/sig-storage/csi-attacher
|
## registry.k8s.io/sig-storage/csi-attacher
|
||||||
# vsphere_csi_attacher_image_tag: "v3.3.0"
|
# vsphere_csi_attacher_image_tag: "v3.3.0"
|
||||||
## gcr.io/cloud-provider-vsphere/csi/release/driver
|
## gcr.io/cloud-provider-vsphere/csi/release/driver
|
||||||
# vsphere_csi_controller: "v2.4.0"
|
# vsphere_csi_controller: "v2.4.0"
|
||||||
## k8s.gcr.io/sig-storage/livenessprobe
|
## registry.k8s.io/sig-storage/livenessprobe
|
||||||
# vsphere_csi_liveness_probe_image_tag: "v2.4.0"
|
# vsphere_csi_liveness_probe_image_tag: "v2.4.0"
|
||||||
## k8s.gcr.io/sig-storage/csi-provisioner
|
## registry.k8s.io/sig-storage/csi-provisioner
|
||||||
# vsphere_csi_provisioner_image_tag: "v3.0.0"
|
# vsphere_csi_provisioner_image_tag: "v3.0.0"
|
||||||
## k8s.gcr.io/sig-storage/csi-resizer
|
## registry.k8s.io/sig-storage/csi-resizer
|
||||||
## makes sense only for vSphere version >=7.0
|
## makes sense only for vSphere version >=7.0
|
||||||
# vsphere_csi_resizer_tag: "v1.3.0"
|
# vsphere_csi_resizer_tag: "v1.3.0"
|
||||||
|
|
||||||
|
|
|
@ -294,7 +294,7 @@ persistent_volumes_enabled: false
|
||||||
# nvidia_driver_install_centos_container: atzedevries/nvidia-centos-driver-installer:2
|
# nvidia_driver_install_centos_container: atzedevries/nvidia-centos-driver-installer:2
|
||||||
# nvidia_driver_install_ubuntu_container: gcr.io/google-containers/ubuntu-nvidia-driver-installer@sha256:7df76a0f0a17294e86f691c81de6bbb7c04a1b4b3d4ea4e7e2cccdc42e1f6d63
|
# nvidia_driver_install_ubuntu_container: gcr.io/google-containers/ubuntu-nvidia-driver-installer@sha256:7df76a0f0a17294e86f691c81de6bbb7c04a1b4b3d4ea4e7e2cccdc42e1f6d63
|
||||||
## NVIDIA GPU device plugin image.
|
## NVIDIA GPU device plugin image.
|
||||||
# nvidia_gpu_device_plugin_container: "k8s.gcr.io/nvidia-gpu-device-plugin@sha256:0842734032018be107fa2490c98156992911e3e1f2a21e059ff0105b07dd8e9e"
|
# nvidia_gpu_device_plugin_container: "registry.k8s.io/nvidia-gpu-device-plugin@sha256:0842734032018be107fa2490c98156992911e3e1f2a21e059ff0105b07dd8e9e"
|
||||||
|
|
||||||
## Support tls min version, Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13.
|
## Support tls min version, Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13.
|
||||||
# tls_min_version: ""
|
# tls_min_version: ""
|
||||||
|
|
|
@ -82,7 +82,7 @@ docker_containerd_version: 1.4.12
|
||||||
|
|
||||||
# gcr and kubernetes image repo define
|
# gcr and kubernetes image repo define
|
||||||
gcr_image_repo: "gcr.io"
|
gcr_image_repo: "gcr.io"
|
||||||
kube_image_repo: "k8s.gcr.io"
|
kube_image_repo: "registry.k8s.io"
|
||||||
|
|
||||||
# docker image repo define
|
# docker image repo define
|
||||||
docker_image_repo: "docker.io"
|
docker_image_repo: "docker.io"
|
||||||
|
|
|
@ -7,8 +7,8 @@ nvidia_gpu_flavor: tesla
|
||||||
nvidia_url_end: "{{ nvidia_driver_version }}/NVIDIA-Linux-x86_64-{{ nvidia_driver_version }}.run"
|
nvidia_url_end: "{{ nvidia_driver_version }}/NVIDIA-Linux-x86_64-{{ nvidia_driver_version }}.run"
|
||||||
nvidia_driver_install_container: false
|
nvidia_driver_install_container: false
|
||||||
nvidia_driver_install_centos_container: atzedevries/nvidia-centos-driver-installer:2
|
nvidia_driver_install_centos_container: atzedevries/nvidia-centos-driver-installer:2
|
||||||
nvidia_driver_install_ubuntu_container: k8s.gcr.io/ubuntu-nvidia-driver-installer@sha256:7df76a0f0a17294e86f691c81de6bbb7c04a1b4b3d4ea4e7e2cccdc42e1f6d63
|
nvidia_driver_install_ubuntu_container: registry.k8s.io/ubuntu-nvidia-driver-installer@sha256:7df76a0f0a17294e86f691c81de6bbb7c04a1b4b3d4ea4e7e2cccdc42e1f6d63
|
||||||
nvidia_driver_install_supported: false
|
nvidia_driver_install_supported: false
|
||||||
nvidia_gpu_device_plugin_container: "k8s.gcr.io/nvidia-gpu-device-plugin@sha256:0842734032018be107fa2490c98156992911e3e1f2a21e059ff0105b07dd8e9e"
|
nvidia_gpu_device_plugin_container: "registry.k8s.io/nvidia-gpu-device-plugin@sha256:0842734032018be107fa2490c98156992911e3e1f2a21e059ff0105b07dd8e9e"
|
||||||
nvidia_gpu_nodes: []
|
nvidia_gpu_nodes: []
|
||||||
nvidia_gpu_device_plugin_memory: 30Mi
|
nvidia_gpu_device_plugin_memory: 30Mi
|
||||||
|
|
|
@ -19,7 +19,7 @@ spec:
|
||||||
serviceAccount: csi-upcloud-controller-sa
|
serviceAccount: csi-upcloud-controller-sa
|
||||||
containers:
|
containers:
|
||||||
- name: csi-provisioner
|
- name: csi-provisioner
|
||||||
image: k8s.gcr.io/sig-storage/csi-provisioner:{{ upcloud_csi_provisioner_image_tag }}
|
image: registry.k8s.io/sig-storage/csi-provisioner:{{ upcloud_csi_provisioner_image_tag }}
|
||||||
args:
|
args:
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
|
@ -32,7 +32,7 @@ spec:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /var/lib/csi/sockets/pluginproxy/
|
mountPath: /var/lib/csi/sockets/pluginproxy/
|
||||||
- name: csi-attacher
|
- name: csi-attacher
|
||||||
image: k8s.gcr.io/sig-storage/csi-attacher:{{ upcloud_csi_attacher_image_tag }}
|
image: registry.k8s.io/sig-storage/csi-attacher:{{ upcloud_csi_attacher_image_tag }}
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
|
@ -45,7 +45,7 @@ spec:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /var/lib/csi/sockets/pluginproxy/
|
mountPath: /var/lib/csi/sockets/pluginproxy/
|
||||||
- name: csi-resizer
|
- name: csi-resizer
|
||||||
image: k8s.gcr.io/sig-storage/csi-resizer:{{ upcloud_csi_resizer_image_tag }}
|
image: registry.k8s.io/sig-storage/csi-resizer:{{ upcloud_csi_resizer_image_tag }}
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--timeout=45s"
|
- "--timeout=45s"
|
||||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
containers:
|
containers:
|
||||||
- name: csi-node-driver-registrar
|
- name: csi-node-driver-registrar
|
||||||
image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:{{ upcloud_csi_node_image_tag }}
|
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:{{ upcloud_csi_node_image_tag }}
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
- hosts: kube_control_plane[0]
|
- hosts: kube_control_plane[0]
|
||||||
vars:
|
vars:
|
||||||
test_image_repo: k8s.gcr.io/busybox
|
test_image_repo: registry.k8s.io/busybox
|
||||||
test_image_tag: latest
|
test_image_tag: latest
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
Loading…
Reference in New Issue