From 11078e51f148bad1d95b468dd4bf797efe4ef627 Mon Sep 17 00:00:00 2001 From: michelle951 <1436918299@qq.com> Date: Sat, 3 Sep 2022 18:48:26 +0800 Subject: [PATCH] update image address in yml files --- content/zh-cn/examples/admin/sched/pod1.yaml | 2 +- content/zh-cn/examples/admin/sched/pod2.yaml | 2 +- content/zh-cn/examples/admin/sched/pod3.yaml | 2 +- content/zh-cn/examples/admin/snowflake-deployment.yaml | 2 +- content/zh-cn/examples/application/web/web-parallel.yaml | 2 +- content/zh-cn/examples/application/web/web.yaml | 2 +- content/zh-cn/examples/application/zookeeper/zookeeper.yaml | 2 +- .../one-constraint-with-nodeaffinity.yaml | 2 +- .../pods/topology-spread-constraints/one-constraint.yaml | 2 +- .../pods/topology-spread-constraints/two-constraints.yaml | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/content/zh-cn/examples/admin/sched/pod1.yaml b/content/zh-cn/examples/admin/sched/pod1.yaml index 560b6aa0fb..7183dd62c0 100644 --- a/content/zh-cn/examples/admin/sched/pod1.yaml +++ b/content/zh-cn/examples/admin/sched/pod1.yaml @@ -7,4 +7,4 @@ metadata: spec: containers: - name: pod-with-no-annotation-container - image: k8s.gcr.io/pause:2.0 \ No newline at end of file + image: registry.k8s.io/pause:2.0 \ No newline at end of file diff --git a/content/zh-cn/examples/admin/sched/pod2.yaml b/content/zh-cn/examples/admin/sched/pod2.yaml index 2f065efe65..b78ab64a4b 100644 --- a/content/zh-cn/examples/admin/sched/pod2.yaml +++ b/content/zh-cn/examples/admin/sched/pod2.yaml @@ -8,4 +8,4 @@ spec: schedulerName: default-scheduler containers: - name: pod-with-default-annotation-container - image: k8s.gcr.io/pause:2.0 + image: registry.k8s.io/pause:2.0 diff --git a/content/zh-cn/examples/admin/sched/pod3.yaml b/content/zh-cn/examples/admin/sched/pod3.yaml index a1b8db3200..6614143829 100644 --- a/content/zh-cn/examples/admin/sched/pod3.yaml +++ b/content/zh-cn/examples/admin/sched/pod3.yaml @@ -8,4 +8,4 @@ spec: schedulerName: my-scheduler containers: - name: pod-with-second-annotation-container - image: k8s.gcr.io/pause:2.0 + image: registry.k8s.io/pause:2.0 diff --git a/content/zh-cn/examples/admin/snowflake-deployment.yaml b/content/zh-cn/examples/admin/snowflake-deployment.yaml index 2f4f267916..21b6738ba4 100644 --- a/content/zh-cn/examples/admin/snowflake-deployment.yaml +++ b/content/zh-cn/examples/admin/snowflake-deployment.yaml @@ -15,6 +15,6 @@ spec: app: snowflake spec: containers: - - image: k8s.gcr.io/serve_hostname + - image: registry.k8s.io/serve_hostname imagePullPolicy: Always name: snowflake diff --git a/content/zh-cn/examples/application/web/web-parallel.yaml b/content/zh-cn/examples/application/web/web-parallel.yaml index 4eab2dc206..a6633f476c 100644 --- a/content/zh-cn/examples/application/web/web-parallel.yaml +++ b/content/zh-cn/examples/application/web/web-parallel.yaml @@ -30,7 +30,7 @@ spec: spec: containers: - name: nginx - image: k8s.gcr.io/nginx-slim:0.8 + image: registry.k8s.io/nginx-slim:0.8 ports: - containerPort: 80 name: web diff --git a/content/zh-cn/examples/application/web/web.yaml b/content/zh-cn/examples/application/web/web.yaml index 37c1fabf9c..95244cd72b 100644 --- a/content/zh-cn/examples/application/web/web.yaml +++ b/content/zh-cn/examples/application/web/web.yaml @@ -29,7 +29,7 @@ spec: spec: containers: - name: nginx - image: k8s.gcr.io/nginx-slim:0.8 + image: registry.k8s.io/nginx-slim:0.8 ports: - containerPort: 80 name: web diff --git a/content/zh-cn/examples/application/zookeeper/zookeeper.yaml b/content/zh-cn/examples/application/zookeeper/zookeeper.yaml index 4d893b369b..0f3f6cf9d1 100644 --- a/content/zh-cn/examples/application/zookeeper/zookeeper.yaml +++ b/content/zh-cn/examples/application/zookeeper/zookeeper.yaml @@ -68,7 +68,7 @@ spec: containers: - name: kubernetes-zookeeper imagePullPolicy: Always - image: "k8s.gcr.io/kubernetes-zookeeper:1.0-3.4.10" + image: "registry.k8s.io/kubernetes-zookeeper:1.0-3.4.10" resources: requests: memory: "1Gi" diff --git a/content/zh-cn/examples/pods/topology-spread-constraints/one-constraint-with-nodeaffinity.yaml b/content/zh-cn/examples/pods/topology-spread-constraints/one-constraint-with-nodeaffinity.yaml index 98823f9d86..12b117a814 100644 --- a/content/zh-cn/examples/pods/topology-spread-constraints/one-constraint-with-nodeaffinity.yaml +++ b/content/zh-cn/examples/pods/topology-spread-constraints/one-constraint-with-nodeaffinity.yaml @@ -23,4 +23,4 @@ spec: - zoneC containers: - name: pause - image: k8s.gcr.io/pause:3.1 \ No newline at end of file + image: registry.k8s.io/pause:3.1 \ No newline at end of file diff --git a/content/zh-cn/examples/pods/topology-spread-constraints/one-constraint.yaml b/content/zh-cn/examples/pods/topology-spread-constraints/one-constraint.yaml index a0a41188ec..02d2c6ca40 100644 --- a/content/zh-cn/examples/pods/topology-spread-constraints/one-constraint.yaml +++ b/content/zh-cn/examples/pods/topology-spread-constraints/one-constraint.yaml @@ -14,4 +14,4 @@ spec: foo: bar containers: - name: pause - image: k8s.gcr.io/pause:3.1 \ No newline at end of file + image: registry.k8s.io/pause:3.1 \ No newline at end of file diff --git a/content/zh-cn/examples/pods/topology-spread-constraints/two-constraints.yaml b/content/zh-cn/examples/pods/topology-spread-constraints/two-constraints.yaml index aa142b7abb..c111195155 100644 --- a/content/zh-cn/examples/pods/topology-spread-constraints/two-constraints.yaml +++ b/content/zh-cn/examples/pods/topology-spread-constraints/two-constraints.yaml @@ -20,4 +20,4 @@ spec: foo: bar containers: - name: pause - image: k8s.gcr.io/pause:3.1 \ No newline at end of file + image: registry.k8s.io/pause:3.1 \ No newline at end of file