Skip to content

Commit

Permalink
创建Deployment时,还没有 Service
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohq committed Apr 29, 2020
1 parent 28bccfc commit 6c0f4c5
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .vuepress/components/ad-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ module.exports = [
url: 'https://github.com/fanux/sealos',
weight: 60
},
{
name: 'SOCK BOOM',
description: '我在这里 Fan Qiang 查阅 Kubernetes 第一手资料',
strong: '推荐',
action: '试一试',
url: 'https://sockboom.tel/auth/register?affid=182351',
weight: 100
},
// {
// name: 'SOCK BOOM',
// description: '我在这里 Fan Qiang 查阅 Kubernetes 第一手资料',
// strong: '推荐',
// action: '试一试',
// url: 'https://sockboom.tel/auth/register?affid=182351',
// weight: 100
// },
// {
// name: '华为云',
// description: '【2核4G云服务器低至331元/年,限时抢购】华为云开年回馈用户,产品低至1折',
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 6 additions & 5 deletions learning/k8s-basics/deploy-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ kubectl get pods

**打开 Kuboard 集群概览界面**,如下图所示:

![Kubernetes教程:部署第一个应用程序-Kuboard集群概览页](./deploy-app.assets/image-20190822165220992.png)
![Kubernetes教程:部署第一个应用程序-Kuboard集群概览页](./deploy-app.assets/image-20200429234145358.png)



**点击 default 名称空间**

![Kubernetes教程:部署第一个应用程序-Kuboard名称空间页](./deploy-app.assets/image-20190822165351264.png)
![Kubernetes教程:部署第一个应用程序-Kuboard名称空间页](./deploy-app.assets/image-20200429234212468.png)



Expand All @@ -166,8 +166,9 @@ kubectl get pods
| 容器名称 | nginx | |
| 镜像 | nginx:1.7.9 | |
| 抓取策略 | Always | 每次创建 Pod 都尝试抓取镜像 |
| Ports | TCP : 80 | 该容器组监听 TCP 80 端口 |

![Kubernetes教程:部署第一个应用程序-在Kuboard中创建工作负载](./deploy-app.assets/image-20190822171013606.png)
![Kubernetes教程:部署第一个应用程序-在Kuboard中创建工作负载](./deploy-app.assets/image-20200429234711586.png)



Expand All @@ -179,9 +180,9 @@ kubectl get pods

此时可查看到该应用的部署结果,如下图所示:

![Kubernetes入门教程](./deploy-app.assets/image-20200226121449752.png)
![Kubernetes入门教程](./deploy-app.assets/image-20200429235118699.png)

点击上图中的 ***代理*** 按钮,可以直接测试部署结果。更多细节请参考 [Kuboard Proxy](/guide/proxy), 此功能要求 Kuboard 版本不低于 `v1.0.7-beta.4`
点击上图中的 ***代理*** 按钮,可以直接测试部署结果。更多细节请参考 [Kuboard Proxy](/guide/proxy), 此功能要求 Kuboard 版本不低于 `v1.0.9.4`

通过代理访问已部署的 nginx 服务时,默认显示结果如下所示:

Expand Down

0 comments on commit 6c0f4c5

Please sign in to comment.