File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
content/zh/docs/concepts/workloads/pods Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,10 @@ You can start this Pod by running:
241
241
` ` ` shell
242
242
kubectl apply -f myapp.yaml
243
243
` ` `
244
+ < ! --
245
+ The output is similar to this:
246
+ -->
247
+ 输出类似于:
244
248
` ` `
245
249
pod/myapp-pod created
246
250
` ` `
@@ -253,6 +257,10 @@ And check on its status with:
253
257
` ` ` shell
254
258
kubectl get -f myapp.yaml
255
259
` ` `
260
+ < ! --
261
+ The output is similar to this:
262
+ -->
263
+ 输出类似于:
256
264
` ` `
257
265
NAME READY STATUS RESTARTS AGE
258
266
myapp-pod 0/1 Init:0/2 0 6m
@@ -266,7 +274,10 @@ or for more details:
266
274
` ` ` shell
267
275
kubectl describe -f myapp.yaml
268
276
` ` `
269
-
277
+ < ! --
278
+ The output is similar to this:
279
+ -->
280
+ 输出类似于:
270
281
` ` `
271
282
Name: myapp-pod
272
283
Namespace: default
@@ -353,6 +364,10 @@ To create the `mydb` and `myservice` services:
353
364
```shell
354
365
kubectl create -f services.yaml
355
366
```
367
+ <!--
368
+ The output is similar to this:
369
+ -->
370
+ 输出类似于:
356
371
```
357
372
service "myservice" created
358
373
service "mydb" created
@@ -367,7 +382,10 @@ Pod moves into the Running state:
367
382
` ` ` shell
368
383
kubectl get -f myapp.yaml
369
384
` ` `
370
-
385
+ < ! --
386
+ The output is similar to this:
387
+ -->
388
+ 输出类似于:
371
389
` ` `
372
390
NAME READY STATUS RESTARTS AGE
373
391
myapp-pod 1/1 Running 0 9m
You can’t perform that action at this time.
0 commit comments