更新目录
This commit is contained in:
Binary file not shown.
15
README.md
15
README.md
@ -83,17 +83,20 @@ Kubernetes教程的主要依据是:Kubernetes 官网文档,以及使用 Kubo
|
||||
在 Kubernetes 上部署 Spring Cloud 微服务:
|
||||
|
||||
* [概述](https://kuboard.cn/learning/k8s-practice/spring-cloud)
|
||||
* [部署服务注册中心]
|
||||
* [部署数据库]
|
||||
* [部署微服务]
|
||||
* [部署服务网关]
|
||||
* [部署Web前端]
|
||||
* [管理多环境]
|
||||
|
||||
在 Kubernetes 上部署 Spring Cloud 微服务:(Open Capacity Platform)
|
||||
|
||||
* [OCP介绍](https://kuboard.cn/leanring/k8s-practice/ocp/)
|
||||
* [准备OCP的构建环境和部署环境](https://kuboard.cn/learning/k8s-practice/ocp/prepare.html)
|
||||
* [构建Docker镜像并推送到仓库](https://kuboard.cn/learning/k8s-practice/ocp/build.html)
|
||||
* [部署顺序](https://kuboard.cn/learning/k8s-practice/ocp/sequence.html)
|
||||
* [在K8S上部署eureka-server](https://kuboard.cn/learning/k8s-practice/ocp/eureka-server.html)
|
||||
* [在K8S上部署auth-server]
|
||||
* [在K8S上部署user-center]
|
||||
* [在K8S上部署api-gateway]
|
||||
* [在K8S上部署back-center]
|
||||
* [重新审视配置信息]
|
||||
* [导出部署配置]
|
||||
* [在新的名称空间导入部署配置]
|
||||
|
||||
Kuboard官网免费提供 K8S教程,K8S安装文档,学习过程中如有疑问,请加QQ群在线答疑。
|
||||
|
||||
@ -84,6 +84,15 @@ description: Kubernetes免费中文教程目录
|
||||
|
||||
在 Kubernetes 上部署 Spring Cloud 微服务:(Open Capacity Platform)
|
||||
|
||||
* [OCP介绍](/leanring/k8s-practice/ocp/)
|
||||
* [OCP介绍](/learning/k8s-practice/ocp/)
|
||||
* [准备OCP的构建环境和部署环境](/learning/k8s-practice/ocp/prepare.html)
|
||||
* [构建Docker镜像并推送到仓库](/learning/k8s-practice/ocp/build.html)
|
||||
* [构建docker镜像并推送到仓库](/learning/k8s-practice/ocp/build.html)
|
||||
* [部署顺序](/learning/k8s-practice/ocp/sequence.html)
|
||||
* [在K8S上部署eureka-server](/learning/k8s-practice/ocp/eureka-server.html)
|
||||
* [在K8S上部署auth-server]
|
||||
* [在K8S上部署user-center]
|
||||
* [在K8S上部署api-gateway]
|
||||
* [在K8S上部署back-center]
|
||||
* [重新审视配置信息]
|
||||
* [导出部署配置]
|
||||
* [在新的名称空间导入部署配置]
|
||||
|
||||
@ -15,10 +15,10 @@ description: Kubernetes教程_在Kubernetes中将Pod容器组调度到指定的
|
||||
* 将相互通信频繁的两个 Pod 分配到同一个高可用区的节点
|
||||
|
||||
Kubernetes 一共提供了四种方法,可以将 Pod 调度到指定的节点上,这些方法从简便到复杂的顺序如下:
|
||||
* 指定节点 nodeName <Badge text="Kuboard 已支持" type="success"/>
|
||||
* 节点选择器 nodeSelector <Badge text="Kuboard 已支持" type="success"/> <Badge text="Kubernetes 推荐用法" type="error"/>
|
||||
* Node isolation/restriction <Badge text="Kuboard 暂不支持" type="warn"/>
|
||||
* Affinity and anti-affinity <Badge text="Kuboard 暂不支持" type="warn"/>
|
||||
* 指定节点 nodeName
|
||||
* 节点选择器 nodeSelector <Badge text="Kubernetes 推荐用法" type="error"/>
|
||||
* Node isolation/restriction
|
||||
* Affinity and anti-affinity
|
||||
|
||||
本文后续章节逐个描述了他们的用法
|
||||
|
||||
|
||||
@ -17,14 +17,15 @@ Kuboard 网站将陆续 **连载** 如何使用 Kuboard 在 Kubernetes 上部署
|
||||
* back-center
|
||||
|
||||
该系列连载文章的目录如下:
|
||||
* [准备OCP的构建环境和部署环境](./prepare.html)
|
||||
* [构建docker镜像并推送到仓库](./build.html)
|
||||
* [部署顺序](./sequence.html)
|
||||
* [在K8S上部署eureka-server](eureka-server.html)
|
||||
* [准备OCP的构建环境和部署环境](/learning/k8s-practice/ocp/prepare.html)
|
||||
* [构建docker镜像并推送到仓库](/learning/k8s-practice/ocp/build.html)
|
||||
* [部署顺序](/learning/k8s-practice/ocp/sequence.html)
|
||||
* [在K8S上部署eureka-server](/learning/k8s-practice/ocp/eureka-server.html)
|
||||
* [在K8S上部署auth-server]
|
||||
* [在K8S上部署user-center]
|
||||
* [在K8S上部署api-gateway]
|
||||
* [在K8S上部署back-center]
|
||||
* [重新审视配置信息]
|
||||
* [导出部署配置]
|
||||
* [在新的名称空间导入部署配置]
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 146 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 175 KiB |
@ -6,7 +6,7 @@ description: Kubernetes教程_使用Kuboard在Kubernetes上部署Spring_Cloud微
|
||||
|
||||
# 部署顺序
|
||||
|
||||
## 部署顺序及其原因
|
||||
## 部署顺序的确定
|
||||
|
||||
本教程将在 KUbernet是上部署 Spring Cloud - Open Capacity Platform 微服务架构的如下模块:
|
||||
|
||||
@ -18,7 +18,9 @@ description: Kubernetes教程_使用Kuboard在Kubernetes上部署Spring_Cloud微
|
||||
|
||||
他们之间的依赖关系如下图所示:
|
||||
|
||||

|
||||
<p>
|
||||
<img src="./sequence.assets/image-20190926064754936.png" style="max-width: 720px;" alt="Kubernetes教程:Spring Cloud 组件部署顺序">
|
||||
</p>
|
||||
|
||||
本教程将按照如下顺序部署这些微服务模块:
|
||||
|
||||
@ -28,7 +30,7 @@ description: Kubernetes教程_使用Kuboard在Kubernetes上部署Spring_Cloud微
|
||||
4. 服务网关 api-gateway
|
||||
5. 后台中心 back-center
|
||||
|
||||
在决定按照什么顺序部署这些微服务组件时,需要考虑的因素有:
|
||||
在决定按照什么顺序部署这些微服务组件时,主要考虑的因素有:
|
||||
|
||||
* **依赖关系**
|
||||
* 0 依赖(不依赖任何其他模块)的最先部署
|
||||
@ -46,7 +48,7 @@ description: Kubernetes教程_使用Kuboard在Kubernetes上部署Spring_Cloud微
|
||||
* 服务提供者先于服务调用者存在,遵循了依赖关系
|
||||
* 服务调用者可以先于服务提供者存在并正常启动,此时,如果服务提供者完成启动并向注册中心注册,服务调用者后续才发现提供者的存在,并进一步向服务提供者发送接口调用请求。此时服务注册中心使得我们可以向一个已经运行多时(api-server已存在)的情况下添加新的微服务(比方说 product-center)
|
||||
::: tip
|
||||
按照解耦关系这几个微服务模块的部署顺序也可以调成为:
|
||||
按照解耦关系这几个微服务模块的部署顺序也可以调整为:
|
||||
1. 服务注册中心 eureka-server
|
||||
2. 服务网关 api-gateway
|
||||
3. 用户中心 user-center
|
||||
|
||||
@ -178,7 +178,16 @@ Kuboard 为 Kubernetes 初学者设计了如下学习路径:
|
||||
|
||||
* [OCP介绍](/leanring/k8s-practice/ocp/)
|
||||
* [准备OCP的构建环境和部署环境](/learning/k8s-practice/ocp/prepare.html)
|
||||
* [构建Docker镜像并推送到仓库](/learning/k8s-practice/ocp/build.html)
|
||||
* [构建docker镜像并推送到仓库](/learning/k8s-practice/ocp/build.html)
|
||||
* [部署顺序](/learning/k8s-practice/ocp/sequence.html)
|
||||
* [在K8S上部署eureka-server](/learning/k8s-practice/ocp/eureka-server.html)
|
||||
* [在K8S上部署auth-server]
|
||||
* [在K8S上部署user-center]
|
||||
* [在K8S上部署api-gateway]
|
||||
* [在K8S上部署back-center]
|
||||
* [重新审视配置信息]
|
||||
* [导出部署配置]
|
||||
* [在新的名称空间导入部署配置]
|
||||
|
||||
### Kubernetes 有经验者
|
||||
|
||||
|
||||
Reference in New Issue
Block a user