Deployment 新界面
This commit is contained in:
@ -17,9 +17,13 @@ meta:
|
||||
|
||||
以我们在 [创建Deployment](./create.html) 中创建的 Deployment 为例。
|
||||
|
||||
> 本文提供了两种途径对 Deployment 执行暂停和继续操作:
|
||||
> * 使用 kubectl 暂停和继续 Deployment
|
||||
> * 使用 Kuboard 暂停和继续 Deployment
|
||||
|
||||
<b-card>
|
||||
<b-tabs content-class="mt-3">
|
||||
<b-tab title="使用 kubectl 暂停 Deployment" active>
|
||||
<b-tab title="使用 kubectl 暂停 Deployment">
|
||||
|
||||
* 执行命令 `kubectl get deployment`,查看 Deployment 信息,输出结果如下所示:
|
||||
|
||||
@ -103,10 +107,25 @@ meta:
|
||||
:::
|
||||
|
||||
</b-tab>
|
||||
<b-tab title="使用 Kuboard 暂停 Deployment">
|
||||
<b-tab title="使用 Kuboard 暂停 Deployment" active>
|
||||
|
||||
|
||||
|
||||
* 在 Deployment 详情页中点击 ***处理状态*** 的开关,可以暂停 Deployment 处理,修改后如下图所示:
|
||||
|
||||

|
||||
|
||||
* 点击 ***调整镜像标签*** 按钮,设置新版本为 `1.15.8`,如下图所示:
|
||||
|
||||
保存后,可以看到 Deployment 中已经将容器镜像版本修改为 `nginx:1.15.8`,然而,Deployment 控制器此时并未执行滚动更新的过程,因为 Deployment 的处理已经被暂停。
|
||||
|
||||

|
||||
|
||||
* 点击 ***处理状态*** 的开关,将其设定为 `已继续`,Deployment 将立刻开始执行滚动更新,最终结果如下图所示:
|
||||
|
||||

|
||||
|
||||
|
||||
正在撰写中
|
||||
|
||||
</b-tab>
|
||||
</b-tabs>
|
||||
|
||||
Reference in New Issue
Block a user