Skip to content

Commit bc04f5c

Browse files
authored
Merge pull request #2 from rootsongjc/master
Merge 'rootsongjc/kubernetes-handbook' master branch
2 parents 9d79ae4 + 8cadd54 commit bc04f5c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+6158
-75
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@
5151

5252
## 云原生出版物
5353

54-
以下为本人翻译出版的图书
54+
以下为本人参与出版的图书
5555

5656
- [Cloud Native Go](https://jimmysong.io/posts/cloud-native-go/) - 基于Go和React的web云原生应用构建指南(Kevin Hoffman & Dan Nemeth著 宋净超 吴迎松 徐蓓 马超 译),电子工业出版社,2017年6月出版
5757
- [Python云原生](https://jimmysong.io/posts/cloud-native-python/) - 使用Python和React构建云原生应用(Manish Sethi著,宋净超译),电子工业出版社,2018年6月出版
5858
- [云原生Java](https://jimmysong.io/posts/cloud-native-java/) - Spring Boot、Spring Cloud与Cloud Foundry弹性系统设计(Josh Long & Kenny Bastani著,张若飞 宋净超译 ),电子工业出版社,2018年7月出版
59+
- [未来架构——从服务化到云原生](https://jimmysong.io/posts/future-architecture-from-soa-to-cloud-native/) - 张亮 吴晟 敖小剑 宋净超 著,电子工业出版社,2019年2月出版
5960

6061
## 支持本书
6162

SUMMARY.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
* [Kubernetes中的网络](concepts/networking.md)
3232
* [Kubernetes中的网络解析——以flannel为例](concepts/flannel.md)
3333
* [Kubernetes中的网络解析——以calico为例](concepts/calico.md)
34+
* [具备API感知的网络和安全性管理开源软件Cilium](concepts/cilium.md)
35+
* [Cilium架构设计与概念解析](concepts/cilium-concepts.md)
3436
* [资源对象与基本概念解析](concepts/objects.md)
3537
* [Pod状态与生命周期管理](concepts/pod-state-and-lifecycle.md)
3638
* [Pod概览](concepts/pod-overview.md)
@@ -58,6 +60,7 @@
5860
* [CronJob](concepts/cronjob.md)
5961
* [Horizontal Pod Autoscaling](concepts/horizontal-pod-autoscaling.md)
6062
* [自定义指标HPA](concepts/custom-metrics-hpa.md)
63+
* [准入控制器(Admission Controller)](concepts/admission-controller.md)
6164
* [服务发现](concepts/service-discovery.md)
6265
* [Service](concepts/service.md)
6366
* [Ingress](concepts/ingress.md)
@@ -76,10 +79,12 @@
7679
* [本地持久化存储](concepts/local-persistent-storage.md)
7780
* [集群扩展](concepts/extension.md)
7881
* [使用自定义资源扩展API](concepts/custom-resource.md)
82+
* [使用CRD扩展Kubernetes API](concepts/crd.md)
7983
* [Aggregated API Server](concepts/aggregated-api-server.md)
8084
* [APIService](concepts/apiservice.md)
8185
* [Service Catalog](concepts/service-catalog.md)
8286
* [资源调度](concepts/scheduling.md)
87+
* [QoS(服务质量等级)](concepts/qos.md)
8388

8489
## 用户指南
8590

@@ -90,7 +95,7 @@
9095
* [Secret配置](guide/secret-configuration.md)
9196
* [管理namespace中的资源配额](guide/resource-quota-management.md)
9297
* [命令使用](guide/command-usage.md)
93-
* [docker用户过度到kubectl命令行指南](guide/docker-cli-to-kubectl.md)
98+
* [Docker用户过度到kubectl命令行指南](guide/docker-cli-to-kubectl.md)
9499
* [kubectl命令概览](guide/using-kubectl.md)
95100
* [kubectl命令技巧大全](guide/kubectl-cheatsheet.md)
96101
* [使用etcdctl访问kubernetes数据](guide/using-etcdctl-to-access-kubernetes-data.md)
@@ -132,7 +137,7 @@
132137
* [安装dashboard插件](practice/dashboard-addon-installation.md)
133138
* [安装heapster插件](practice/heapster-addon-installation.md)
134139
* [安装EFK插件](practice/efk-addon-installation.md)
135-
* [使用kubeadm快速构建测试集群](practice/install-kubernetes-with-kubeadm.md)
140+
* [生产级的Kubernetes简化管理工具kubeadm](practice/install-kubernetes-with-kubeadm.md)
136141
* [使用kubeadm在Ubuntu Server 16.04上快速构建测试集群](practice/install-kubernetes-on-ubuntu-server-16.04-with-kubeadm.md)
137142
* [服务发现与负载均衡](practice/service-discovery-and-loadbalancing.md)
138143
* [安装Traefik ingress](practice/traefik-ingress-installation.md)
@@ -155,12 +160,13 @@
155160
* [存储管理](practice/storage.md)
156161
* [GlusterFS](practice/glusterfs.md)
157162
* [使用GlusterFS做持久化存储](practice/using-glusterfs-for-persistent-storage.md)
158-
* [使用Heketi作为kubernetes的持久存储GlusterFS的external provisioner](practice/using-heketi-gluster-for-persistent-storage.md)
163+
* [使用Heketi作为Kubernetes的持久存储GlusterFS的external provisioner](practice/using-heketi-gluster-for-persistent-storage.md)
159164
* [在OpenShift中使用GlusterFS做持久化存储](practice/storage-for-containers-using-glusterfs-with-openshift.md)
160165
* [GlusterD-2.0](practice/glusterd-2.0.md)
161166
* [Ceph](practice/ceph.md)
162167
* [用Helm托管安装Ceph集群并提供后端存储](practice/ceph-helm-install-guide-zh.md)
163168
* [使用Ceph做持久化存储](practice/using-ceph-for-persistent-storage.md)
169+
* [使用rbd-provisioner提供rbd持久化存储](practice/rbd-provisioner.md)
164170
* [OpenEBS](practice/openebs.md)
165171
* [使用OpenEBS做持久化存储](practice/using-openebs-for-persistent-storage.md)
166172
* [Rook](practice/rook.md)
@@ -171,9 +177,12 @@
171177
* [使用Heapster获取集群和对象的metric数据](practice/using-heapster-to-get-object-metrics.md)
172178
* [Prometheus](practice/prometheus.md)
173179
* [使用Prometheus监控kubernetes集群](practice/using-prometheus-to-monitor-kuberentes-cluster.md)
180+
* [Prometheus查询语言PromQL使用说明](practice/promql.md)
174181
* [使用Vistio监控Istio服务网格中的流量](practice/vistio-visualize-your-istio-mesh.md)
182+
* [分布式跟踪](practice/distributed-tracing.md)
183+
* [OpenTracing](practice/opentracing.md)
175184
* [服务编排管理](practice/services-management-tool.md)
176-
* [使用Helm管理kubernetes应用](practice/helm.md)
185+
* [使用Helm管理Kubernetes应用](practice/helm.md)
177186
* [构建私有Chart仓库](practice/create-private-charts-repo.md)
178187
* [持续集成与发布](practice/ci-cd.md)
179188
* [使用Jenkins进行持续集成与发布](practice/jenkins-ci-cd.md)
@@ -218,6 +227,7 @@
218227
* [SOFAMesh](usecases/sofamesh.md)
219228
* [SOFAMesh中的Dubbo on x-protocol](usecases/dubbo-on-x-protocol-in-sofa-mesh.md)
220229
* [SOFAMosn](usecases/sofamosn.md)
230+
* [使用 SOFAMosn 构建 SOFAMesh](usecases/sofamosn-in-sofamesh.md)
221231
* [大数据](usecases/big-data.md)
222232
* [Spark standalone on Kubernetes](usecases/spark-standalone-on-kubernetes.md)
223233
* [运行支持Kubernetes原生调度的Spark程序](usecases/running-spark-with-kubernetes-native-scheduler.md)
@@ -233,11 +243,12 @@
233243
* [开发指南概览](develop/index.md)
234244
* [SIG和工作组](develop/sigs-and-working-group.md)
235245
* [开发环境搭建](develop/developing-environment.md)
236-
* [本地分布式开发环境搭建(使用Vagrant和Virtualbox)](develop/using-vagrant-and-virtualbox-for-development.md)
246+
* [本地分布式开发环境搭建(使用Vagrant和Virtualbox)](develop/using-vagrant-and-virtualbox-for-development.md)
237247
* [单元测试和集成测试](develop/testing.md)
238248
* [client-go示例](develop/client-go-sample.md)
239249
* [Operator](develop/operator.md)
240-
* [operator-sdk](develop/operator-sdk.md)
250+
* [operator-sdk](develop/operator-sdk.md)
251+
* [kubebuilder](develop/kubebuilder.md)
241252
* [高级开发指南](develop/advance-developer.md)
242253
* [社区贡献](develop/contribute.md)
243254
* [Minikube](develop/minikube.md)
@@ -257,6 +268,7 @@
257268
* [Kubernetes1.10更新日志](appendix/kubernetes-1.10-changelog.md)
258269
* [Kubernetes1.11更新日志](appendix/kubernetes-1.11-changelog.md)
259270
* [Kubernetes1.12更新日志](appendix/kubernetes-1.12-changelog.md)
271+
* [Kubernetes1.13更新日志](appendix/kubernetes-1.13-changelog.md)
260272
* [Kubernetes及云原生年度总结及展望](appendix/summary-and-outlook.md)
261273
* [Kubernetes与云原生2017年年终总结及2018年展望](appendix/kubernetes-and-cloud-native-summary-in-2017-and-outlook-for-2018.md)
262274
* [Kubernetes认证服务提供商(KCSP)说明](appendix/about-kcsp.md)
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Kubernetes 1.13 更新日志
2+
3+
2018年12月3日,Kubernetes 1.13发布,这是2018年发布的第四个也是最后一个大版本。该版本中最显著地改进包括:
4+
5+
- 使用 [kubeadm](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm/) 简化集群管理
6+
- [CSI](../concepts/csi.md)(容器存储接口),[查看 CSI 规范](https://github.com/container-storage-interface/spec)
7+
- [CoreDNS](https://github.com/coredns/coredns) 作为默认的 DNS
8+
9+
以上功能正式成为 GA(General Available)。
10+
11+
还有其他一些小的功能更新,例如:
12+
13+
- 支持第三方设备监控插件成为 alpha 功能。
14+
- kubelet 设备插件注册 GA。
15+
- 拓扑感知的 Volume 调度进入 stable。
16+
- APIServer DryRun 进入 beta。
17+
- kubectl diff 进入 beta。
18+
- 使用 PV 源的原始块设备进入 beta。
19+
20+
详细的更新日志请访问 [Kubernetes 1.13: Simplified Cluster Management with Kubeadm, Container Storage Interface (CSI), and CoreDNS as Default DNS are Now Generally Available](https://kubernetes.io/blog/2018/12/03/kubernetes-1-13-release-announcement/)
21+
22+
## 参考
23+
24+
- [Overview of kubeadm](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm/)
25+
- [Kubernetes 1.13: Simplified Cluster Management with Kubeadm, Container Storage Interface (CSI), and CoreDNS as Default DNS are Now Generally Available](https://kubernetes.io/blog/2018/12/03/kubernetes-1-13-release-announcement/)

book.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"Jimmy Song": "https://jimmysong.io",
99
"Awesome Cloud Native": "https://jimmysong.io/awesome-cloud-native",
1010
"ServiceMesher社区": "http://www.servicemesher.com",
11-
"Istio handbook - Istio 中文指南/服务网格实践手册": "https://jimmysong.io/istio-handbok",
11+
"Istio Handbook - Istio 中文指南/服务网格实践手册": "https://jimmysong.io/istio-handbook",
1212
"Awesome Service Mesh": "http://www.servicemesher.com/awesome-servicemesh",
1313
"Cloud Native Go - 基于Go和React的web云原生应用构建指南": "https://jimmysong.io/posts/cloud-native-go",
1414
"Cloud Native Python(Python云原生) - 使用Python和React构建云原生应用": "https://jimmysong.io/posts/cloud-native-python",
@@ -33,7 +33,8 @@
3333
"theme-default",
3434
"-highlight", "prism", "prism-themes",
3535
"sitemap-general",
36-
"lightbox"
36+
"lightbox",
37+
"adsense"
3738
],
3839
"pluginsConfig": {
3940
"theme-default": {
@@ -55,7 +56,7 @@
5556
"size": "small"
5657
},
5758
"tbfed-pagefooter": {
58-
"copyright": "<p><a href=https://github.com/alipay/sofa-mesh>SOFAMesh - 基于 Istio 的大规模服务网格解决方案</a> | <a href=https://github.com/alipay/sofa-mosn>SOFAMosn - Golang 版的高性能 Service Mesh Sidecar 代理</a></p>Copyright © jimmysong.io 2017-2018",
59+
"copyright": "<p><a href=https://github.com/alipay/sofa-mesh>SOFAMesh - 基于 Istio 的大规模服务网格解决方案</a> | <a href=https://github.com/alipay/sofa-mosn>SOFAMosn - Golang 版的高性能 Service Mesh Sidecar 代理</a></p><p><a href=https://ws4.sinaimg.cn/large/006tNbRwly1fw3ku0cwuhj304g056dgk.jpg data-lightbox=2fd927ee-fa64-4eca-8ed5-6bd72b573a3c>点击关注【云原生应用架构】公众号回复【加群】加入学习群</a> | <a href=https://ws1.sinaimg.cn/large/006tNbRwly1fw3fzx37obj30yi1pdk1r.jpg data-lightbox=2fd927ee-fa64-4eca-8ed5-6bd72b573a33>深入剖析 Kubernetes by 张磊</a></p>Copyright © <a href=https://jimmysong.io>jimmysong.io</a> 2017-2018",
5960
"modify_label": " Updated at ",
6061
"modify_format": "YYYY-MM-DD HH:mm:ss"
6162
},
@@ -73,6 +74,13 @@
7374
},
7475
"sitemap-general": {
7576
"prefix": "https://jimmysong.io/kubernetes-handbook/"
77+
},
78+
"adsense": {
79+
"client": "ca-pub-4029167986768912",
80+
"slot": "2445941692",
81+
"format": "auto",
82+
"element": ".page-inner section",
83+
"position": "bottom"
7684
}
7785
}
7886
}

cloud-native/cloud-native-local-quick-start.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,13 @@ Kiali是一个用于提供Istio service mesh观察性的项目,更多信息请
249249
kubectl apply -n istio-system -f addon/kiali
250250
```
251251

252-
![Kiali动画](https://github.com/rootsongjc/kubernetes-vagrant-centos-cluster/raw/master/images/kiali.gif)
252+
Kiali web地址:`http://172.17.8.101:31439`
253253

254-
**注意**:当前还不支持jeager追踪,请使用上文中提到的jeager地址。
254+
用户名/密码:admin/admin
255+
256+
![Kiali页面](https://github.com/rootsongjc/kubernetes-vagrant-centos-cluster/raw/master/images/kiali.gif)
257+
258+
**注意**:Kilia使用Jaeger做追踪,请不用屏蔽kilia页面的弹出窗口。
255259

256260
### Weave scope
257261

@@ -271,7 +275,7 @@ kubectl apply -f addon/weave-scope
271275

272276
现在打开浏览器,访问 `http://scope.weave.jimmysong.io/`
273277

274-
![Kiali动画](https://github.com/rootsongjc/kubernetes-vagrant-centos-cluster/raw/master/images/weave-scope-animation.gif)
278+
![Scope页面](https://github.com/rootsongjc/kubernetes-vagrant-centos-cluster/raw/master/images/weave-scope-animation.gif)
275279

276280
## 管理
277281

cloud-native/cncf.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ CNCF作为一个厂商中立的基金会,致力于Github上的快速成长的
66

77
下图是CNCF的全景图。
88

9-
![CNCF landscape](https://github.com/cncf/landscape/raw/master/landscape/CloudNativeLandscape_latest.png)
9+
![CNCF landscape](https://ws3.sinaimg.cn/large/006tNbRwly1fxmx633ymqj31dp0u0kjn.jpg)
10+
11+
该全景图不断更新中,原图请见:https://github.com/cncf/landscape
1012

1113
其中包含了CNCF中托管的项目,还有很多是非CNCF项目。
1214

cloud-native/kubernetes-and-cloud-native-app-overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Kubernetes是一个多租户的云平台,因此必须对用户的权限加以
338338

339339
Service Mesh现在一般被翻译作服务网格,目前主流的Service Mesh有如下几款:
340340

341-
* [Istio](https://istio.io):IBM、Google、Lyft共同开源,详细文档见[Istio官方文档中文版](http://istio.doczh.cn/)
341+
* [Istio](https://istio.io):IBM、Google、Lyft共同开源,详细文档见[Istio官方中文文档](https://istio.io/zh/)
342342
* [Linkerd](https://linkerd.io):原Twitter工程师开发,现为[CNCF](https://cncf.io)中的项目之一
343343
* [Envoy](https://www.envoyproxy.io/):Lyft开源的,可以在Istio中使用Sidecar模式运行
344344
* [Conduit](https://conduit.io):同样由Buoyant开源的轻量级的基于Kubernetes的Service Mesh
@@ -475,5 +475,5 @@ Spark原生支持standalone、mesos和YARN资源调度,现已支持Kubernetes
475475

476476
* [迁移到云原生应用架构指南](https://jimmysong.io/migrating-to-cloud-native-application-architectures)
477477
* [Cloud Native Go - 已由电子工业出版社出版](https://jimmysong.io/cloud-native-go)
478-
* [Cloud Native Python - 将由电子工业出版社出版](https://jimmysong.io/posts/cloud-native-python)
479-
* [Istio Service Mesh 中文文档](http://istio.doczh.cn/)
478+
* [Cloud Native Python - 已由电子工业出版社出版](https://jimmysong.io/posts/cloud-native-python)
479+
* [Istio Service Mesh 中文文档](https://istio.io/zh/)

0 commit comments

Comments
 (0)