Skip to content

Commit

Permalink
add chapter number
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang Jun committed Jun 17, 2018
1 parent bdef01a commit 58cd1da
Show file tree
Hide file tree
Showing 27 changed files with 35 additions and 31 deletions.
2 changes: 1 addition & 1 deletion 00.组件版本和配置策略.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: version

# 组件版本和配置策略
# 00.组件版本和配置策略

## 组件版本

Expand Down
2 changes: 1 addition & 1 deletion 01.系统初始化和全局变量.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: environment

# 系统初始化和全局变量
# 01.系统初始化和全局变量

## 集群机器

Expand Down
2 changes: 1 addition & 1 deletion 02.创建CA证书和秘钥.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: TLS, CA, x509

# 创建 CA 证书和秘钥
# 02.创建 CA 证书和秘钥

为确保安全,`kubernetes` 系统各组件需要使用 `x509` 证书对通信进行加密和认证。

Expand Down
2 changes: 1 addition & 1 deletion 03.部署kubectl命令行工具.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: kubectl

# 部署 kubectl 命令行工具
# 03.部署 kubectl 命令行工具

kubectl 是 kubernetes 集群的命令行管理工具,本文档介绍安装和配置它的步骤。

Expand Down
2 changes: 1 addition & 1 deletion 04.部署etcd集群.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: etcd

# 部署 etcd 集群
# 04.部署 etcd 集群

etcd 是基于 Raft 的分布式 key-value 存储系统,由 CoreOS 开发,常用于服务发现、共享配置以及并发控制(如 leader 选举、分布式锁等)。kubernetes 使用 etcd 存储所有运行数据。

Expand Down
2 changes: 1 addition & 1 deletion 05.部署flannel网络.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: flanneld

# 部署 flannel 网络
# 05.部署 flannel 网络

kubernetes 要求集群内各节点(包括 master 节点)能通过 Pod 网段互联互通。flannel 使用 vxlan 技术为各节点创建一个可以互通的 Pod 网络。

Expand Down
2 changes: 1 addition & 1 deletion 06-0.部署master节点.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: master, kube-apiserver, kube-scheduler, kube-controller-manager

# 部署 master 节点
# 06-0.部署 master 节点

kubernetes master 节点运行如下组件:

Expand Down
2 changes: 1 addition & 1 deletion 06-1.api-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: master, kube-apiserver

# 部署 kube-apiserver 节点
# 06-1.部署 kube-apiserver 组件

本文档讲解部署一个单 master 的部署,对应的节点 IP 为环境变量 ${MASTER_IP}。

Expand Down
2 changes: 1 addition & 1 deletion 06-2.controller-manager集群.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: master, kube-controller-manager

# 部署高可用 kube-controller-manager 集群
# 06-2.部署高可用 kube-controller-manager 集群

本文档介绍部署高可用 kube-controller-manager 集群的步骤。

Expand Down
2 changes: 1 addition & 1 deletion 06-3.scheduler集群.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: master, kube-scheduler

# 部署高可用 kube-scheduler 集群
# 06-3.部署高可用 kube-scheduler 集群

本文档介绍部署高可用 kube-scheduler 集群的步骤。

Expand Down
2 changes: 1 addition & 1 deletion 07-0.部署worker节点.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: worker, flanneld, docker, kubeconfig, kubelet, kube-proxy

# 部署 worker 节点
# 07-0.部署 worker 节点

kubernetes work 节点运行如下组件:

Expand Down
2 changes: 1 addition & 1 deletion 07-1.docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: worker, docker

# 部署 docker 组件
# 07-1.部署 docker 组件

docker 是容器的运行环境,管理进行和容器的整个生命周期。kubelet 通过 Container Runtime Interface (CRI) 与 docker 进行交互。

Expand Down
2 changes: 1 addition & 1 deletion 07-2.kubelet.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: worker, kubelet

# 部署 kubelet 组件
# 07-2.部署 kubelet 组件

kublet 运行在每个 worker 节点上,接收 kube-apiserver 发送的请求,管理 Pod 容器,执行交换式命令如 exec、run、logs 等。

Expand Down
2 changes: 1 addition & 1 deletion 07-3.kube-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: worker, kube-proxy

# 部署 kube-proxy 组件
# 07-3.部署 kube-proxy 组件

kube-proxy 运行在所有 worker 节点上,,它监听 apiserver 中 service 和 Endpoint 的变化情况,创建路由规则来进行服务负载均衡。

