This commit is contained in:
huanqing.shao
2020-02-26 14:23:16 +08:00
parent 842bac3b9e
commit e2fd7c1b09
7 changed files with 18 additions and 10 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -177,7 +177,15 @@ kubectl get pods
点击 ***完成***
此时可查看到该应用的部署结果
此时可查看到该应用的部署结果,如下图所示:
![Kubernetes入门教程](./deploy-app.assets/image-20200226121449752.png)
点击上图中的 ***代理*** 按钮,可以直接测试部署结果。更多细节请参考 [Kuboard Proxy](/guide/proxy) 此功能要求 Kuboard 版本不低于 `v1.0.7-beta.4`。
通过代理访问已部署的 nginx 服务时,默认显示结果如下所示:
![Kubernetes入门教程](./deploy-app.assets/image-20200226122026369.png)
</b-tab>
</b-tabs>
@ -185,7 +193,6 @@ kubectl get pods
可分别查看到一个名为 nginx-deployment 的 Deployment 和一个名为 nginx-deployment-xxxxxxx 的 Pod
~~任务二达成至此你已经成功在k8s上部署了一个实例的nginx应用程序
~~想要知道 Deployment部署、Pod容器组 和 Node(节点) 之间的关系吗?

View File

@ -180,9 +180,9 @@ curl <任意节点的 IP>:32600
填写一条记录:
| 协议 | 服务端口 | 节点端口 | 容器端口 |
| ---- | -------- | -------- | -------- |
| TCP | 80 | 32601 | 80 |
| 协议 | 服务端口 | 节点端口 | 容器端口 |
| ---- | -------- | -------- | -------- |
| TCP | 80 | 32601 | 80 |
如下图所示:
@ -192,7 +192,7 @@ curl <任意节点的 IP>:32600
* **访问服务**
在浏览器打开 `http://<任意节点的 IP>:32601`
在浏览器打开 `http://<任意节点的 IP>:32601
</b-tab>
</b-tabs>