Skip to content

Commit 466b77e

Browse files
authored
Merge pull request #36475 from windsonsea/konser
[zh] updated 5 YAML examples
2 parents 9221aa5 + d12e33d commit 466b77e

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

content/zh-cn/examples/admin/cloud/ccm-example.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ spec:
4141
serviceAccountName: cloud-controller-manager
4242
containers:
4343
- name: cloud-controller-manager
44-
# 对于树内驱动,我们使用 k8s.gcr.io/cloud-controller-manager,
44+
# 对于树内驱动,我们使用 registry.k8s.io/cloud-controller-manager,
4545
# 镜像可以替换为其他树外驱动的镜像
46-
image: k8s.gcr.io/cloud-controller-manager:v1.8.0
46+
image: registry.k8s.io/cloud-controller-manager:v1.8.0
4747
command:
4848
- /usr/local/bin/cloud-controller-manager
4949
- --cloud-provider=[YOUR_CLOUD_PROVIDER] # 在此处添加你自己的云驱动!

content/zh-cn/examples/admin/dns/dns-horizontal-autoscaler.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ spec:
6565
kubernetes.io/os: linux
6666
containers:
6767
- name: autoscaler
68-
image: k8s.gcr.io/cpa/cluster-proportional-autoscaler:1.8.4
68+
image: registry.k8s.io/cpa/cluster-proportional-autoscaler:1.8.4
6969
resources:
7070
requests:
7171
cpu: "20m"
@@ -74,10 +74,10 @@ spec:
7474
- /cluster-proportional-autoscaler
7575
- --namespace=kube-system
7676
- --configmap=kube-dns-autoscaler
77-
# 应该保持目标与 cluster/addons/dns/kube-dns.yaml.base 同步
77+
# 应该保持目标与 cluster/addons/dns/kube-dns.yaml.base 同步
7878
- --target=<SCALE_TARGET>
79-
#当集群使用大节点(有更多核)时,“coresPerReplica”应该占主导地位。
80-
#如果使用小节点,“nodesPerReplica“ 应该占主导地位。
79+
# 当集群使用大节点(有更多核)时,“coresPerReplica”应该占主导地位。
80+
# 如果使用小节点,“nodesPerReplica“ 应该占主导地位。
8181
- --default-params={"linear":{"coresPerReplica":256,"nodesPerReplica":16,"preventSinglePointFailure":true,"includeUnschedulableNodes":true}}
8282
- --logtostderr=true
8383
- --v=2

content/zh-cn/examples/admin/dns/dnsutils.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
spec:
77
containers:
88
- name: dnsutils
9-
image: k8s.gcr.io/e2e-test-images/jessie-dnsutils:1.3
9+
image: registry.k8s.io/e2e-test-images/jessie-dnsutils:1.3
1010
command:
1111
- sleep
1212
- "3600"

content/zh-cn/examples/admin/konnectivity/konnectivity-server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
hostNetwork: true
99
containers:
1010
- name: konnectivity-server-container
11-
image: us.gcr.io/k8s-artifacts-prod/kas-network-proxy/proxy-server:v0.0.16
11+
image: registry.k8s.io/kas-network-proxy/proxy-server:v0.0.32
1212
command: ["/proxy-server"]
1313
args: [
1414
"--logtostderr=true",

content/zh-cn/examples/admin/logging/two-files-counter-pod-agent-sidecar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
- name: varlog
2323
mountPath: /var/log
2424
- name: count-agent
25-
image: k8s.gcr.io/fluentd-gcp:1.30
25+
image: registry.k8s.io/fluentd-gcp:1.30
2626
env:
2727
- name: FLUENTD_ARGS
2828
value: -c /etc/fluentd-config/fluentd.conf

0 commit comments

Comments
 (0)