Expand Down
6 changes: 5 additions & 1 deletion 08.验证集群功能.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# 验证集群功能
<!-- toc -->

tags: verify

# 08.验证集群功能

本文档使用 daemonset 验证 master 和 worker 节点是否工作正常。

Expand Down
2 changes: 1 addition & 1 deletion 09-0.部署集群插件.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 部署集群插件
# 09-0.部署集群插件

插件是集群的附件组件,丰富和完善了集群的功能。

Expand Down
2 changes: 1 addition & 1 deletion 09-1.dns插件.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: addons, dns, coredns

# 部署 coredns 插件
# 09-1.部署 coredns 插件

## 修改配置文件

Expand Down
2 changes: 1 addition & 1 deletion 09-2.dashboard插件.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: addons, dashboard

# 部署 dashboard 插件
# 09-2.部署 dashboard 插件

## 修改配置文件

Expand Down
2 changes: 1 addition & 1 deletion 09-3.heapster插件.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: addons, heapster

# 部署 heapster 插件
# 09-3.部署 heapster 插件

Heapster是一个收集者,将每个Node上的cAdvisor的数据进行汇总,然后导到第三方工具(如InfluxDB)。

Expand Down
2 changes: 1 addition & 1 deletion 09-4.metrics-server插件.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: addons, metrics, metrics-server

# 部署 metrics-server 插件
# 09-4.部署 metrics-server 插件

## 创建 metrics-server 使用的证书

Expand Down
2 changes: 1 addition & 1 deletion 09-5.EFK插件.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: addons, EFK, fluentd, elasticsearch, kibana

# 部署 EFK 插件
# 09-5.部署 EFK 插件

EFK 对应的目录:`kubernetes/cluster/addons/fluentd-elasticsearch`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: registry, ceph

# 部署私有 docker registry
# 10.部署私有 docker registry

注意:本文档介绍使用 docker 官方的 registry v2 镜像部署私有仓库的步骤,你也可以部署 Harbor 私有仓库([部署 Harbor 私有仓库](13-部署harbor私有仓库.md))。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: registry, harbor

# 部署 harbor 私有仓库
# 11.部署 harbor 私有仓库

本文档介绍使用 docker-compose 部署 harbor 私有仓库的步骤,你也可以使用 docker 官方的 registry 镜像部署私有仓库([部署 Docker Registry](11-部署Docker-Registry.md))。

Expand Down
2 changes: 1 addition & 1 deletion 12-清理集群.md → 12.清理集群.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tags: clean

# 清理集群
# 12.清理集群

## 清理 Node 节点

Expand Down
2 changes: 1 addition & 1 deletion A.浏览器访问kube-apiserver安全端口.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 浏览器访问 kube-apiserver 安全端口
# A.浏览器访问 kube-apiserver 安全端口

浏览器访问 kube-apiserver 的安全端口 6443 时,提示证书不被信任:
![ssl-failed](images/ssl-failed.png)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
1. [09-3.heapster插件](09-3.heapster插件.md)
1. [09-4.metrics-server插件](09-4.metrics-server插件.md)
1. [09-5.EFK插件](09-5.EFK插件.md)
1. [10.部署Docker-Registry](10-部署Docker-Registry.md)
1. [11.部署Harbor-Registry](11-部署Harbor-Registry.md)
1. [12.清理集群](12-清理集群.md)
1. [10.部署Docker-Registry](10.部署Docker-Registry.md)
1. [11.部署Harbor-Registry](11.部署Harbor-Registry.md)
1. [12.清理集群](12.清理集群.md)
1. [A.浏览器访问apiserver安全端口](A.浏览器访问kube-apiserver安全端口.md)

## 在线阅读
Expand Down
6 changes: 3 additions & 3 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
* [09-3.heapster插件](09-3.heapster插件.md)
* [09-4.metrics-server插件](09-4.metrics-server插件.md)
* [09-5.EFK插件](09-5.EFK插件.md)
* [10.部署Docker-Registry](10-部署Docker-Registry.md)
* [11.部署Harbor-Registry](11-部署Harbor-Registry.md)
* [12.清理集群](12-清理集群.md)
* [10.部署Docker-Registry](10.部署Docker-Registry.md)
* [11.部署Harbor-Registry](11.部署Harbor-Registry.md)
* [12.清理集群](12.清理集群.md)
* [13.浏览器访问apiserver安全端口](A.浏览器访问kube-apiserver安全端口.md)

## 标签集合
Expand Down

0 comments on commit 58cd1da

Please sign in to comment.