From cecb909c2c898b0dc108330162073a6719223b80 Mon Sep 17 00:00:00 2001 From: michelle951 <1436918299@qq.com> Date: Sat, 3 Sep 2022 19:08:05 +0800 Subject: [PATCH] find some other yaml files that needs to change iamge address --- content/zh-cn/examples/debug/event-exporter.yaml | 2 +- content/zh-cn/examples/debug/fluentd-gcp-ds.yaml | 2 +- .../zh-cn/examples/debug/node-problem-detector-configmap.yaml | 2 +- content/zh-cn/examples/debug/node-problem-detector.yaml | 2 +- content/zh-cn/examples/pods/inject/dapi-envars-container.yaml | 2 +- content/zh-cn/examples/pods/inject/dapi-envars-pod.yaml | 2 +- content/zh-cn/examples/pods/inject/dapi-volume-resources.yaml | 2 +- content/zh-cn/examples/pods/inject/dapi-volume.yaml | 2 +- .../zh-cn/examples/pods/pod-configmap-env-var-valueFrom.yaml | 2 +- content/zh-cn/examples/pods/pod-configmap-envFrom.yaml | 2 +- .../zh-cn/examples/pods/pod-configmap-volume-specific-key.yaml | 2 +- content/zh-cn/examples/pods/pod-configmap-volume.yaml | 2 +- .../examples/pods/pod-multiple-configmap-env-variable.yaml | 2 +- .../zh-cn/examples/pods/pod-single-configmap-env-variable.yaml | 2 +- .../zh-cn/examples/pods/pod-with-affinity-anti-affinity.yaml | 2 +- content/zh-cn/examples/pods/pod-with-node-affinity.yaml | 2 +- content/zh-cn/examples/pods/pod-with-pod-affinity.yaml | 2 +- content/zh-cn/examples/pods/probe/exec-liveness.yaml | 2 +- content/zh-cn/examples/pods/probe/grpc-liveness.yaml | 2 +- content/zh-cn/examples/pods/probe/http-liveness.yaml | 2 +- content/zh-cn/examples/pods/probe/tcp-liveness-readiness.yaml | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/content/zh-cn/examples/debug/event-exporter.yaml b/content/zh-cn/examples/debug/event-exporter.yaml index 64a585b9a53..7d2fe2791ac 100644 --- a/content/zh-cn/examples/debug/event-exporter.yaml +++ b/content/zh-cn/examples/debug/event-exporter.yaml @@ -41,7 +41,7 @@ spec: serviceAccountName: event-exporter-sa containers: - name: event-exporter - image: k8s.gcr.io/event-exporter:v0.2.3 + image: registry.k8s.io/event-exporter:v0.2.3 command: - '/event-exporter' terminationGracePeriodSeconds: 30 diff --git a/content/zh-cn/examples/debug/fluentd-gcp-ds.yaml b/content/zh-cn/examples/debug/fluentd-gcp-ds.yaml index ef81ee4281c..3cd4c853b20 100644 --- a/content/zh-cn/examples/debug/fluentd-gcp-ds.yaml +++ b/content/zh-cn/examples/debug/fluentd-gcp-ds.yaml @@ -30,7 +30,7 @@ spec: dnsPolicy: Default containers: - name: fluentd-gcp - image: k8s.gcr.io/fluentd-gcp:2.0.2 + image: registry.k8s.io/fluentd-gcp:2.0.2 # 如果 fluentd 消耗它自己的日志,则可能出现以下情形: # fluentd 将一个块发送到服务器时失败 => 将其写入到日志 => # 尝试将此消息发送到该服务器 => 发送一个块时失败等等。 diff --git a/content/zh-cn/examples/debug/node-problem-detector-configmap.yaml b/content/zh-cn/examples/debug/node-problem-detector-configmap.yaml index 76f396ab551..23fcceec702 100644 --- a/content/zh-cn/examples/debug/node-problem-detector-configmap.yaml +++ b/content/zh-cn/examples/debug/node-problem-detector-configmap.yaml @@ -23,7 +23,7 @@ spec: hostNetwork: true containers: - name: node-problem-detector - image: k8s.gcr.io/node-problem-detector:v0.1 + image: registry.k8s.io/node-problem-detector:v0.1 securityContext: privileged: true resources: diff --git a/content/zh-cn/examples/debug/node-problem-detector.yaml b/content/zh-cn/examples/debug/node-problem-detector.yaml index 6ffa19bcc3a..f106c327efc 100644 --- a/content/zh-cn/examples/debug/node-problem-detector.yaml +++ b/content/zh-cn/examples/debug/node-problem-detector.yaml @@ -23,7 +23,7 @@ spec: hostNetwork: true containers: - name: node-problem-detector - image: k8s.gcr.io/node-problem-detector:v0.1 + image: registry.k8s.io/node-problem-detector:v0.1 securityContext: privileged: true resources: diff --git a/content/zh-cn/examples/pods/inject/dapi-envars-container.yaml b/content/zh-cn/examples/pods/inject/dapi-envars-container.yaml index 55bd4dd263a..4267053a069 100644 --- a/content/zh-cn/examples/pods/inject/dapi-envars-container.yaml +++ b/content/zh-cn/examples/pods/inject/dapi-envars-container.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: test-container - image: k8s.gcr.io/busybox:1.24 + image: registry.k8s.io/busybox:1.24 command: [ "sh", "-c"] args: - while true; do diff --git a/content/zh-cn/examples/pods/inject/dapi-envars-pod.yaml b/content/zh-cn/examples/pods/inject/dapi-envars-pod.yaml index 071fa82bb3b..d5a646e0877 100644 --- a/content/zh-cn/examples/pods/inject/dapi-envars-pod.yaml +++ b/content/zh-cn/examples/pods/inject/dapi-envars-pod.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: test-container - image: k8s.gcr.io/busybox + image: registry.k8s.io/busybox command: [ "sh", "-c"] args: - while true; do diff --git a/content/zh-cn/examples/pods/inject/dapi-volume-resources.yaml b/content/zh-cn/examples/pods/inject/dapi-volume-resources.yaml index ecb231e0cf9..5b52bf8448f 100644 --- a/content/zh-cn/examples/pods/inject/dapi-volume-resources.yaml +++ b/content/zh-cn/examples/pods/inject/dapi-volume-resources.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: client-container - image: k8s.gcr.io/busybox:1.24 + image: registry.k8s.io/busybox:1.24 command: ["sh", "-c"] args: - while true; do diff --git a/content/zh-cn/examples/pods/inject/dapi-volume.yaml b/content/zh-cn/examples/pods/inject/dapi-volume.yaml index 0f0a9f2e5cc..682098d27f3 100644 --- a/content/zh-cn/examples/pods/inject/dapi-volume.yaml +++ b/content/zh-cn/examples/pods/inject/dapi-volume.yaml @@ -12,7 +12,7 @@ metadata: spec: containers: - name: client-container - image: k8s.gcr.io/busybox + image: registry.k8s.io/busybox command: ["sh", "-c"] args: - while true; do diff --git a/content/zh-cn/examples/pods/pod-configmap-env-var-valueFrom.yaml b/content/zh-cn/examples/pods/pod-configmap-env-var-valueFrom.yaml index 00827ec98aa..fa172abd371 100644 --- a/content/zh-cn/examples/pods/pod-configmap-env-var-valueFrom.yaml +++ b/content/zh-cn/examples/pods/pod-configmap-env-var-valueFrom.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: test-container - image: k8s.gcr.io/busybox + image: registry.k8s.io/busybox command: [ "/bin/echo", "$(SPECIAL_LEVEL_KEY) $(SPECIAL_TYPE_KEY)" ] env: - name: SPECIAL_LEVEL_KEY diff --git a/content/zh-cn/examples/pods/pod-configmap-envFrom.yaml b/content/zh-cn/examples/pods/pod-configmap-envFrom.yaml index 70ae7e5bcfa..e7b5b60841e 100644 --- a/content/zh-cn/examples/pods/pod-configmap-envFrom.yaml +++ b/content/zh-cn/examples/pods/pod-configmap-envFrom.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: test-container - image: k8s.gcr.io/busybox + image: registry.k8s.io/busybox command: [ "/bin/sh", "-c", "env" ] envFrom: - configMapRef: diff --git a/content/zh-cn/examples/pods/pod-configmap-volume-specific-key.yaml b/content/zh-cn/examples/pods/pod-configmap-volume-specific-key.yaml index 72e38fd8363..ec7a8fb541c 100644 --- a/content/zh-cn/examples/pods/pod-configmap-volume-specific-key.yaml +++ b/content/zh-cn/examples/pods/pod-configmap-volume-specific-key.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: test-container - image: k8s.gcr.io/busybox + image: registry.k8s.io/busybox command: [ "/bin/sh","-c","cat /etc/config/keys" ] volumeMounts: - name: config-volume diff --git a/content/zh-cn/examples/pods/pod-configmap-volume.yaml b/content/zh-cn/examples/pods/pod-configmap-volume.yaml index 5203d4c66b7..88e9497c6af 100644 --- a/content/zh-cn/examples/pods/pod-configmap-volume.yaml +++ b/content/zh-cn/examples/pods/pod-configmap-volume.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: test-container - image: k8s.gcr.io/busybox + image: registry.k8s.io/busybox command: [ "/bin/sh", "-c", "ls /etc/config/" ] volumeMounts: - name: config-volume diff --git a/content/zh-cn/examples/pods/pod-multiple-configmap-env-variable.yaml b/content/zh-cn/examples/pods/pod-multiple-configmap-env-variable.yaml index 4790a9c661c..c7b2b7abb82 100644 --- a/content/zh-cn/examples/pods/pod-multiple-configmap-env-variable.yaml +++ b/content/zh-cn/examples/pods/pod-multiple-configmap-env-variable.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: test-container - image: k8s.gcr.io/busybox + image: registry.k8s.io/busybox command: [ "/bin/sh", "-c", "env" ] env: - name: SPECIAL_LEVEL_KEY diff --git a/content/zh-cn/examples/pods/pod-single-configmap-env-variable.yaml b/content/zh-cn/examples/pods/pod-single-configmap-env-variable.yaml index 5777c814f90..bb3f8150c03 100644 --- a/content/zh-cn/examples/pods/pod-single-configmap-env-variable.yaml +++ b/content/zh-cn/examples/pods/pod-single-configmap-env-variable.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: test-container - image: k8s.gcr.io/busybox + image: registry.k8s.io/busybox command: [ "/bin/sh", "-c", "env" ] env: # 定义环境变量 diff --git a/content/zh-cn/examples/pods/pod-with-affinity-anti-affinity.yaml b/content/zh-cn/examples/pods/pod-with-affinity-anti-affinity.yaml index a7d14b2d6f7..ba21557f2d6 100644 --- a/content/zh-cn/examples/pods/pod-with-affinity-anti-affinity.yaml +++ b/content/zh-cn/examples/pods/pod-with-affinity-anti-affinity.yaml @@ -29,4 +29,4 @@ spec: - key-2 containers: - name: with-node-affinity - 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/pods/pod-with-node-affinity.yaml b/content/zh-cn/examples/pods/pod-with-node-affinity.yaml index ebc6f144903..5fedc554bfd 100644 --- a/content/zh-cn/examples/pods/pod-with-node-affinity.yaml +++ b/content/zh-cn/examples/pods/pod-with-node-affinity.yaml @@ -23,4 +23,4 @@ spec: - another-node-label-value containers: - name: with-node-affinity - 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/pods/pod-with-pod-affinity.yaml b/content/zh-cn/examples/pods/pod-with-pod-affinity.yaml index 6d075e08608..1a4fd74fd7a 100644 --- a/content/zh-cn/examples/pods/pod-with-pod-affinity.yaml +++ b/content/zh-cn/examples/pods/pod-with-pod-affinity.yaml @@ -26,4 +26,4 @@ spec: topologyKey: topology.kubernetes.io/zone containers: - name: with-pod-affinity - image: k8s.gcr.io/pause:2.0 + image: registry.k8s.io/pause:2.0 diff --git a/content/zh-cn/examples/pods/probe/exec-liveness.yaml b/content/zh-cn/examples/pods/probe/exec-liveness.yaml index 6a9c9b32137..7d6ca96b3d6 100644 --- a/content/zh-cn/examples/pods/probe/exec-liveness.yaml +++ b/content/zh-cn/examples/pods/probe/exec-liveness.yaml @@ -7,7 +7,7 @@ metadata: spec: containers: - name: liveness - image: k8s.gcr.io/busybox + image: registry.k8s.io/busybox args: - /bin/sh - -c diff --git a/content/zh-cn/examples/pods/probe/grpc-liveness.yaml b/content/zh-cn/examples/pods/probe/grpc-liveness.yaml index 578fd080a4c..901e47dacc7 100644 --- a/content/zh-cn/examples/pods/probe/grpc-liveness.yaml +++ b/content/zh-cn/examples/pods/probe/grpc-liveness.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: etcd - image: k8s.gcr.io/etcd:3.5.1-0 + image: registry.k8s.io/etcd:3.5.1-0 command: [ "/usr/local/bin/etcd", "--data-dir", "/var/lib/etcd", "--listen-client-urls", "http://0.0.0.0:2379", "--advertise-client-urls", "http://127.0.0.1:2379", "--log-level", "debug"] ports: - containerPort: 2379 diff --git a/content/zh-cn/examples/pods/probe/http-liveness.yaml b/content/zh-cn/examples/pods/probe/http-liveness.yaml index 670af18399e..48ca861c142 100644 --- a/content/zh-cn/examples/pods/probe/http-liveness.yaml +++ b/content/zh-cn/examples/pods/probe/http-liveness.yaml @@ -7,7 +7,7 @@ metadata: spec: containers: - name: liveness - image: k8s.gcr.io/liveness + image: registry.k8s.io/liveness args: - /server livenessProbe: diff --git a/content/zh-cn/examples/pods/probe/tcp-liveness-readiness.yaml b/content/zh-cn/examples/pods/probe/tcp-liveness-readiness.yaml index 08fb77ff0f5..ef8a2f9500b 100644 --- a/content/zh-cn/examples/pods/probe/tcp-liveness-readiness.yaml +++ b/content/zh-cn/examples/pods/probe/tcp-liveness-readiness.yaml @@ -7,7 +7,7 @@ metadata: spec: containers: - name: goproxy - image: k8s.gcr.io/goproxy:0.1 + image: registry.k8s.io/goproxy:0.1 ports: - containerPort: 8080 readinessProbe: