Skip to content

Commit 234c8c8

Browse files
author
Kenichi Omichi
committed
id: Fix output of 'kubectl rollout status'
This is the same fix as 6e93717 for id. If running `kubectl rollout status` command, the output is like: ``` deployment "nginx-deployment" successfully rolled out ``` The corresponding kubectl code also shows it according to https://github.com/kubernetes/kubectl/blob/e95e378e5972064b177a8e71eac2803f55c8c5df/pkg/polymorphichelpers/rollout_status.go#L89
1 parent 31042f8 commit 234c8c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/id/docs/concepts/workloads/controllers/deployment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Dalam contoh ini:
9696
3. Untuk melihat status rilis Deployment, jalankan `kubectl rollout status deployment.v1.apps/nginx-deployment`. Keluaran akan tampil seperti berikut:
9797
```shell
9898
Waiting for rollout to finish: 2 out of 3 new replicas have been updated...
99-
deployment.apps/nginx-deployment successfully rolled out
99+
deployment "nginx-deployment" successfully rolled out
100100
```
101101

102102
4. Jalankan `kubectl get deployments` lagi beberapa saat kemudian. Keluaran akan tampil seperti berikut:
@@ -179,7 +179,7 @@ Ikuti langkah-langkah berikut untuk membarui Deployment:
179179
```
180180
atau
181181
```
182-
deployment.apps/nginx-deployment successfully rolled out
182+
deployment "nginx-deployment" successfully rolled out
183183
```
184184

185185
Untuk menampilkan detail lain dari Deployment yang terbaru:
@@ -826,7 +826,7 @@ kubectl rollout status deployment.v1.apps/nginx-deployment
826826
Keluaran akan tampil seperti berikut:
827827
```
828828
Waiting for rollout to finish: 2 of 3 updated replicas are available...
829-
deployment.apps/nginx-deployment successfully rolled out
829+
deployment "nginx-deployment" successfully rolled out
830830
$ echo $?
831831
0
832832
```

0 commit comments

Comments
 (0)