kubernetes-handbook/README.md

96 lines
3.5 KiB
Markdown
Raw Normal View History

2017-04-14 17:39:40 +08:00
# Kubernetes Handbook
玩转Kubernetes我就看kubernetes handbook
2017-04-26 19:45:58 +08:00
本书所有的组件安装、事例和操作等都基于**Kubernetes1.6.0**版本。
2017-04-14 19:27:08 +08:00
文章同步更新到[gitbook](https://www.gitbook.com/book/rootsongjc/kubernetes-handbook/details)方便大家浏览和下载PDF。
2017-04-15 07:59:51 +08:00
GitHub地址https://github.com/rootsongjc/kubernetes-handbook
2017-04-14 19:08:11 +08:00
## 目录
2017-04-21 18:14:37 +08:00
- [0.0 介绍](README.md)
2017-05-10 11:25:51 +08:00
- [1.0 Kubernetes集群安装](00-kubernetes安装前言.md)
2017-04-21 18:14:37 +08:00
- [1.1 创建 TLS 通信所需的证书和秘钥](01-TLS证书和秘钥.md)
- [1.2 创建kubeconfig 文件](02-kubeconfig文件.md)
- [1.3 创建三节点的高可用etcd集群](03-高可用etcd集群.md)
- [1.4 安装kubectl命令行工具](04-kubectl命令行工具.md)
- [1.5 部署高可用master集群](05-部署高可用master集群.md)
- [1.6 部署node节点](06-部署node节点.md)
2017-04-21 20:15:22 +08:00
- [1.7 安装kubedns插件](07-安装kubedns插件.md)
- [1.8 安装dashboard插件](08-安装dashboard插件.md)
- [1.9 安装heapster插件](09-安装heapster插件.md)
- [1.10 安装EFK插件](10-安装EFK插件.md)
2017-05-10 17:26:37 +08:00
- 2.0 Kubernetes服务发现与负载均衡
2017-04-21 20:15:22 +08:00
- [2.1 Ingress解析](11-ingress解析.md)
- [2.2 安装traefik ingress](12-安装traefik-ingress.md)
2017-04-24 21:30:50 +08:00
- [2.3 分布式负载测试](14-分布式负载测试.md)
2017-04-26 15:34:22 +08:00
- [2.4 kubernetes网络和集群性能测试](15-kubernetes网络和集群性能测试.md)
2017-05-09 12:52:45 +08:00
- [2.5 边缘节点配置](18-边缘节点配置.md)
2017-05-10 17:26:37 +08:00
- 3.0 Kubernetes中的容器设计模式 TODO
2017-05-11 18:22:00 +08:00
- 4.0 Kubernetes中的概念解析
- [4.1 Deployment概念解析](20-deployment概念解析.md)
2017-05-10 17:26:37 +08:00
- 5.0 Kubernetes的安全设置
2017-04-21 20:15:22 +08:00
- [5.1 Kubernetes中的RBAC支持](13-kubernetes中的RBAC支持.md)
2017-05-10 17:26:37 +08:00
- 6.0 Kubernetes网络配置
- [6.1 Kubernetes中的网络模式解析](16-kubernetes中的网络模式解析.md)
2017-05-10 17:26:37 +08:00
- 7.0 Kubernetes存储配置
- [7.1 使用glusterfs做持久化存储](17-使用glusterfs做持久化存储.md)
2017-05-10 17:26:37 +08:00
- 8.0 集群运维管理
- [8.1 服务滚动升级](19-服务滚动升级.md)
2017-05-10 17:26:37 +08:00
- 9.0 Kubernetes领域应用
- [9.0 问题记录](issues.md)
2017-04-14 19:08:11 +08:00
2017-04-14 19:27:08 +08:00
## 说明
文中涉及的配置文件和代码链接在gitbook中会无法打开请下载github源码后在MarkDown编辑器中打开点击链接将跳转到你的本地目录。
2017-04-21 18:14:37 +08:00
[Kubernetes集群安装部分](00-kubernetes安装前言.md)1.0-1.10原作来自[opsnull](https://github.com/opsnull/follow-me-install-kubernetes-cluster),在此基础上进行了编辑、修改和整理成[follow-me-install-kubernetes-cluster](https://github.com/rootsongjc/follow-me-install-kubernetes-cluster)
2017-04-14 19:27:08 +08:00
## 如何使用
**在线浏览**
访问gitbookhttps://www.gitbook.com/book/rootsongjc/kubernetes-handbook/
**本地查看**
1. 将代码克隆到本地
2. 安装gitbook[Setup and Installation of GitBook](https://github.com/GitbookIO/gitbook/blob/master/docs/setup.md)
3. 执行gitbook serve
4. 在浏览器中访问http://localhost:4000
2017-04-27 11:08:45 +08:00
5. 生成的文档在`_book`目录下
**生成pdf**
2017-05-11 18:22:00 +08:00
[下载Calibre](http://calibre-ebook.com/download)
在Mac下安装后使用该命令创建链接
```
ln -s /Applications/calibre.app/Contents/MacOS/ebook-convert /usr/local/bin
```
在该项目目录下执行以下命令生成`kubernetes-handbook.pdf`文档。
```
gitbook pdf . ./kubernetes-handbook.pdf
```
**生成单个章节的pdf**
2017-04-27 11:08:45 +08:00
使用`pandoc`和`latex`来生成pdf格式文档。
```shell
pandoc --latex-engine=xelatex --template=pm-template input.md -o output.pdf
```
2017-04-14 19:27:08 +08:00
## 贡献者
2017-04-14 17:39:40 +08:00
2017-04-15 07:59:51 +08:00
[Jimmy Song](http://rootsongjc.github.io/about)
2017-04-21 18:14:37 +08:00
[opsnull](http://github.com/opsnull)
2017-04-21 18:16:42 +08:00
[godliness](https://github.com/godliness/)