Skip to content

Commit

Permalink
Update rollingupdateWithZeroDowntime.md
Browse files Browse the repository at this point in the history
  • Loading branch information
justmine66 authored Apr 11, 2018
1 parent d9a5feb commit cc3f5f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/rollingupdateWithZeroDowntime.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ kubectl -n k8s-ecoysystem-apps describe deployment helloworldapi
>1. 创建了一个新的副本集,并为其分配3个新版本的pod,使副本总数达到13,一切正常。
>2. 通知旧副本集,销毁2个旧版本的pod,使可用副本总数保持到8,一起正常。
>3. 当两个副本销毁成功后,通知新副本集,再新增2个新版本的pod,使副本总数达到13,一切正常。
>只要销毁成功,新副本集,就会创造新的pod,一直循环,直到旧的副本集pod数量为0。
#### 总结
>只要销毁成功,新副本集就会创造新的pod,一直循环,直到旧的副本集pod数量为0。
### 5.4 总结
**`无论理想还是不理想,k8s最终都会使应用程序全部更新到期望状态,都会始终保持最大的副本总数和可用副本总数的不变性!!!`**

0 comments on commit cc3f5f6

Please sign in to comment.