教程结构调整
This commit is contained in:
8
learning/k8s-intermediate/config/assign-pod-node.md
Normal file
8
learning/k8s-intermediate/config/assign-pod-node.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
layout: LearningLayout
|
||||
description: 在 Kubernetes 中,将 Pod 容器组调度到指定的节点
|
||||
---
|
||||
|
||||
# 将容器组调度到指定的节点
|
||||
|
||||
正在撰写...
|
||||
8
learning/k8s-intermediate/config/computing-resource.md
Normal file
8
learning/k8s-intermediate/config/computing-resource.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
layout: LearningLayout
|
||||
description: 在 Kubernetes 中,管理和分配容器的计算资源
|
||||
---
|
||||
|
||||
# 管理容器的计算资源
|
||||
|
||||
正在撰写...
|
||||
8
learning/k8s-intermediate/config/secret.md
Normal file
8
learning/k8s-intermediate/config/secret.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
layout: LearningLayout
|
||||
description: 在 Kubernetes 中,配置和使用 Secrets
|
||||
---
|
||||
|
||||
# Secrets
|
||||
|
||||
正在撰写...
|
||||
@ -0,0 +1,8 @@
|
||||
---
|
||||
layout: LearningLayout
|
||||
description: 在 Kubernetes 中,配置 污点和容忍 taints and toleration
|
||||
---
|
||||
|
||||
# 污点和容忍 taints and toleration
|
||||
|
||||
正在撰写...
|
||||
@ -1,6 +1,10 @@
|
||||
---
|
||||
layout: LearningLayout
|
||||
description: nfs
|
||||
description: 本文描述如何搭建 NFS 服务,并在 Kubernetes 中配置 StorageClass 使用该 NFS 服务作为存储
|
||||
---
|
||||
|
||||
# NFS
|
||||
# 搭建 NFS 服务
|
||||
|
||||
本文描述如何搭建 NFS 服务,仅用于测试
|
||||
|
||||
正在撰写...
|
||||
|
||||
8
learning/k8s-intermediate/service/connecting.md
Normal file
8
learning/k8s-intermediate/service/connecting.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
layout: LearningLayout
|
||||
description: 在 Kubernetes 中,通过 Service 连接应用程序
|
||||
---
|
||||
|
||||
# Service 连接应用程序
|
||||
|
||||
正在撰写...
|
||||
8
learning/k8s-intermediate/service/dns.md
Normal file
8
learning/k8s-intermediate/service/dns.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
layout: LearningLayout
|
||||
description: 本文介绍了 Kubernetes 中 DNS 的分配规则
|
||||
---
|
||||
|
||||
# Service/Pod 的 DNS
|
||||
|
||||
正在撰写...
|
||||
|
Before Width: | Height: | Size: 386 KiB After Width: | Height: | Size: 386 KiB |
|
Before Width: | Height: | Size: 197 KiB After Width: | Height: | Size: 197 KiB |
@ -3,7 +3,7 @@ layout: LearningLayout
|
||||
description: 本文介绍 Kubernetes Ingress 的概念,包括Ingress 基本概念、如何配置 Ingress Controller、如何使用 kubectl/Kuboard 操作 Ingress 信息
|
||||
---
|
||||
|
||||
# 通过互联网访问您的应用
|
||||
# Ingress 通过互联网访问您的应用
|
||||
|
||||
参考文档:
|
||||
* Kubernetes 官网 [Ingress](https://kubernetes.io/docs/concepts/services-networking/ingress/)
|
||||
@ -100,7 +100,7 @@ spec:
|
||||
|
||||
> 文档 [安装 Kubernetes 单Master节点](/install/install-k8s.html) 中使用的就是这种拓扑结构。这种方式下,Ingress Controller 存在单点故障的可能性。
|
||||
|
||||

|
||||

|
||||
|
||||
### 使用外部负载均衡器
|
||||
|
||||
@ -112,7 +112,7 @@ spec:
|
||||
|
||||
> 文档 [安装 Kubernetes 高可用](/install/install-kubernetes.html) 中使用的就是这种拓扑结构。
|
||||
|
||||

|
||||

|
||||
|
||||
## 实战:通过 Ingress 使您的应用程序在互联网可用
|
||||
|
||||
8
learning/k8s-intermediate/service/service.md
Normal file
8
learning/k8s-intermediate/service/service.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
layout: LearningLayout
|
||||
description: 本文介绍了 Kubernetes 中服务发现的机制,以及如何使用服务发现
|
||||
---
|
||||
|
||||
# Service
|
||||
|
||||
正在撰写...
|
||||
@ -7,7 +7,7 @@ description: 本文介绍了 Kubernetes Controller(控制器)的概念,以
|
||||
|
||||
Pod(容器组)是 Kubernetes 中最小的调度单元,您可以通过 kubectl 直接创建一个 Pod。Pod 本身并不能自愈(self-healing)。如果一个 Pod 所在的 Node (节点)出现故障,或者调度程序自身出现故障,Pod 将被删除;同理,当因为节点资源不够或节点维护而驱逐 Pod 时,Pod 也将被删除。
|
||||
|
||||
Kubernetes 通过引入 Controller(控制器)的概念来管理 Pod 实例。在 Kubernetes 中,您应该始终通过创建 Controller 来创建 Pod,而不是直接创建 Pod。控制器可以提供如下特性:
|
||||
Kubernetes 通过引入 Controller(控制器)的概念来管理 Pod 实例。在 Kubernetes 中,<font color="red">您应该始终通过创建 Controller 来创建 Pod,而不是直接创建 Pod</font>。控制器可以提供如下特性:
|
||||
* 水平扩展(运行 Pod 的多个副本)
|
||||
* rollout(版本更新)
|
||||
* self-healing(故障恢复)
|
||||
|
||||
Reference in New Issue
Block a user