Skip to content

Commit d558d77

Browse files
authored
Merge pull request #36548 from Michelle951/michelle002
[zh] sync node-conformance.md
2 parents 32bfb60 + da24762 commit d558d77

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/zh-cn/docs/setup/best-practices/node-conformance.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ To run the node conformance test, perform the following steps:
8383
# $LOG_DIR is the test output path.
8484
sudo docker run -it --rm --privileged --net=host \
8585
-v /:/rootfs -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \
86-
k8s.gcr.io/node-test:0.2
86+
registry.k8s.io/node-test:0.2
8787
```
8888
-->
8989
2. 使用以下命令运行节点一致性测试:
@@ -93,7 +93,7 @@ sudo docker run -it --rm --privileged --net=host \
9393
# $LOG_DIR 是测试的输出路径。
9494
sudo docker run -it --rm --privileged --net=host \
9595
-v /:/rootfs -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \
96-
k8s.gcr.io/node-test:0.2
96+
registry.k8s.io/node-test:0.2
9797
```
9898

9999
<!--
@@ -135,7 +135,7 @@ regular expression of tests you want to run.
135135
sudo docker run -it --rm --privileged --net=host \
136136
-v /:/rootfs:ro -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \
137137
-e FOCUS=MirrorPod \ # Only run MirrorPod test
138-
k8s.gcr.io/node-test:0.2
138+
registry.k8s.io/node-test:0.2
139139
```
140140

141141
<!--
@@ -149,14 +149,14 @@ regular expression of tests you want to skip.
149149
sudo docker run -it --rm --privileged --net=host \
150150
-v /:/rootfs:ro -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \
151151
-e SKIP=MirrorPod \ # Run all conformance tests but skip MirrorPod test
152-
k8s.gcr.io/node-test:0.2
152+
registry.k8s.io/node-test:0.2
153153
```
154154
-->
155155
```shell
156156
sudo docker run -it --rm --privileged --net=host \
157157
-v /:/rootfs:ro -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \
158158
-e SKIP=MirrorPod \ # 运行除 MirrorPod 测试外的所有一致性测试内容
159-
k8s.gcr.io/node-test:0.2
159+
registry.k8s.io/node-test:0.2
160160
```
161161

162162

0 commit comments

Comments
 (0)