File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
content/ja/docs/concepts/workloads/controllers Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ Deploymentによって作成されたReplicaSetを管理しないでください
72
72
2 . Deploymentが作成されたことを確認するために、` kubectl get deployments ` を実行してください。
73
73
74
74
Deploymentがまだ作成中の場合、コマンドの実行結果は以下のとおりです。
75
- ``` shell
75
+ ```
76
76
NAME READY UP-TO-DATE AVAILABLE AGE
77
77
nginx-deployment 0/3 0 0 1s
78
78
```
@@ -95,14 +95,14 @@ Deploymentによって作成されたReplicaSetを管理しないでください
95
95
96
96
4 . 数秒後、再度` kubectl get deployments ` を実行してください。
97
97
コマンドの実行結果は以下のとおりです。
98
- ``` shell
98
+ ```
99
99
NAME READY UP-TO-DATE AVAILABLE AGE
100
100
nginx-deployment 3/3 3 3 18s
101
101
```
102
102
Deploymentが3つ全てのレプリカを作成して、全てのレプリカが最新(Podが最新のPodテンプレートを含んでいる)になり、利用可能となっていることを確認してください。
103
103
104
104
5 . Deploymentによって作成されたReplicaSet(` rs ` )を確認するには` kubectl get rs ` を実行してください。コマンドの実行結果は以下のとおりです:
105
- ``` shell
105
+ ```
106
106
NAME DESIRED CURRENT READY AGE
107
107
nginx-deployment-75675f5897 3 3 3 18s
108
108
```
@@ -118,7 +118,7 @@ Deploymentによって作成されたReplicaSetを管理しないでください
118
118
119
119
6 . 各Podにラベルが自動的に付けられるのを確認するには` kubectl get pods --show-labels ` を実行してください。
120
120
コマンドの実行結果は以下のとおりです:
121
- ``` shell
121
+ ```
122
122
NAME READY STATUS RESTARTS AGE LABELS
123
123
nginx-deployment-75675f5897-7ci7o 1/1 Running 0 18s app=nginx,pod-template-hash=75675f5897
124
124
nginx-deployment-75675f5897-kzszj 1/1 Running 0 18s app=nginx,pod-template-hash=75675f5897
You can’t perform that action at this time.
0 commit comments