ko: Fix output of 'kubectl rollout status'

This is the same fix as 6e93717597 for ko.

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 e95e378e59/pkg/polymorphichelpers/rollout_status.go (L89)
This commit is contained in:
Kenichi Omichi 2020-10-09 16:11:50 +00:00
parent cc3e0de09f
commit 3d134c37a6
1 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ kubectl apply -f https://k8s.io/examples/controllers/nginx-deployment.yaml
다음과 유사하게 출력된다.
```
Waiting for rollout to finish: 2 out of 3 new replicas have been updated...
deployment.apps/nginx-deployment successfully rolled out
deployment "nginx-deployment" successfully rolled out
```
4. 몇 초 후 `kubectl get deployments` 를 다시 실행한다.
@ -203,7 +203,7 @@ kubectl apply -f https://k8s.io/examples/controllers/nginx-deployment.yaml
```
또는
```
deployment.apps/nginx-deployment successfully rolled out
deployment "nginx-deployment" successfully rolled out
```
업데이트된 디플로이먼트에 대해 자세한 정보 보기
@ -855,7 +855,7 @@ kubectl rollout status deployment.v1.apps/nginx-deployment
이와 유사하게 출력된다.
```
Waiting for rollout to finish: 2 of 3 updated replicas are available...
deployment.apps/nginx-deployment successfully rolled out
deployment "nginx-deployment" successfully rolled out
```
그리고 `kubectl rollout` 의 종료 상태는 0(success)이다.
```shell