@@ -83,7 +83,7 @@ To run the node conformance test, perform the following steps:
83
83
# $LOG_DIR is the test output path.
84
84
sudo docker run -it --rm --privileged --net=host \
85
85
-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
87
87
```
88
88
-->
89
89
2 . 使用以下命令运行节点一致性测试:
@@ -93,7 +93,7 @@ sudo docker run -it --rm --privileged --net=host \
93
93
# $LOG_DIR 是测试的输出路径。
94
94
sudo docker run -it --rm --privileged --net=host \
95
95
-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
97
97
```
98
98
99
99
<!--
@@ -135,7 +135,7 @@ regular expression of tests you want to run.
135
135
sudo docker run -it --rm --privileged --net=host \
136
136
-v /:/rootfs:ro -v $CONFIG_DIR :$CONFIG_DIR -v $LOG_DIR :/var/result \
137
137
-e FOCUS=MirrorPod \ # Only run MirrorPod test
138
- k8s.gcr .io/node-test:0.2
138
+ registry.k8s .io/node-test:0.2
139
139
```
140
140
141
141
<!--
@@ -149,14 +149,14 @@ regular expression of tests you want to skip.
149
149
sudo docker run -it --rm --privileged --net=host \
150
150
-v /:/rootfs:ro -v $CONFIG_DIR:$CONFIG_DIR -v $LOG_DIR:/var/result \
151
151
-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
153
153
```
154
154
-->
155
155
``` shell
156
156
sudo docker run -it --rm --privileged --net=host \
157
157
-v /:/rootfs:ro -v $CONFIG_DIR :$CONFIG_DIR -v $LOG_DIR :/var/result \
158
158
-e SKIP=MirrorPod \ # 运行除 MirrorPod 测试外的所有一致性测试内容
159
- k8s.gcr .io/node-test:0.2
159
+ registry.k8s .io/node-test:0.2
160
160
```
161
161
162
162
0 commit comments