Update rollingupdateWithZeroDowntime.md

pull/157/head
无痴迷,不成功 2018-04-11 06:55:32 -07:00 committed by GitHub
parent 52133a170b
commit b932937410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@
>3. 删除旧的replication controller。
##4、演示
>使用kubectl更新一个已部署的应用程序并模拟回滚。为了方便分析将应用程序的pod副本数量设置为10。
`kubectl -n k8s-ecoysystem-apps scale deployment helloworldapi --replicas=10`
```javascript
kubectl -n k8s-ecoysystem-apps scale deployment helloworldapi --replicas=10
```
### 4.1. 发布微服务
```javascript
查看部署列表