2017-11-07 23:57:26 +08:00
<!DOCTYPE HTML>
< html lang = "zh-hans" >
< head >
< meta charset = "UTF-8" >
< meta content = "text/html; charset=utf-8" http-equiv = "Content-Type" >
2018-07-10 00:03:51 +08:00
< title > 安装和拓展Istio service mesh · Kubernetes Handbook - Kubernetes中文指南/云原生应用架构实践手册 by Jimmy Song(宋净超)< / title >
2017-11-07 23:57:26 +08:00
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" / >
< meta name = "description" content = "" >
2018-09-04 11:25:28 +08:00
< meta name = "generator" content = "GitBook 3.2.3" >
2018-07-10 00:03:51 +08:00
< meta name = "author" content = "Jimmy Song( 宋净超) " >
2017-11-07 23:57:26 +08:00
< link rel = "stylesheet" href = "../gitbook/style.css" >
< link rel = "stylesheet" href = "../gitbook/gitbook-plugin-splitter/splitter.css" >
< link rel = "stylesheet" href = "../gitbook/gitbook-plugin-page-toc-button/plugin.css" >
< link rel = "stylesheet" href = "../gitbook/gitbook-plugin-image-captions/image-captions.css" >
< link rel = "stylesheet" href = "../gitbook/gitbook-plugin-back-to-top-button/plugin.css" >
< link rel = "stylesheet" href = "../gitbook/gitbook-plugin-search-plus/search.css" >
< link rel = "stylesheet" href = "../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css" >
2018-02-20 18:00:08 +08:00
< link rel = "stylesheet" href = "../gitbook/gitbook-plugin-prism/prism-ghcolors.css" >
2017-11-07 23:57:26 +08:00
2018-09-25 22:13:40 +08:00
< link rel = "stylesheet" href = "../gitbook/gitbook-plugin-lightbox/lightbox.min.css" >
2017-11-07 23:57:26 +08:00
< link rel = "stylesheet" href = "../gitbook/gitbook-plugin-fontsettings/website.css" >
< meta name = "HandheldFriendly" content = "true" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1, user-scalable=no" >
< meta name = "apple-mobile-web-app-capable" content = "yes" >
< meta name = "apple-mobile-web-app-status-bar-style" content = "black" >
< link rel = "apple-touch-icon-precomposed" sizes = "152x152" href = "../gitbook/images/apple-touch-icon-precomposed-152.png" >
< link rel = "shortcut icon" href = "../gitbook/images/favicon.ico" type = "image/x-icon" >
< link rel = "next" href = "integrating-vms.html" / >
< link rel = "prev" href = "configuring-request-routing.html" / >
< link rel = "shortcut icon" href = '../favicon.ico' type = "image/x-icon" >
< link rel = "bookmark" href = '../favicon.ico' type = "image/x-icon" >
< style >
@media only screen and (max-width: 640px) {
.book-header .hidden-mobile {
display: none;
}
}
< / style >
< script >
window["gitbook-plugin-github-buttons"] = {"repo":"rootsongjc/kubernetes-handbook","types":["star"],"size":"small"};
< / script >
< / head >
< body >
< div class = "book" >
< div class = "book-summary" >
< div id = "book-search-input" role = "search" >
< input type = "text" placeholder = "输入并搜索" / >
< / div >
< nav role = "navigation" >
< ul class = "summary" >
< li >
2018-10-09 11:53:49 +08:00
< a href = "https://jimmysong.io/istio-handbook" target = "_blank" class = "custom-link" > Istio Handbook - Istio 中文指南/服务网格实践手册< / a >
2017-11-07 23:57:26 +08:00
< / li >
2018-07-08 19:42:31 +08:00
2018-09-27 15:26:19 +08:00
< li >
2018-09-27 22:16:53 +08:00
< a href = "https://jimmysong.io/posts/cloud-native-python" target = "_blank" class = "custom-link" > Cloud Native Python( Python云原生) - 使用Python和React构建云原生应用< / a >
2018-09-27 15:26:19 +08:00
< / li >
2018-07-08 19:42:31 +08:00
< li >
2018-09-26 15:11:22 +08:00
< a href = "http://www.servicemesher.com" target = "_blank" class = "custom-link" > ServiceMesher社区< / a >
< / li >
< li >
< a href = "https://github.com/alipay/sofa-mesh" target = "_blank" class = "custom-link" > SOFAMesh - 基于Istio的大规模服务网格解决方案< / a >
< / li >
< li >
< a href = "https://jimmysong.io/posts/cloud-native-java" target = "_blank" class = "custom-link" > Cloud Native Java( 云原生Java) - Spring Boot、Spring Cloud与Cloud Foundry弹性系统设计< / a >
2018-07-08 19:42:31 +08:00
< / li >
< li >
2018-09-26 15:11:22 +08:00
< a href = "https://github.com/alipay/sofa-mosn" target = "_blank" class = "custom-link" > SOFAMosn - Golang版的高性能Service Mesh Sidecar代理< / a >
2018-07-08 19:42:31 +08:00
< / li >
< li >
< a href = "http://www.servicemesher.com/awesome-servicemesh" target = "_blank" class = "custom-link" > Awesome Service Mesh< / a >
< / li >
< li >
2018-09-26 15:11:22 +08:00
< a href = "https://jimmysong.io" target = "_blank" class = "custom-link" > Jimmy Song< / a >
2018-07-08 19:42:31 +08:00
< / li >
< li >
2018-09-26 15:11:22 +08:00
< a href = "https://jimmysong.io/awesome-cloud-native" target = "_blank" class = "custom-link" > Awesome Cloud Native< / a >
2018-07-08 19:42:31 +08:00
< / li >
< li >
2018-09-26 15:11:22 +08:00
< a href = "https://jimmysong.io/posts/cloud-native-go" target = "_blank" class = "custom-link" > Cloud Native Go - 基于Go和React的web云原生应用构建指南< / a >
2018-07-08 19:42:31 +08:00
< / li >
2017-11-07 23:57:26 +08:00
< li class = "divider" > < / li >
2017-11-15 21:18:59 +08:00
< li class = "header" > 前言< / li >
2017-11-07 23:57:26 +08:00
< li class = "chapter " data-level = "1.1" data-path = "../" >
< a href = "../" >
2017-11-15 21:18:59 +08:00
< b > 1.1.< / b >
2017-11-07 23:57:26 +08:00
序言
< / a >
2018-03-04 18:01:35 +08:00
< / li >
2018-07-09 23:08:11 +08:00
< li class = "header" > 云原生< / li >
< li class = "chapter " data-level = "2.1" data-path = "../cloud-native/cloud-native-definition.html" >
2018-03-04 18:01:35 +08:00
2018-07-09 23:08:11 +08:00
< a href = "../cloud-native/cloud-native-definition.html" >
2018-03-04 18:01:35 +08:00
2018-07-09 23:08:11 +08:00
< b > 2.1.< / b >
2018-03-04 18:01:35 +08:00
2019-01-02 15:03:13 +08:00
云原生( Cloud Native) 的定义
2018-03-04 18:01:35 +08:00
< / a >
2017-11-07 23:57:26 +08:00
< / li >
2018-07-09 23:08:11 +08:00
< li class = "chapter " data-level = "2.2" data-path = "../cloud-native/cncf.html" >
< a href = "../cloud-native/cncf.html" >
< b > 2.2.< / b >
CNCF - 云原生计算基金会简介
< / a >
2017-12-20 17:27:16 +08:00
2018-07-09 23:08:11 +08:00
< / li >
2017-12-20 17:27:16 +08:00
2018-07-09 23:08:11 +08:00
< li class = "chapter " data-level = "2.3" data-path = "../cloud-native/cncf-charter.html" >
2017-11-07 23:57:26 +08:00
2018-07-09 23:08:11 +08:00
< a href = "../cloud-native/cncf-charter.html" >
2017-11-07 23:57:26 +08:00
2018-07-09 23:08:11 +08:00
< b > 2.3.< / b >
2017-11-15 21:18:59 +08:00
2018-07-09 23:08:11 +08:00
CNCF章程
2018-07-08 19:42:31 +08:00
< / a >
< / li >
2018-09-26 22:42:09 +08:00
< li class = "chapter " data-level = "2.4" data-path = "../cloud-native/cloud-native-philosophy.html" >
2018-07-08 19:42:31 +08:00
2018-09-26 22:42:09 +08:00
< a href = "../cloud-native/cloud-native-philosophy.html" >
2018-07-08 19:42:31 +08:00
2018-07-09 23:08:11 +08:00
< b > 2.4.< / b >
2018-07-08 19:42:31 +08:00
2018-09-26 22:42:09 +08:00
云原生的设计哲学
< / a >
< / li >
< li class = "chapter " data-level = "2.5" data-path = "../cloud-native/play-with-kubernetes.html" >
< a href = "../cloud-native/play-with-kubernetes.html" >
< b > 2.5.< / b >
2018-01-21 20:30:36 +08:00
Play with Kubernetes
< / a >
< / li >
2018-09-26 22:42:09 +08:00
< li class = "chapter " data-level = "2.6" data-path = "../cloud-native/cloud-native-local-quick-start.html" >
2018-07-08 19:42:31 +08:00
< a href = "../cloud-native/cloud-native-local-quick-start.html" >
2018-09-26 22:42:09 +08:00
< b > 2.6.< / b >
2018-07-08 19:42:31 +08:00
快速部署一个云原生本地实验环境
< / a >
< / li >
2018-09-26 22:42:09 +08:00
< li class = "chapter " data-level = "2.7" data-path = "../cloud-native/kubernetes-and-cloud-native-app-overview.html" >
2018-01-21 20:30:36 +08:00
< a href = "../cloud-native/kubernetes-and-cloud-native-app-overview.html" >
2018-09-26 22:42:09 +08:00
< b > 2.7.< / b >
2018-01-21 20:30:36 +08:00
2017-11-15 21:18:59 +08:00
Kubernetes与云原生应用概览
2017-11-07 23:57:26 +08:00
< / a >
2017-12-20 19:27:32 +08:00
< / li >
2018-09-26 22:42:09 +08:00
< li class = "chapter " data-level = "2.8" data-path = "../cloud-native/from-kubernetes-to-cloud-native.html" >
2017-12-20 19:27:32 +08:00
< a href = "../cloud-native/from-kubernetes-to-cloud-native.html" >
2018-09-26 22:42:09 +08:00
< b > 2.8.< / b >
2017-12-20 19:27:32 +08:00
云原生应用之路——从Kubernetes到Cloud Native
< / a >
2018-05-12 23:29:42 +08:00
< / li >
2018-09-26 22:42:09 +08:00
< li class = "chapter " data-level = "2.9" data-path = "../cloud-native/cloud-native-programming-languages.html" >
2018-05-12 23:29:42 +08:00
2018-06-24 21:35:14 +08:00
< a href = "../cloud-native/cloud-native-programming-languages.html" >
2018-05-12 23:29:42 +08:00
2018-09-26 22:42:09 +08:00
< b > 2.9.< / b >
2018-05-12 23:29:42 +08:00
2018-06-24 21:35:14 +08:00
云原生编程语言
< / a >
< ul class = "articles" >
2018-09-26 22:42:09 +08:00
< li class = "chapter " data-level = "2.9.1" data-path = "../cloud-native/cloud-native-programming-language-ballerina.html" >
2018-06-24 21:35:14 +08:00
< a href = "../cloud-native/cloud-native-programming-language-ballerina.html" >
2018-09-26 22:42:09 +08:00
< b > 2.9.1.< / b >
2018-06-24 21:35:14 +08:00
2018-05-12 23:29:42 +08:00
云原生编程语言Ballerina
< / a >
2018-06-24 21:35:14 +08:00
< / li >
2018-09-26 22:42:09 +08:00
< li class = "chapter " data-level = "2.9.2" data-path = "../cloud-native/cloud-native-programming-language-pulumi.html" >
2018-06-24 21:35:14 +08:00
< a href = "../cloud-native/cloud-native-programming-language-pulumi.html" >
2018-09-26 22:42:09 +08:00
< b > 2.9.2.< / b >
2018-06-24 21:35:14 +08:00
云原生编程语言Pulumi
< / a >
< / li >
< / ul >
2018-06-02 11:26:58 +08:00
< / li >
2018-09-26 22:42:09 +08:00
< li class = "chapter " data-level = "2.10" data-path = "../cloud-native/the-future-of-cloud-native.html" >
2018-06-02 11:26:58 +08:00
< a href = "../cloud-native/the-future-of-cloud-native.html" >
2018-09-26 22:42:09 +08:00
< b > 2.10.< / b >
2018-06-02 11:26:58 +08:00
云原生的未来
< / a >
2017-11-07 23:57:26 +08:00
< / li >
2017-11-15 21:18:59 +08:00
< li class = "header" > 概念与原理< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "3.1" data-path = "../concepts/" >
2017-11-07 23:57:26 +08:00
< a href = "../concepts/" >
2017-12-20 17:27:16 +08:00
< b > 3.1.< / b >
2017-11-15 21:18:59 +08:00
Kubernetes架构
2017-11-07 23:57:26 +08:00
< / a >
2018-01-22 14:25:36 +08:00
< ul class = "articles" >
2018-01-30 12:30:58 +08:00
< li class = "chapter " data-level = "3.1.1" data-path = "../concepts/concepts.html" >
2018-01-22 14:25:36 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/concepts.html" >
2018-01-22 14:25:36 +08:00
< b > 3.1.1.< / b >
2018-01-30 12:30:58 +08:00
设计理念
< / a >
< / li >
< li class = "chapter " data-level = "3.1.2" data-path = "../concepts/etcd.html" >
< a href = "../concepts/etcd.html" >
< b > 3.1.2.< / b >
2018-01-22 14:25:36 +08:00
Etcd解析
< / a >
2018-01-22 15:48:09 +08:00
< / li >
2018-01-30 12:30:58 +08:00
< li class = "chapter " data-level = "3.1.3" data-path = "../concepts/open-interfaces.html" >
2018-01-22 15:48:09 +08:00
< a href = "../concepts/open-interfaces.html" >
2018-01-30 12:30:58 +08:00
< b > 3.1.3.< / b >
2018-01-22 15:48:09 +08:00
开放接口
< / a >
2018-01-22 18:55:50 +08:00
< ul class = "articles" >
2018-01-30 12:30:58 +08:00
< li class = "chapter " data-level = "3.1.3.1" data-path = "../concepts/cri.html" >
2018-01-22 18:55:50 +08:00
< a href = "../concepts/cri.html" >
2018-01-30 12:30:58 +08:00
< b > 3.1.3.1.< / b >
2018-01-22 18:55:50 +08:00
CRI - Container Runtime Interface( 容器运行时接口)
< / a >
2018-01-24 18:11:17 +08:00
< / li >
2018-01-30 12:30:58 +08:00
< li class = "chapter " data-level = "3.1.3.2" data-path = "../concepts/cni.html" >
2018-01-24 18:11:17 +08:00
< a href = "../concepts/cni.html" >
2018-01-30 12:30:58 +08:00
< b > 3.1.3.2.< / b >
2018-01-24 18:11:17 +08:00
CNI - Container Network Interface( 容器网络接口)
< / a >
2018-01-25 17:06:10 +08:00
< / li >
2018-01-30 12:30:58 +08:00
< li class = "chapter " data-level = "3.1.3.3" data-path = "../concepts/csi.html" >
2018-01-25 17:06:10 +08:00
< a href = "../concepts/csi.html" >
2018-01-30 12:30:58 +08:00
< b > 3.1.3.3.< / b >
2018-01-25 17:06:10 +08:00
CSI - Container Storage Interface( 容器存储接口)
< / a >
2018-01-22 18:55:50 +08:00
< / li >
< / ul >
2018-02-05 22:14:09 +08:00
< / li >
2018-03-12 17:48:23 +08:00
< / ul >
< / li >
2018-07-08 19:42:31 +08:00
< li class = "chapter " data-level = "3.2" data-path = "../concepts/networking.html" >
2018-03-12 17:48:23 +08:00
2018-07-08 19:42:31 +08:00
< a href = "../concepts/networking.html" >
2018-03-12 17:48:23 +08:00
< b > 3.2.< / b >
Kubernetes中的网络
2018-07-08 19:42:31 +08:00
< / a >
2018-03-12 17:48:23 +08:00
< ul class = "articles" >
2018-07-08 19:42:31 +08:00
< li class = "chapter " data-level = "3.2.1" data-path = "../concepts/flannel.html" >
2018-02-05 22:14:09 +08:00
2018-07-08 19:42:31 +08:00
< a href = "../concepts/flannel.html" >
2018-02-05 22:14:09 +08:00
2018-03-12 17:48:23 +08:00
< b > 3.2.1.< / b >
2018-02-05 22:14:09 +08:00
Kubernetes中的网络解析——以flannel为例
< / a >
2018-01-22 14:25:36 +08:00
< / li >
2018-03-12 17:48:23 +08:00
< li class = "chapter " data-level = "3.2.2" data-path = "../concepts/calico.html" >
2017-11-07 23:57:26 +08:00
2018-02-09 18:24:23 +08:00
< a href = "../concepts/calico.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 17:48:23 +08:00
< b > 3.2.2.< / b >
2017-11-15 21:18:59 +08:00
2018-02-09 18:24:23 +08:00
Kubernetes中的网络解析——以calico为例
< / a >
2018-10-30 21:14:20 +08:00
< / li >
< li class = "chapter " data-level = "3.2.3" data-path = "../concepts/cilium.html" >
< a href = "../concepts/cilium.html" >
< b > 3.2.3.< / b >
具备API感知的网络和安全性管理开源软件Cilium
< / a >
2018-11-08 16:09:05 +08:00
< ul class = "articles" >
< li class = "chapter " data-level = "3.2.3.1" data-path = "../concepts/cilium-concepts.html" >
< a href = "../concepts/cilium-concepts.html" >
< b > 3.2.3.1.< / b >
Cilium架构设计与概念解析
< / a >
< / li >
< / ul >
2018-02-09 18:24:23 +08:00
< / li >
2018-03-12 17:48:23 +08:00
< / ul >
< / li >
< li class = "chapter " data-level = "3.3" data-path = "../concepts/objects.html" >
2018-02-09 18:24:23 +08:00
< a href = "../concepts/objects.html" >
2018-03-12 17:48:23 +08:00
< b > 3.3.< / b >
2018-02-09 18:24:23 +08:00
2018-01-30 12:30:58 +08:00
资源对象与基本概念解析
2017-11-07 23:57:26 +08:00
< / a >
2018-03-12 17:48:23 +08:00
< / li >
2017-11-07 23:57:26 +08:00
2018-03-12 17:48:23 +08:00
< li class = "chapter " data-level = "3.4" data-path = "../concepts/pod-state-and-lifecycle.html" >
2017-11-07 23:57:26 +08:00
2018-02-06 16:51:29 +08:00
< a href = "../concepts/pod-state-and-lifecycle.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 17:48:23 +08:00
< b > 3.4.< / b >
2017-11-15 21:18:59 +08:00
2018-02-06 16:51:29 +08:00
Pod状态与生命周期管理
2017-11-07 23:57:26 +08:00
< / a >
2018-03-12 17:48:23 +08:00
< ul class = "articles" >
2017-11-07 23:57:26 +08:00
2018-03-12 17:48:23 +08:00
< li class = "chapter " data-level = "3.4.1" data-path = "../concepts/pod-overview.html" >
2017-11-07 23:57:26 +08:00
< a href = "../concepts/pod-overview.html" >
2018-03-12 17:48:23 +08:00
< b > 3.4.1.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
Pod概览
2017-11-07 23:57:26 +08:00
< / a >
2018-01-30 12:30:58 +08:00
< / li >
2017-11-07 23:57:26 +08:00
2018-03-12 17:48:23 +08:00
< li class = "chapter " data-level = "3.4.2" data-path = "../concepts/pod.html" >
2017-11-07 23:57:26 +08:00
< a href = "../concepts/pod.html" >
2018-03-12 17:48:23 +08:00
< b > 3.4.2.< / b >
2017-11-15 21:18:59 +08:00
Pod解析
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-03-12 17:48:23 +08:00
< li class = "chapter " data-level = "3.4.3" data-path = "../concepts/init-containers.html" >
2017-11-07 23:57:26 +08:00
< a href = "../concepts/init-containers.html" >
2018-03-12 17:48:23 +08:00
< b > 3.4.3.< / b >
2017-11-15 21:18:59 +08:00
Init容器
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-03-17 22:22:27 +08:00
< li class = "chapter " data-level = "3.4.4" data-path = "../concepts/pause-container.html" >
2017-11-07 23:57:26 +08:00
2018-03-17 22:22:27 +08:00
< a href = "../concepts/pause-container.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 17:48:23 +08:00
< b > 3.4.4.< / b >
2017-11-15 21:18:59 +08:00
2018-03-17 22:22:27 +08:00
Pause容器
< / a >
< / li >
< li class = "chapter " data-level = "3.4.5" data-path = "../concepts/pod-security-policy.html" >
< a href = "../concepts/pod-security-policy.html" >
< b > 3.4.5.< / b >
2017-11-15 21:18:59 +08:00
Pod安全策略
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-03-17 22:22:27 +08:00
< li class = "chapter " data-level = "3.4.6" data-path = "../concepts/pod-lifecycle.html" >
2017-11-07 23:57:26 +08:00
< a href = "../concepts/pod-lifecycle.html" >
2018-03-17 22:22:27 +08:00
< b > 3.4.6.< / b >
2017-11-15 21:18:59 +08:00
Pod的生命周期
2017-11-07 23:57:26 +08:00
< / a >
2017-11-24 22:59:46 +08:00
< / li >
2018-03-17 22:22:27 +08:00
< li class = "chapter " data-level = "3.4.7" data-path = "../concepts/pod-hook.html" >
2017-11-24 22:59:46 +08:00
< a href = "../concepts/pod-hook.html" >
2018-03-17 22:22:27 +08:00
< b > 3.4.7.< / b >
2017-11-24 22:59:46 +08:00
2017-12-27 12:29:33 +08:00
Pod Hook
2017-11-24 22:59:46 +08:00
< / a >
2017-12-11 10:47:19 +08:00
< / li >
2018-03-17 22:22:27 +08:00
< li class = "chapter " data-level = "3.4.8" data-path = "../concepts/pod-preset.html" >
2017-12-11 10:47:19 +08:00
< a href = "../concepts/pod-preset.html" >
2018-03-17 22:22:27 +08:00
< b > 3.4.8.< / b >
2017-12-11 10:47:19 +08:00
Pod Preset
< / a >
2018-01-30 12:30:58 +08:00
< / li >
2018-03-17 22:22:27 +08:00
< li class = "chapter " data-level = "3.4.9" data-path = "../concepts/pod-disruption-budget.html" >
2018-01-30 12:30:58 +08:00
< a href = "../concepts/pod-disruption-budget.html" >
2018-03-17 22:22:27 +08:00
< b > 3.4.9.< / b >
2018-01-30 12:30:58 +08:00
Pod中断与PDB( Pod中断预算)
< / a >
2018-03-12 18:00:25 +08:00
< / li >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< / ul >
< / li >
< li class = "chapter " data-level = "3.5" data-path = "../concepts/cluster.html" >
2018-01-30 12:30:58 +08:00
< a href = "../concepts/cluster.html" >
2018-03-12 18:00:25 +08:00
< b > 3.5.< / b >
2018-01-30 12:30:58 +08:00
2018-03-12 17:48:23 +08:00
集群资源管理
2018-01-30 12:30:58 +08:00
< / a >
2018-03-12 18:00:25 +08:00
< ul class = "articles" >
2018-01-30 12:30:58 +08:00
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.5.1" data-path = "../concepts/node.html" >
2017-11-07 23:57:26 +08:00
< a href = "../concepts/node.html" >
2018-03-12 18:00:25 +08:00
< b > 3.5.1.< / b >
2017-11-15 21:18:59 +08:00
Node
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.5.2" data-path = "../concepts/namespace.html" >
2017-11-07 23:57:26 +08:00
< a href = "../concepts/namespace.html" >
2018-03-12 18:00:25 +08:00
< b > 3.5.2.< / b >
2017-11-15 21:18:59 +08:00
Namespace
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.5.3" data-path = "../concepts/label.html" >
2017-11-07 23:57:26 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/label.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.5.3.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
Label
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.5.4" data-path = "../concepts/annotation.html" >
2017-11-07 23:57:26 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/annotation.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.5.4.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
Annotation
2017-11-07 23:57:26 +08:00
< / a >
2018-01-25 15:01:14 +08:00
< / li >
2018-01-08 17:26:29 +08:00
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.5.5" data-path = "../concepts/taint-and-toleration.html" >
2018-01-08 17:26:29 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/taint-and-toleration.html" >
2018-01-08 17:26:29 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.5.5.< / b >
2018-01-08 17:26:29 +08:00
2018-01-30 12:30:58 +08:00
Taint和Toleration( 污点和容忍)
2018-01-08 17:26:29 +08:00
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.5.6" data-path = "../concepts/garbage-collection.html" >
2017-11-07 23:57:26 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/garbage-collection.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.5.6.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
垃圾收集
2017-11-07 23:57:26 +08:00
< / a >
2018-03-12 18:00:25 +08:00
< / li >
2018-01-30 12:30:58 +08:00
2018-03-12 18:00:25 +08:00
< / ul >
< / li >
< li class = "chapter " data-level = "3.6" data-path = "../concepts/controllers.html" >
2018-01-30 12:30:58 +08:00
< a href = "../concepts/controllers.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.6.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
控制器
2017-11-07 23:57:26 +08:00
< / a >
2018-03-12 18:00:25 +08:00
< ul class = "articles" >
2018-03-12 17:48:23 +08:00
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.6.1" data-path = "../concepts/deployment.html" >
2017-11-07 23:57:26 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/deployment.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.6.1.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
Deployment
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.6.2" data-path = "../concepts/statefulset.html" >
2017-11-07 23:57:26 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/statefulset.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.6.2.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
StatefulSet
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.6.3" data-path = "../concepts/daemonset.html" >
2017-11-07 23:57:26 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/daemonset.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.6.3.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
DaemonSet
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.6.4" data-path = "../concepts/replicaset.html" >
2017-11-07 23:57:26 +08:00
< a href = "../concepts/replicaset.html" >
2018-03-12 18:00:25 +08:00
< b > 3.6.4.< / b >
2017-11-15 21:18:59 +08:00
ReplicationController和ReplicaSet
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.6.5" data-path = "../concepts/job.html" >
2017-11-07 23:57:26 +08:00
< a href = "../concepts/job.html" >
2018-03-12 18:00:25 +08:00
< b > 3.6.5.< / b >
2017-11-15 21:18:59 +08:00
Job
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.6.6" data-path = "../concepts/cronjob.html" >
2017-11-07 23:57:26 +08:00
< a href = "../concepts/cronjob.html" >
2018-03-12 18:00:25 +08:00
< b > 3.6.6.< / b >
2017-11-15 21:18:59 +08:00
CronJob
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.6.7" data-path = "../concepts/horizontal-pod-autoscaling.html" >
2017-11-07 23:57:26 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/horizontal-pod-autoscaling.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.6.7.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
Horizontal Pod Autoscaling
2017-11-07 23:57:26 +08:00
< / a >
2017-11-30 16:59:17 +08:00
< ul class = "articles" >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.6.7.1" data-path = "../concepts/custom-metrics-hpa.html" >
2017-11-30 16:59:17 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/custom-metrics-hpa.html" >
2017-11-30 16:59:17 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.6.7.1.< / b >
2017-11-30 16:59:17 +08:00
2018-01-30 12:30:58 +08:00
自定义指标HPA
2017-11-30 16:59:17 +08:00
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< / ul >
2018-10-09 19:20:30 +08:00
< / li >
< li class = "chapter " data-level = "3.6.8" data-path = "../concepts/admission-controller.html" >
< a href = "../concepts/admission-controller.html" >
< b > 3.6.8.< / b >
准入控制器( Admission Controller)
< / a >
2018-03-12 18:00:25 +08:00
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "3.7" data-path = "../concepts/service-discovery.html" >
2017-11-07 23:57:26 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/service-discovery.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.7.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
服务发现
2017-11-07 23:57:26 +08:00
< / a >
2018-03-12 18:00:25 +08:00
< ul class = "articles" >
2017-11-08 19:28:16 +08:00
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.7.1" data-path = "../concepts/service.html" >
2017-11-08 19:28:16 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/service.html" >
2017-11-08 19:28:16 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.7.1.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
Service
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.7.2" data-path = "../concepts/ingress.html" >
2018-01-30 12:30:58 +08:00
< a href = "../concepts/ingress.html" >
2018-03-12 18:00:25 +08:00
< b > 3.7.2.< / b >
2018-01-30 12:30:58 +08:00
Ingress
< / a >
< ul class = "articles" >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.7.2.1" data-path = "../concepts/traefik-ingress-controller.html" >
2018-01-30 12:30:58 +08:00
< a href = "../concepts/traefik-ingress-controller.html" >
2018-03-12 18:00:25 +08:00
< b > 3.7.2.1.< / b >
2018-01-30 12:30:58 +08:00
Traefik Ingress Controller
2017-11-08 19:28:16 +08:00
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< / ul >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "3.8" data-path = "../concepts/authentication-and-permission.html" >
2018-01-30 12:30:58 +08:00
< a href = "../concepts/authentication-and-permission.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.8.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
身份与权限控制
2017-11-07 23:57:26 +08:00
< / a >
2018-03-12 18:00:25 +08:00
< ul class = "articles" >
2018-03-12 17:48:23 +08:00
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.8.1" data-path = "../concepts/serviceaccount.html" >
2017-11-27 19:36:05 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/serviceaccount.html" >
2017-11-27 19:36:05 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.8.1.< / b >
2017-11-27 19:36:05 +08:00
2018-01-30 12:30:58 +08:00
ServiceAccount
2017-11-27 19:36:05 +08:00
< / a >
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.8.2" data-path = "../concepts/rbac.html" >
2018-01-30 12:30:58 +08:00
< a href = "../concepts/rbac.html" >
2018-03-12 18:00:25 +08:00
< b > 3.8.2.< / b >
2018-01-30 12:30:58 +08:00
RBAC——基于角色的访问控制
< / a >
2017-11-27 19:36:05 +08:00
2017-11-07 23:57:26 +08:00
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.8.3" data-path = "../concepts/network-policy.html" >
2017-11-07 23:57:26 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/network-policy.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.8.3.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
NetworkPolicy
2017-11-07 23:57:26 +08:00
< / a >
2018-03-12 18:00:25 +08:00
< / li >
< / ul >
< / li >
2018-01-30 12:30:58 +08:00
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.9" data-path = "../concepts/storage.html" >
2018-01-30 12:30:58 +08:00
< a href = "../concepts/storage.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.9.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
存储
2017-11-07 23:57:26 +08:00
< / a >
2018-03-12 18:00:25 +08:00
< ul class = "articles" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.9.1" data-path = "../concepts/secret.html" >
2017-11-07 23:57:26 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/secret.html" >
2017-11-07 23:57:26 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.9.1.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
Secret
2017-11-07 23:57:26 +08:00
< / a >
2017-11-09 16:48:38 +08:00
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.9.2" data-path = "../concepts/configmap.html" >
2017-11-09 16:48:38 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/configmap.html" >
2017-11-09 16:48:38 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.9.2.< / b >
2017-11-15 21:18:59 +08:00
2018-01-30 12:30:58 +08:00
ConfigMap
< / a >
< ul class = "articles" >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.9.2.1" data-path = "../concepts/configmap-hot-update.html" >
2018-01-30 12:30:58 +08:00
< a href = "../concepts/configmap-hot-update.html" >
2018-03-12 18:00:25 +08:00
< b > 3.9.2.1.< / b >
2018-01-30 12:30:58 +08:00
ConfigMap的热更新
2017-11-09 16:48:38 +08:00
< / a >
2017-11-27 19:36:05 +08:00
< / li >
2018-01-30 12:30:58 +08:00
< / ul >
2017-11-27 19:36:05 +08:00
2018-01-30 12:30:58 +08:00
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.9.3" data-path = "../concepts/volume.html" >
2018-01-30 12:30:58 +08:00
< a href = "../concepts/volume.html" >
2017-11-27 19:36:05 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.9.3.< / b >
2017-11-27 19:36:05 +08:00
2018-01-30 12:30:58 +08:00
Volume
2017-11-27 19:36:05 +08:00
< / a >
2017-11-28 11:57:57 +08:00
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.9.4" data-path = "../concepts/persistent-volume.html" >
2017-11-28 11:57:57 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/persistent-volume.html" >
2017-11-28 11:57:57 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.9.4.< / b >
2017-11-28 11:57:57 +08:00
2018-01-30 12:30:58 +08:00
Persistent Volume( 持久化卷)
2017-11-28 11:57:57 +08:00
< / a >
2018-01-30 18:01:34 +08:00
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.9.5" data-path = "../concepts/storageclass.html" >
2018-01-30 18:01:34 +08:00
< a href = "../concepts/storageclass.html" >
2018-03-12 18:00:25 +08:00
< b > 3.9.5.< / b >
2018-01-30 18:01:34 +08:00
Storage Class
< / a >
2018-04-17 20:16:17 +08:00
< / li >
< li class = "chapter " data-level = "3.9.6" data-path = "../concepts/local-persistent-storage.html" >
< a href = "../concepts/local-persistent-storage.html" >
< b > 3.9.6.< / b >
本地持久化存储
< / a >
2018-03-12 18:00:25 +08:00
< / li >
2018-01-30 12:30:58 +08:00
2018-03-12 18:00:25 +08:00
< / ul >
< / li >
< li class = "chapter " data-level = "3.10" data-path = "../concepts/extension.html" >
2018-01-30 12:30:58 +08:00
< a href = "../concepts/extension.html" >
2017-12-14 19:41:46 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.10.< / b >
2017-12-14 19:41:46 +08:00
2018-03-12 17:48:23 +08:00
集群扩展
2018-01-30 12:30:58 +08:00
< / a >
2018-03-12 18:00:25 +08:00
< ul class = "articles" >
2018-01-30 12:30:58 +08:00
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.10.1" data-path = "../concepts/custom-resource.html" >
2018-01-30 12:30:58 +08:00
< a href = "../concepts/custom-resource.html" >
2018-03-12 18:00:25 +08:00
< b > 3.10.1.< / b >
2018-01-30 12:30:58 +08:00
使用自定义资源扩展API
2017-12-14 19:41:46 +08:00
< / a >
2018-01-10 17:30:31 +08:00
< / li >
2018-11-01 17:58:26 +08:00
< li class = "chapter " data-level = "3.10.2" data-path = "../concepts/crd.html" >
2018-01-10 17:30:31 +08:00
2018-11-01 17:58:26 +08:00
< a href = "../concepts/crd.html" >
2018-01-10 17:30:31 +08:00
2018-03-12 18:00:25 +08:00
< b > 3.10.2.< / b >
2018-01-10 17:30:31 +08:00
2018-11-01 17:58:26 +08:00
使用CRD扩展Kubernetes API
< / a >
< / li >
< li class = "chapter " data-level = "3.10.3" data-path = "../concepts/aggregated-api-server.html" >
< a href = "../concepts/aggregated-api-server.html" >
< b > 3.10.3.< / b >
2018-01-30 12:30:58 +08:00
Aggregated API Server
2018-01-10 17:30:31 +08:00
< / a >
2018-01-19 17:02:44 +08:00
< / li >
2018-11-01 17:58:26 +08:00
< li class = "chapter " data-level = "3.10.4" data-path = "../concepts/apiservice.html" >
2018-01-19 17:02:44 +08:00
2018-01-30 12:30:58 +08:00
< a href = "../concepts/apiservice.html" >
2018-01-19 17:02:44 +08:00
2018-11-01 17:58:26 +08:00
< b > 3.10.4.< / b >
2018-01-19 17:02:44 +08:00
2018-01-30 12:30:58 +08:00
APIService
2018-01-19 17:02:44 +08:00
< / a >
2018-04-22 21:36:38 +08:00
< / li >
2018-11-01 17:58:26 +08:00
< li class = "chapter " data-level = "3.10.5" data-path = "../concepts/service-catalog.html" >
2018-04-22 21:36:38 +08:00
< a href = "../concepts/service-catalog.html" >
2018-11-01 17:58:26 +08:00
< b > 3.10.5.< / b >
2018-04-22 21:36:38 +08:00
Service Catalog
< / a >
2017-11-07 23:57:26 +08:00
< / li >
< / ul >
< / li >
2018-03-12 18:00:25 +08:00
< li class = "chapter " data-level = "3.11" data-path = "../concepts/scheduling.html" >
2018-03-12 17:48:23 +08:00
< a href = "../concepts/scheduling.html" >
2018-03-12 18:00:25 +08:00
< b > 3.11.< / b >
2018-03-12 17:48:23 +08:00
资源调度
< / a >
2017-11-07 23:57:26 +08:00
2018-01-30 12:30:58 +08:00
2018-10-09 11:53:49 +08:00
< ul class = "articles" >
< li class = "chapter " data-level = "3.11.1" data-path = "../concepts/qos.html" >
< a href = "../concepts/qos.html" >
< b > 3.11.1.< / b >
QoS( 服务质量等级)
< / a >
< / li >
< / ul >
2018-01-30 12:30:58 +08:00
< / li >
2017-11-07 23:57:26 +08:00
2017-11-15 21:18:59 +08:00
< li class = "header" > 用户指南< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.1" data-path = "../guide/" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/" >
2017-12-20 17:27:16 +08:00
< b > 4.1.< / b >
2017-11-15 21:18:59 +08:00
用户指南
2017-11-07 23:57:26 +08:00
< / a >
2017-11-15 21:18:59 +08:00
< / li >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.2" data-path = "../guide/resource-configuration.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/resource-configuration.html" >
2017-12-20 17:27:16 +08:00
< b > 4.2.< / b >
2017-11-15 21:18:59 +08:00
资源对象配置
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.2.1" data-path = "../guide/configure-liveness-readiness-probes.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/configure-liveness-readiness-probes.html" >
2017-12-20 17:27:16 +08:00
< b > 4.2.1.< / b >
2017-11-15 21:18:59 +08:00
配置Pod的liveness和readiness探针
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.2.2" data-path = "../guide/configure-pod-service-account.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/configure-pod-service-account.html" >
2017-12-20 17:27:16 +08:00
< b > 4.2.2.< / b >
2017-11-15 21:18:59 +08:00
配置Pod的Service Account
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.2.3" data-path = "../guide/secret-configuration.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/secret-configuration.html" >
2017-12-20 17:27:16 +08:00
< b > 4.2.3.< / b >
2017-11-15 21:18:59 +08:00
Secret配置
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.2.4" data-path = "../guide/resource-quota-management.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/resource-quota-management.html" >
2017-12-20 17:27:16 +08:00
< b > 4.2.4.< / b >
2017-11-15 21:18:59 +08:00
管理namespace中的资源配额
2017-11-07 23:57:26 +08:00
< / a >
< / li >
< / ul >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.3" data-path = "../guide/command-usage.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/command-usage.html" >
2017-12-20 17:27:16 +08:00
< b > 4.3.< / b >
2017-11-15 21:18:59 +08:00
命令使用
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.3.1" data-path = "../guide/docker-cli-to-kubectl.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/docker-cli-to-kubectl.html" >
2017-12-20 17:27:16 +08:00
< b > 4.3.1.< / b >
2017-11-15 21:18:59 +08:00
2018-10-09 11:53:49 +08:00
Docker用户过度到kubectl命令行指南
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.3.2" data-path = "../guide/using-kubectl.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/using-kubectl.html" >
2017-12-20 17:27:16 +08:00
< b > 4.3.2.< / b >
2017-11-15 21:18:59 +08:00
kubectl命令概览
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.3.3" data-path = "../guide/kubectl-cheatsheet.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/kubectl-cheatsheet.html" >
2017-12-20 17:27:16 +08:00
< b > 4.3.3.< / b >
2017-11-15 21:18:59 +08:00
kubectl命令技巧大全
2017-11-07 23:57:26 +08:00
< / a >
2017-11-23 13:06:23 +08:00
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.3.4" data-path = "../guide/using-etcdctl-to-access-kubernetes-data.html" >
2017-11-23 13:06:23 +08:00
< a href = "../guide/using-etcdctl-to-access-kubernetes-data.html" >
2017-12-20 17:27:16 +08:00
< b > 4.3.4.< / b >
2017-11-23 13:06:23 +08:00
2017-12-25 18:15:30 +08:00
使用etcdctl访问kubernetes数据
2017-11-23 13:06:23 +08:00
< / a >
2017-11-07 23:57:26 +08:00
< / li >
< / ul >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.4" data-path = "../guide/cluster-security-management.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/cluster-security-management.html" >
2017-12-20 17:27:16 +08:00
< b > 4.4.< / b >
2017-11-15 21:18:59 +08:00
集群安全性管理
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.4.1" data-path = "../guide/managing-tls-in-a-cluster.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/managing-tls-in-a-cluster.html" >
2017-12-20 17:27:16 +08:00
< b > 4.4.1.< / b >
2017-11-15 21:18:59 +08:00
管理集群中的TLS
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.4.2" data-path = "../guide/kubelet-authentication-authorization.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/kubelet-authentication-authorization.html" >
2017-12-20 17:27:16 +08:00
< b > 4.4.2.< / b >
2017-11-15 21:18:59 +08:00
kubelet的认证授权
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.4.3" data-path = "../guide/tls-bootstrapping.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/tls-bootstrapping.html" >
2017-12-20 17:27:16 +08:00
< b > 4.4.3.< / b >
2017-11-15 21:18:59 +08:00
TLS bootstrap
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.4.4" data-path = "../guide/kubectl-user-authentication-authorization.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/kubectl-user-authentication-authorization.html" >
2017-12-20 17:27:16 +08:00
< b > 4.4.4.< / b >
2017-11-15 21:18:59 +08:00
创建用户认证授权的kubeconfig文件
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-01-30 12:30:58 +08:00
< li class = "chapter " data-level = "4.4.5" data-path = "../guide/ip-masq-agent.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/ip-masq-agent.html" >
2018-01-30 12:30:58 +08:00
< b > 4.4.5.< / b >
2017-11-15 21:18:59 +08:00
IP伪装代理
2017-11-07 23:57:26 +08:00
< / a >
2017-11-10 23:22:45 +08:00
< / li >
2018-01-30 12:30:58 +08:00
< li class = "chapter " data-level = "4.4.6" data-path = "../guide/auth-with-kubeconfig-or-token.html" >
2017-11-10 23:22:45 +08:00
< a href = "../guide/auth-with-kubeconfig-or-token.html" >
2018-01-30 12:30:58 +08:00
< b > 4.4.6.< / b >
2017-11-15 21:18:59 +08:00
使用kubeconfig或token进行用户身份认证
2017-11-10 23:22:45 +08:00
< / a >
2017-11-14 13:46:53 +08:00
< / li >
2018-01-30 12:30:58 +08:00
< li class = "chapter " data-level = "4.4.7" data-path = "../guide/authentication.html" >
2017-11-14 13:46:53 +08:00
< a href = "../guide/authentication.html" >
2018-01-30 12:30:58 +08:00
< b > 4.4.7.< / b >
2017-11-15 21:18:59 +08:00
2018-01-20 16:56:42 +08:00
Kubernetes中的用户与身份认证授权
2017-11-14 13:46:53 +08:00
< / a >
2018-05-11 21:57:37 +08:00
< / li >
< li class = "chapter " data-level = "4.4.8" data-path = "../guide/kubernetes-security-best-practice.html" >
< a href = "../guide/kubernetes-security-best-practice.html" >
< b > 4.4.8.< / b >
Kubernetes集群安全性配置最佳实践
< / a >
2017-11-07 23:57:26 +08:00
< / li >
< / ul >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.5" data-path = "../guide/access-kubernetes-cluster.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/access-kubernetes-cluster.html" >
2017-12-20 17:27:16 +08:00
< b > 4.5.< / b >
2017-11-15 21:18:59 +08:00
2017-11-21 20:10:10 +08:00
访问Kubernetes集群
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.5.1" data-path = "../guide/access-cluster.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/access-cluster.html" >
2017-12-20 17:27:16 +08:00
< b > 4.5.1.< / b >
2017-11-15 21:18:59 +08:00
访问集群
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.5.2" data-path = "../guide/authenticate-across-clusters-kubeconfig.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/authenticate-across-clusters-kubeconfig.html" >
2017-12-20 17:27:16 +08:00
< b > 4.5.2.< / b >
2017-11-15 21:18:59 +08:00
2017-11-21 20:10:10 +08:00
使用kubeconfig文件配置跨集群认证
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.5.3" data-path = "../guide/connecting-to-applications-port-forward.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/connecting-to-applications-port-forward.html" >
2017-12-20 17:27:16 +08:00
< b > 4.5.3.< / b >
2017-11-15 21:18:59 +08:00
通过端口转发访问集群中的应用程序
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.5.4" data-path = "../guide/service-access-application-cluster.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/service-access-application-cluster.html" >
2017-12-20 17:27:16 +08:00
< b > 4.5.4.< / b >
2017-11-15 21:18:59 +08:00
2017-11-21 20:10:10 +08:00
使用service访问群集中的应用程序
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.5.5" data-path = "../guide/accessing-kubernetes-pods-from-outside-of-the-cluster.html" >
2017-11-21 20:10:10 +08:00
< a href = "../guide/accessing-kubernetes-pods-from-outside-of-the-cluster.html" >
2017-12-20 17:27:16 +08:00
< b > 4.5.5.< / b >
2017-11-21 20:10:10 +08:00
从外部访问Kubernetes中的Pod
2017-11-07 23:57:26 +08:00
< / a >
2017-11-22 18:43:03 +08:00
< / li >
2018-01-14 21:13:12 +08:00
< li class = "chapter " data-level = "4.5.6" data-path = "../guide/cabin-mobile-dashboard-for-kubernetes.html" >
2017-11-22 18:43:03 +08:00
2018-01-14 21:13:12 +08:00
< a href = "../guide/cabin-mobile-dashboard-for-kubernetes.html" >
2017-11-22 18:43:03 +08:00
2017-12-20 17:27:16 +08:00
< b > 4.5.6.< / b >
2017-11-22 18:43:03 +08:00
2018-01-14 21:13:12 +08:00
Cabin - Kubernetes手机客户端
2017-11-22 18:43:03 +08:00
< / a >
2017-11-29 15:07:48 +08:00
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.5.7" data-path = "../guide/kubernetes-desktop-client.html" >
2017-11-29 15:07:48 +08:00
< a href = "../guide/kubernetes-desktop-client.html" >
2017-12-20 17:27:16 +08:00
< b > 4.5.7.< / b >
2017-11-29 15:07:48 +08:00
Kubernetic - Kubernetes桌面客户端
< / a >
2017-12-27 11:58:32 +08:00
< / li >
< li class = "chapter " data-level = "4.5.8" data-path = "../guide/kubernator-kubernetes-ui.html" >
< a href = "../guide/kubernator-kubernetes-ui.html" >
< b > 4.5.8.< / b >
Kubernator - 更底层的Kubernetes UI
< / a >
2017-11-07 23:57:26 +08:00
< / li >
< / ul >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.6" data-path = "../guide/application-development-deployment-flow.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/application-development-deployment-flow.html" >
2017-12-20 17:27:16 +08:00
< b > 4.6.< / b >
2017-11-15 21:18:59 +08:00
2017-12-30 10:37:40 +08:00
在Kubernetes中开发部署应用
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.6.1" data-path = "../guide/deploy-applications-in-kubernetes.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/deploy-applications-in-kubernetes.html" >
2017-12-20 17:27:16 +08:00
< b > 4.6.1.< / b >
2017-11-15 21:18:59 +08:00
适用于kubernetes的应用开发部署流程
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.6.2" data-path = "../guide/migrating-hadoop-yarn-to-kubernetes.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/migrating-hadoop-yarn-to-kubernetes.html" >
2017-12-20 17:27:16 +08:00
< b > 4.6.2.< / b >
2017-11-15 21:18:59 +08:00
2017-12-30 10:37:40 +08:00
迁移传统应用到Kubernetes中——以Hadoop YARN为例
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "4.6.3" data-path = "../guide/using-statefulset.html" >
2017-11-07 23:57:26 +08:00
< a href = "../guide/using-statefulset.html" >
2017-12-20 17:27:16 +08:00
< b > 4.6.3.< / b >
2017-11-15 21:18:59 +08:00
使用StatefulSet部署用状态应用
2017-11-07 23:57:26 +08:00
< / a >
< / li >
< / ul >
< / li >
2017-11-15 21:18:59 +08:00
< li class = "header" > 最佳实践< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "5.1" data-path = "../practice/" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/" >
2017-12-20 17:27:16 +08:00
< b > 5.1.< / b >
2017-11-15 21:18:59 +08:00
最佳实践概览
2017-11-07 23:57:26 +08:00
< / a >
2017-11-15 21:18:59 +08:00
< / li >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "5.2" data-path = "../practice/install-kubernetes-on-centos.html" >
2017-11-07 23:57:26 +08:00
2017-12-19 17:59:00 +08:00
< a href = "../practice/install-kubernetes-on-centos.html" >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< b > 5.2.< / b >
2017-11-15 21:18:59 +08:00
2017-12-30 10:37:40 +08:00
在CentOS上部署Kubernetes集群
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "5.2.1" data-path = "../practice/create-tls-and-secret-key.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/create-tls-and-secret-key.html" >
2017-12-20 17:27:16 +08:00
< b > 5.2.1.< / b >
2017-11-15 21:18:59 +08:00
创建TLS证书和秘钥
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "5.2.2" data-path = "../practice/create-kubeconfig.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/create-kubeconfig.html" >
2017-12-20 17:27:16 +08:00
< b > 5.2.2.< / b >
2017-11-15 21:18:59 +08:00
创建kubeconfig文件
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "5.2.3" data-path = "../practice/etcd-cluster-installation.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/etcd-cluster-installation.html" >
2017-12-20 17:27:16 +08:00
< b > 5.2.3.< / b >
2017-11-15 21:18:59 +08:00
创建高可用etcd集群
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "5.2.4" data-path = "../practice/kubectl-installation.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/kubectl-installation.html" >
2017-12-20 17:27:16 +08:00
< b > 5.2.4.< / b >
2017-11-15 21:18:59 +08:00
安装kubectl命令行工具
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "5.2.5" data-path = "../practice/master-installation.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/master-installation.html" >
2017-12-20 17:27:16 +08:00
< b > 5.2.5.< / b >
2017-11-15 21:18:59 +08:00
部署master节点
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "5.2.6" data-path = "../practice/flannel-installation.html" >
2017-11-07 23:57:26 +08:00
2017-12-19 17:59:00 +08:00
< a href = "../practice/flannel-installation.html" >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< b > 5.2.6.< / b >
2017-11-15 21:18:59 +08:00
2017-12-19 17:59:00 +08:00
安装flannel网络插件
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "5.2.7" data-path = "../practice/node-installation.html" >
2017-12-19 17:59:00 +08:00
< a href = "../practice/node-installation.html" >
2017-12-20 17:27:16 +08:00
< b > 5.2.7.< / b >
2017-12-19 17:59:00 +08:00
2017-11-15 21:18:59 +08:00
部署node节点
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "5.2.8" data-path = "../practice/kubedns-addon-installation.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/kubedns-addon-installation.html" >
2017-12-20 17:27:16 +08:00
< b > 5.2.8.< / b >
2017-11-15 21:18:59 +08:00
安装kubedns插件
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "5.2.9" data-path = "../practice/dashboard-addon-installation.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/dashboard-addon-installation.html" >
2017-12-20 17:27:16 +08:00
< b > 5.2.9.< / b >
2017-11-15 21:18:59 +08:00
安装dashboard插件
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "5.2.10" data-path = "../practice/heapster-addon-installation.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/heapster-addon-installation.html" >
2017-12-20 17:27:16 +08:00
< b > 5.2.10.< / b >
2017-11-15 21:18:59 +08:00
安装heapster插件
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "5.2.11" data-path = "../practice/efk-addon-installation.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/efk-addon-installation.html" >
2017-12-20 17:27:16 +08:00
< b > 5.2.11.< / b >
2017-11-15 21:18:59 +08:00
安装EFK插件
2017-11-07 23:57:26 +08:00
< / a >
< / li >
< / ul >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.3" data-path = "../practice/install-kubernetes-with-kubeadm.html" >
2017-11-07 23:57:26 +08:00
2018-04-15 19:42:10 +08:00
< a href = "../practice/install-kubernetes-with-kubeadm.html" >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< b > 5.3.< / b >
2017-11-15 21:18:59 +08:00
2018-12-04 12:57:02 +08:00
生产级的Kubernetes简化管理工具kubeadm
2018-04-15 19:42:10 +08:00
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.3.1" data-path = "../practice/install-kubernetes-on-ubuntu-server-16.04-with-kubeadm.html" >
< a href = "../practice/install-kubernetes-on-ubuntu-server-16.04-with-kubeadm.html" >
< b > 5.3.1.< / b >
使用kubeadm在Ubuntu Server 16.04上快速构建测试集群
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "5.4" data-path = "../practice/service-discovery-and-loadbalancing.html" >
< a href = "../practice/service-discovery-and-loadbalancing.html" >
< b > 5.4.< / b >
2017-11-15 21:18:59 +08:00
服务发现与负载均衡
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.4.1" data-path = "../practice/traefik-ingress-installation.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/traefik-ingress-installation.html" >
2018-04-15 19:42:10 +08:00
< b > 5.4.1.< / b >
2017-11-15 21:18:59 +08:00
安装Traefik ingress
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.4.2" data-path = "../practice/distributed-load-test.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/distributed-load-test.html" >
2018-04-15 19:42:10 +08:00
< b > 5.4.2.< / b >
2017-11-15 21:18:59 +08:00
分布式负载测试
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.4.3" data-path = "../practice/network-and-cluster-perfermance-test.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/network-and-cluster-perfermance-test.html" >
2018-04-15 19:42:10 +08:00
< b > 5.4.3.< / b >
2017-11-15 21:18:59 +08:00
网络和集群性能测试
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.4.4" data-path = "../practice/edge-node-configuration.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/edge-node-configuration.html" >
2018-04-15 19:42:10 +08:00
< b > 5.4.4.< / b >
2017-11-15 21:18:59 +08:00
边缘节点配置
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.4.5" data-path = "../practice/nginx-ingress-installation.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/nginx-ingress-installation.html" >
2018-04-15 19:42:10 +08:00
< b > 5.4.5.< / b >
2017-11-15 21:18:59 +08:00
安装Nginx ingress
2017-11-07 23:57:26 +08:00
< / a >
2018-01-03 16:14:36 +08:00
< / li >
2018-04-19 10:35:52 +08:00
< li class = "chapter " data-level = "5.4.6" data-path = "../practice/dns-installation.html" >
2018-01-03 16:14:36 +08:00
2018-04-19 10:35:52 +08:00
< a href = "../practice/dns-installation.html" >
2018-01-03 16:14:36 +08:00
2018-04-15 19:42:10 +08:00
< b > 5.4.6.< / b >
2018-01-03 16:14:36 +08:00
2018-04-19 10:35:52 +08:00
安装配置DNS
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.4.6.1" data-path = "../practice/configuring-dns.html" >
< a href = "../practice/configuring-dns.html" >
< b > 5.4.6.1.< / b >
安装配置Kube-dns
< / a >
< / li >
< li class = "chapter " data-level = "5.4.6.2" data-path = "../practice/coredns.html" >
< a href = "../practice/coredns.html" >
< b > 5.4.6.2.< / b >
安装配置CoreDNS
2018-01-03 16:14:36 +08:00
< / a >
2017-11-07 23:57:26 +08:00
< / li >
< / ul >
< / li >
2018-04-19 10:35:52 +08:00
< / ul >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.5" data-path = "../practice/operation.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/operation.html" >
2018-04-15 19:42:10 +08:00
< b > 5.5.< / b >
2017-11-15 21:18:59 +08:00
运维管理
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.5.1" data-path = "../practice/master-ha.html" >
2017-11-07 23:57:26 +08:00
2018-03-20 10:59:44 +08:00
< a href = "../practice/master-ha.html" >
2017-11-07 23:57:26 +08:00
2018-04-15 19:42:10 +08:00
< b > 5.5.1.< / b >
2017-11-15 21:18:59 +08:00
2018-03-20 10:59:44 +08:00
Master节点高可用
< / a >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.5.2" data-path = "../practice/service-rolling-update.html" >
2018-03-20 10:59:44 +08:00
< a href = "../practice/service-rolling-update.html" >
2018-04-15 19:42:10 +08:00
< b > 5.5.2.< / b >
2018-03-20 10:59:44 +08:00
2017-11-15 21:18:59 +08:00
服务滚动升级
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.5.3" data-path = "../practice/app-log-collection.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/app-log-collection.html" >
2018-04-15 19:42:10 +08:00
< b > 5.5.3.< / b >
2017-11-15 21:18:59 +08:00
应用日志收集
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.5.4" data-path = "../practice/configuration-best-practice.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/configuration-best-practice.html" >
2018-04-15 19:42:10 +08:00
< b > 5.5.4.< / b >
2017-11-15 21:18:59 +08:00
配置最佳实践
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.5.5" data-path = "../practice/monitor.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/monitor.html" >
2018-04-15 19:42:10 +08:00
< b > 5.5.5.< / b >
2017-11-15 21:18:59 +08:00
集群及应用监控
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.5.6" data-path = "../practice/data-persistence-problem.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/data-persistence-problem.html" >
2018-04-15 19:42:10 +08:00
< b > 5.5.6.< / b >
2017-11-15 21:18:59 +08:00
数据持久化问题
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.5.7" data-path = "../practice/manage-compute-resources-container.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/manage-compute-resources-container.html" >
2018-04-15 19:42:10 +08:00
< b > 5.5.7.< / b >
2017-11-15 21:18:59 +08:00
管理容器的计算资源
2017-11-07 23:57:26 +08:00
< / a >
2018-02-24 11:49:48 +08:00
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.5.8" data-path = "../practice/federation.html" >
2018-02-24 11:49:48 +08:00
< a href = "../practice/federation.html" >
2018-04-15 19:42:10 +08:00
< b > 5.5.8.< / b >
2018-02-24 11:49:48 +08:00
集群联邦
< / a >
2017-11-07 23:57:26 +08:00
< / li >
2017-11-09 10:55:38 +08:00
< / ul >
2017-11-07 23:57:26 +08:00
2017-11-09 10:55:38 +08:00
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.6" data-path = "../practice/storage.html" >
2017-11-09 10:55:38 +08:00
< a href = "../practice/storage.html" >
2017-11-07 23:57:26 +08:00
2018-04-15 19:42:10 +08:00
< b > 5.6.< / b >
2017-11-15 21:18:59 +08:00
存储管理
2017-11-09 10:55:38 +08:00
< / a >
< ul class = "articles" >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.6.1" data-path = "../practice/glusterfs.html" >
2017-11-09 10:55:38 +08:00
< a href = "../practice/glusterfs.html" >
2018-04-15 19:42:10 +08:00
< b > 5.6.1.< / b >
2017-11-15 21:18:59 +08:00
GlusterFS
2017-11-09 10:55:38 +08:00
< / a >
< ul class = "articles" >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.6.1.1" data-path = "../practice/using-glusterfs-for-persistent-storage.html" >
2017-11-09 10:55:38 +08:00
< a href = "../practice/using-glusterfs-for-persistent-storage.html" >
2018-04-15 19:42:10 +08:00
< b > 5.6.1.1.< / b >
2017-11-15 21:18:59 +08:00
使用GlusterFS做持久化存储
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.6.1.2" data-path = "../practice/using-heketi-gluster-for-persistent-storage.html" >
2017-11-07 23:57:26 +08:00
2018-04-13 20:57:27 +08:00
< a href = "../practice/using-heketi-gluster-for-persistent-storage.html" >
2017-11-07 23:57:26 +08:00
2018-04-15 19:42:10 +08:00
< b > 5.6.1.2.< / b >
2017-11-15 21:18:59 +08:00
2018-10-09 14:04:25 +08:00
使用Heketi作为Kubernetes的持久存储GlusterFS的external provisioner
2018-04-13 20:57:27 +08:00
< / a >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.6.1.3" data-path = "../practice/storage-for-containers-using-glusterfs-with-openshift.html" >
2018-04-13 20:57:27 +08:00
< a href = "../practice/storage-for-containers-using-glusterfs-with-openshift.html" >
2018-04-15 19:42:10 +08:00
< b > 5.6.1.3.< / b >
2018-04-13 20:57:27 +08:00
2017-11-15 21:18:59 +08:00
在OpenShift中使用GlusterFS做持久化存储
2017-11-07 23:57:26 +08:00
< / a >
< / li >
< / ul >
< / li >
2018-05-23 19:52:24 +08:00
< li class = "chapter " data-level = "5.6.2" data-path = "../practice/glusterd-2.0.html" >
2017-11-07 23:57:26 +08:00
2018-05-23 19:52:24 +08:00
< a href = "../practice/glusterd-2.0.html" >
2017-11-07 23:57:26 +08:00
2018-04-15 19:42:10 +08:00
< b > 5.6.2.< / b >
2017-11-15 21:18:59 +08:00
2018-05-23 19:52:24 +08:00
GlusterD-2.0
< / a >
< / li >
< li class = "chapter " data-level = "5.6.3" data-path = "../practice/ceph.html" >
< a href = "../practice/ceph.html" >
< b > 5.6.3.< / b >
2018-04-15 19:42:10 +08:00
Ceph
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2018-05-23 19:52:24 +08:00
< li class = "chapter " data-level = "5.6.3.1" data-path = "../practice/ceph-helm-install-guide-zh.html" >
2017-11-07 23:57:26 +08:00
2018-04-18 23:46:26 +08:00
< a href = "../practice/ceph-helm-install-guide-zh.html" >
2017-11-07 23:57:26 +08:00
2018-05-23 19:52:24 +08:00
< b > 5.6.3.1.< / b >
2017-11-15 21:18:59 +08:00
2018-04-18 23:46:26 +08:00
用Helm托管安装Ceph集群并提供后端存储
< / a >
< / li >
2018-05-23 19:52:24 +08:00
< li class = "chapter " data-level = "5.6.3.2" data-path = "../practice/using-ceph-for-persistent-storage.html" >
2018-04-18 23:46:26 +08:00
< a href = "../practice/using-ceph-for-persistent-storage.html" >
2018-05-23 19:52:24 +08:00
< b > 5.6.3.2.< / b >
2018-04-18 23:46:26 +08:00
2017-11-15 21:18:59 +08:00
使用Ceph做持久化存储
2017-11-09 10:55:38 +08:00
< / a >
2018-10-15 14:20:09 +08:00
< / li >
< li class = "chapter " data-level = "5.6.3.3" data-path = "../practice/rbd-provisioner.html" >
< a href = "../practice/rbd-provisioner.html" >
< b > 5.6.3.3.< / b >
使用rbd-provisioner提供rbd持久化存储
< / a >
2018-01-05 16:34:39 +08:00
< / li >
< / ul >
< / li >
2018-05-23 19:52:24 +08:00
< li class = "chapter " data-level = "5.6.4" data-path = "../practice/openebs.html" >
2018-01-05 16:34:39 +08:00
< a href = "../practice/openebs.html" >
2018-05-23 19:52:24 +08:00
< b > 5.6.4.< / b >
2018-01-05 16:34:39 +08:00
OpenEBS
< / a >
< ul class = "articles" >
2018-05-23 19:52:24 +08:00
< li class = "chapter " data-level = "5.6.4.1" data-path = "../practice/using-openebs-for-persistent-storage.html" >
2018-01-05 16:34:39 +08:00
< a href = "../practice/using-openebs-for-persistent-storage.html" >
2018-05-23 19:52:24 +08:00
< b > 5.6.4.1.< / b >
2018-01-05 16:34:39 +08:00
使用OpenEBS做持久化存储
< / a >
2017-11-09 10:55:38 +08:00
< / li >
< / ul >
2018-02-24 22:56:37 +08:00
< / li >
2018-05-23 19:52:24 +08:00
< li class = "chapter " data-level = "5.6.5" data-path = "../practice/rook.html" >
2018-02-24 22:56:37 +08:00
< a href = "../practice/rook.html" >
2018-05-23 19:52:24 +08:00
< b > 5.6.5.< / b >
2018-02-24 22:56:37 +08:00
Rook
< / a >
2018-04-13 23:45:08 +08:00
< / li >
2018-05-23 19:52:24 +08:00
< li class = "chapter " data-level = "5.6.6" data-path = "../practice/nfs.html" >
2018-04-13 23:45:08 +08:00
< a href = "../practice/nfs.html" >
2018-05-23 19:52:24 +08:00
< b > 5.6.6.< / b >
2018-04-13 23:45:08 +08:00
NFS
< / a >
< ul class = "articles" >
2018-05-23 19:52:24 +08:00
< li class = "chapter " data-level = "5.6.6.1" data-path = "../practice/using-nfs-for-persistent-storage.html" >
2018-04-13 23:45:08 +08:00
< a href = "../practice/using-nfs-for-persistent-storage.html" >
2018-05-23 19:52:24 +08:00
< b > 5.6.6.1.< / b >
2018-04-13 23:45:08 +08:00
利用NFS动态提供Kubernetes后端存储卷
< / a >
< / li >
< / ul >
2017-11-09 10:55:38 +08:00
< / li >
< / ul >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.7" data-path = "../practice/monitoring.html" >
2017-11-09 10:55:38 +08:00
< a href = "../practice/monitoring.html" >
2018-04-15 19:42:10 +08:00
< b > 5.7.< / b >
2017-11-15 21:18:59 +08:00
集群与应用监控
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.7.1" data-path = "../practice/heapster.html" >
2017-11-07 23:57:26 +08:00
2017-11-09 10:55:38 +08:00
< a href = "../practice/heapster.html" >
2017-11-07 23:57:26 +08:00
2018-04-15 19:42:10 +08:00
< b > 5.7.1.< / b >
2017-11-15 21:18:59 +08:00
Heapster
2017-11-07 23:57:26 +08:00
< / a >
2017-11-09 10:55:38 +08:00
< ul class = "articles" >
2017-11-07 23:57:26 +08:00
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.7.1.1" data-path = "../practice/using-heapster-to-get-object-metrics.html" >
2017-11-07 23:57:26 +08:00
2017-11-09 10:55:38 +08:00
< a href = "../practice/using-heapster-to-get-object-metrics.html" >
2017-11-07 23:57:26 +08:00
2018-04-15 19:42:10 +08:00
< b > 5.7.1.1.< / b >
2017-11-15 21:18:59 +08:00
使用Heapster获取集群和对象的metric数据
2017-11-07 23:57:26 +08:00
< / a >
< / li >
< / ul >
< / li >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.7.2" data-path = "../practice/prometheus.html" >
2017-11-07 23:57:26 +08:00
2017-11-09 10:55:38 +08:00
< a href = "../practice/prometheus.html" >
2017-11-07 23:57:26 +08:00
2018-04-15 19:42:10 +08:00
< b > 5.7.2.< / b >
2017-11-15 21:18:59 +08:00
Prometheus
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2018-04-15 19:42:10 +08:00
< li class = "chapter " data-level = "5.7.2.1" data-path = "../practice/using-prometheus-to-monitor-kuberentes-cluster.html" >
2017-11-07 23:57:26 +08:00
2017-11-09 10:55:38 +08:00
< a href = "../practice/using-prometheus-to-monitor-kuberentes-cluster.html" >
2017-11-07 23:57:26 +08:00
2018-04-15 19:42:10 +08:00
< b > 5.7.2.1.< / b >
2017-11-15 21:18:59 +08:00
使用Prometheus监控kubernetes集群
2017-11-07 23:57:26 +08:00
< / a >
2018-10-19 15:44:38 +08:00
< / li >
< li class = "chapter " data-level = "5.7.2.2" data-path = "../practice/promql.html" >
< a href = "../practice/promql.html" >
< b > 5.7.2.2.< / b >
Prometheus查询语言PromQL使用说明
< / a >
2017-11-07 23:57:26 +08:00
< / li >
< / ul >
2018-06-20 15:02:23 +08:00
< / li >
< li class = "chapter " data-level = "5.7.3" data-path = "../practice/vistio-visualize-your-istio-mesh.html" >
< a href = "../practice/vistio-visualize-your-istio-mesh.html" >
< b > 5.7.3.< / b >
使用Vistio监控Istio服务网格中的流量
< / a >
2017-11-07 23:57:26 +08:00
< / li >
< / ul >
< / li >
2018-10-24 20:34:59 +08:00
< li class = "chapter " data-level = "5.8" data-path = "../practice/distributed-tracing.html" >
2017-11-07 23:57:26 +08:00
2018-10-24 20:34:59 +08:00
< a href = "../practice/distributed-tracing.html" >
2017-11-07 23:57:26 +08:00
2018-04-15 19:42:10 +08:00
< b > 5.8.< / b >
2017-11-15 21:18:59 +08:00
2018-10-24 20:34:59 +08:00
分布式跟踪
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.8.1" data-path = "../practice/opentracing.html" >
< a href = "../practice/opentracing.html" >
< b > 5.8.1.< / b >
OpenTracing
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "5.9" data-path = "../practice/services-management-tool.html" >
< a href = "../practice/services-management-tool.html" >
< b > 5.9.< / b >
2017-11-15 21:18:59 +08:00
服务编排管理
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2018-10-24 20:34:59 +08:00
< li class = "chapter " data-level = "5.9.1" data-path = "../practice/helm.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/helm.html" >
2018-10-24 20:34:59 +08:00
< b > 5.9.1.< / b >
2017-11-15 21:18:59 +08:00
2018-10-09 14:04:25 +08:00
使用Helm管理Kubernetes应用
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-10-24 20:34:59 +08:00
< li class = "chapter " data-level = "5.9.2" data-path = "../practice/create-private-charts-repo.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/create-private-charts-repo.html" >
2018-10-24 20:34:59 +08:00
< b > 5.9.2.< / b >
2017-11-15 21:18:59 +08:00
构建私有Chart仓库
2017-11-07 23:57:26 +08:00
< / a >
< / li >
< / ul >
< / li >
2018-10-24 20:34:59 +08:00
< li class = "chapter " data-level = "5.10" data-path = "../practice/ci-cd.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/ci-cd.html" >
2018-10-24 20:34:59 +08:00
< b > 5.10.< / b >
2017-11-15 21:18:59 +08:00
持续集成与发布
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2018-10-24 20:34:59 +08:00
< li class = "chapter " data-level = "5.10.1" data-path = "../practice/jenkins-ci-cd.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/jenkins-ci-cd.html" >
2018-10-24 20:34:59 +08:00
< b > 5.10.1.< / b >
2017-11-15 21:18:59 +08:00
使用Jenkins进行持续集成与发布
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-10-24 20:34:59 +08:00
< li class = "chapter " data-level = "5.10.2" data-path = "../practice/drone-ci-cd.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/drone-ci-cd.html" >
2018-10-24 20:34:59 +08:00
< b > 5.10.2.< / b >
2017-11-15 21:18:59 +08:00
使用Drone进行持续集成与发布
2017-11-07 23:57:26 +08:00
< / a >
< / li >
< / ul >
< / li >
2018-10-24 20:34:59 +08:00
< li class = "chapter " data-level = "5.11" data-path = "../practice/update-and-upgrade.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/update-and-upgrade.html" >
2018-10-24 20:34:59 +08:00
< b > 5.11.< / b >
2017-11-15 21:18:59 +08:00
更新与升级
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2018-10-24 20:34:59 +08:00
< li class = "chapter " data-level = "5.11.1" data-path = "../practice/manually-upgrade.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/manually-upgrade.html" >
2018-10-24 20:34:59 +08:00
< b > 5.11.1.< / b >
2017-11-15 21:18:59 +08:00
2017-12-30 10:37:40 +08:00
手动升级Kubernetes集群
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-10-24 20:34:59 +08:00
< li class = "chapter " data-level = "5.11.2" data-path = "../practice/dashboard-upgrade.html" >
2017-11-07 23:57:26 +08:00
< a href = "../practice/dashboard-upgrade.html" >
2018-10-24 20:34:59 +08:00
< b > 5.11.2.< / b >
2017-11-15 21:18:59 +08:00
升级dashboard
2017-11-07 23:57:26 +08:00
< / a >
< / li >
< / ul >
< / li >
2017-11-15 21:18:59 +08:00
< li class = "header" > 领域应用< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "6.1" data-path = "./" >
2017-11-07 23:57:26 +08:00
< a href = "./" >
2017-12-20 17:27:16 +08:00
< b > 6.1.< / b >
2017-11-15 21:18:59 +08:00
领域应用概览
2017-11-07 23:57:26 +08:00
< / a >
2017-11-15 21:18:59 +08:00
< / li >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "6.2" data-path = "microservices.html" >
2017-11-07 23:57:26 +08:00
< a href = "microservices.html" >
2017-12-20 17:27:16 +08:00
< b > 6.2.< / b >
2017-11-15 21:18:59 +08:00
微服务架构
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "6.2.1" data-path = "service-discovery-in-microservices.html" >
2017-11-07 23:57:26 +08:00
< a href = "service-discovery-in-microservices.html" >
2017-12-20 17:27:16 +08:00
< b > 6.2.1.< / b >
2017-11-15 21:18:59 +08:00
微服务中的服务发现
2017-11-07 23:57:26 +08:00
< / a >
2018-03-13 17:43:40 +08:00
< / li >
< li class = "chapter " data-level = "6.2.2" data-path = "microservices-for-java-developers.html" >
< a href = "microservices-for-java-developers.html" >
< b > 6.2.2.< / b >
使用Java构建微服务并发布到Kubernetes平台
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "6.2.2.1" data-path = "spring-boot-quick-start-guide.html" >
< a href = "spring-boot-quick-start-guide.html" >
< b > 6.2.2.1.< / b >
Spring Boot快速开始指南
< / a >
< / li >
< / ul >
2017-11-07 23:57:26 +08:00
< / li >
< / ul >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "6.3" data-path = "service-mesh.html" >
2017-11-07 23:57:26 +08:00
< a href = "service-mesh.html" >
2017-12-20 17:27:16 +08:00
< b > 6.3.< / b >
2017-11-15 21:18:59 +08:00
Service Mesh 服务网格
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.1" data-path = "the-enterprise-path-to-service-mesh-architectures.html" >
2017-11-07 23:57:26 +08:00
2018-08-20 19:31:01 +08:00
< a href = "the-enterprise-path-to-service-mesh-architectures.html" >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< b > 6.3.1.< / b >
2017-11-15 21:18:59 +08:00
2018-08-20 19:31:01 +08:00
企业级服务网格架构
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "6.3.1.1" data-path = "service-mesh-fundamental.html" >
< a href = "service-mesh-fundamental.html" >
< b > 6.3.1.1.< / b >
Service Mesh基础
< / a >
< / li >
< li class = "chapter " data-level = "6.3.1.2" data-path = "comparing-service-mesh-technologies.html" >
< a href = "comparing-service-mesh-technologies.html" >
< b > 6.3.1.2.< / b >
Service Mesh技术对比
< / a >
< / li >
< li class = "chapter " data-level = "6.3.1.3" data-path = "service-mesh-adoption-and-evolution.html" >
< a href = "service-mesh-adoption-and-evolution.html" >
< b > 6.3.1.3.< / b >
采纳和演进
< / a >
< / li >
< li class = "chapter " data-level = "6.3.1.4" data-path = "service-mesh-customization-and-integration.html" >
< a href = "service-mesh-customization-and-integration.html" >
< b > 6.3.1.4.< / b >
定制和集成
< / a >
< / li >
< li class = "chapter " data-level = "6.3.1.5" data-path = "service-mesh-conclusion.html" >
< a href = "service-mesh-conclusion.html" >
< b > 6.3.1.5.< / b >
总结
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "6.3.2" data-path = "istio.html" >
< a href = "istio.html" >
< b > 6.3.2.< / b >
2017-11-15 21:18:59 +08:00
Istio
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.2.1" data-path = "istio-installation.html" >
2017-11-07 23:57:26 +08:00
< a href = "istio-installation.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.2.1.< / b >
2017-11-15 21:18:59 +08:00
安装并试用Istio service mesh
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.2.2" data-path = "configuring-request-routing.html" >
2017-11-07 23:57:26 +08:00
< a href = "configuring-request-routing.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.2.2.< / b >
2017-11-15 21:18:59 +08:00
配置请求的路由规则
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-08-20 19:31:01 +08:00
< li class = "chapter active" data-level = "6.3.2.3" data-path = "install-and-expand-istio-mesh.html" >
2017-11-07 23:57:26 +08:00
< a href = "install-and-expand-istio-mesh.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.2.3.< / b >
2017-11-15 21:18:59 +08:00
安装和拓展Istio service mesh
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.2.4" data-path = "integrating-vms.html" >
2017-11-07 23:57:26 +08:00
< a href = "integrating-vms.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.2.4.< / b >
2017-11-15 21:18:59 +08:00
集成虚拟机
2017-11-07 23:57:26 +08:00
< / a >
2018-03-27 19:59:51 +08:00
< / li >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.2.5" data-path = "sidecar-spec-in-istio.html" >
2018-03-27 19:59:51 +08:00
< a href = "sidecar-spec-in-istio.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.2.5.< / b >
2018-03-27 19:59:51 +08:00
Istio中sidecar的注入规范及示例
< / a >
2018-04-16 21:16:23 +08:00
< / li >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.2.6" data-path = "istio-community-tips.html" >
2018-04-16 21:16:23 +08:00
< a href = "istio-community-tips.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.2.6.< / b >
2018-04-16 21:16:23 +08:00
如何参与Istio社区及注意事项
< / a >
2018-04-18 23:26:03 +08:00
< / li >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.2.7" data-path = "istio-tutorial.html" >
2018-04-18 23:26:03 +08:00
< a href = "istio-tutorial.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.2.7.< / b >
2018-04-18 23:26:03 +08:00
2018-08-06 20:34:10 +08:00
Istio教程
2018-04-18 23:26:03 +08:00
< / a >
2018-08-29 16:29:18 +08:00
< / li >
< li class = "chapter " data-level = "6.3.2.8" data-path = "istio-tutorials-collection.html" >
< a href = "istio-tutorials-collection.html" >
< b > 6.3.2.8.< / b >
Istio免费学习资源汇总
< / a >
2018-09-17 11:49:14 +08:00
< / li >
< li class = "chapter " data-level = "6.3.2.9" data-path = "understand-sidecar-injection-and-traffic-hijack-in-istio-service-mesh.html" >
< a href = "understand-sidecar-injection-and-traffic-hijack-in-istio-service-mesh.html" >
< b > 6.3.2.9.< / b >
2019-01-02 16:44:20 +08:00
深入理解Istio Service Mesh中的Envoy Sidecar注入与流量劫持
< / a >
< / li >
< li class = "chapter " data-level = "6.3.2.10" data-path = "envoy-sidecar-routing-of-istio-service-mesh-deep-dive.html" >
< a href = "envoy-sidecar-routing-of-istio-service-mesh-deep-dive.html" >
< b > 6.3.2.10.< / b >
深入理解Istio Service Mesh中的Envoy Sidecar代理的路由转发
2018-09-17 11:49:14 +08:00
< / a >
2017-11-07 23:57:26 +08:00
< / li >
< / ul >
< / li >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.3" data-path = "linkerd.html" >
2017-11-07 23:57:26 +08:00
< a href = "linkerd.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.3.< / b >
2017-11-15 21:18:59 +08:00
Linkerd
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.3.1" data-path = "linkerd-user-guide.html" >
2017-11-07 23:57:26 +08:00
< a href = "linkerd-user-guide.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.3.1.< / b >
2017-11-15 21:18:59 +08:00
Linkerd 使用指南
2017-11-07 23:57:26 +08:00
< / a >
< / li >
< / ul >
2017-12-10 21:51:18 +08:00
< / li >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.4" data-path = "conduit.html" >
2017-12-10 21:51:18 +08:00
< a href = "conduit.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.4.< / b >
2017-12-10 21:51:18 +08:00
Conduit
< / a >
2017-12-11 14:21:24 +08:00
< ul class = "articles" >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.4.1" data-path = "conduit-overview.html" >
2017-12-11 14:21:24 +08:00
< a href = "conduit-overview.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.4.1.< / b >
2017-12-11 14:21:24 +08:00
Condiut概览
< / a >
2017-12-12 23:30:36 +08:00
< / li >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.4.2" data-path = "conduit-installation.html" >
2017-12-12 23:30:36 +08:00
< a href = "conduit-installation.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.4.2.< / b >
2017-12-12 23:30:36 +08:00
安装Conduit
< / a >
2018-04-20 16:41:57 +08:00
< / li >
< / ul >
< / li >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.5" data-path = "envoy.html" >
2018-04-20 16:41:57 +08:00
< a href = "envoy.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.5.< / b >
2018-04-20 16:41:57 +08:00
Envoy
< / a >
< ul class = "articles" >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.5.1" data-path = "envoy-terminology.html" >
2018-04-20 16:41:57 +08:00
2018-04-24 14:58:38 +08:00
< a href = "envoy-terminology.html" >
2018-04-20 16:41:57 +08:00
2018-08-20 19:31:01 +08:00
< b > 6.3.5.1.< / b >
2018-04-20 16:41:57 +08:00
2018-04-27 15:12:43 +08:00
Envoy的架构与基本术语
2018-04-24 14:58:38 +08:00
< / a >
< / li >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.5.2" data-path = "envoy-front-proxy.html" >
2018-04-24 14:58:38 +08:00
< a href = "envoy-front-proxy.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.5.2.< / b >
2018-04-24 14:58:38 +08:00
2018-04-20 16:41:57 +08:00
Envoy作为前端代理
< / a >
2018-04-28 20:29:48 +08:00
< / li >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.5.3" data-path = "envoy-mesh-in-kubernetes-tutorial.html" >
2018-04-28 20:29:48 +08:00
< a href = "envoy-mesh-in-kubernetes-tutorial.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.5.3.< / b >
2018-04-28 20:29:48 +08:00
Envoy mesh教程
< / a >
2017-12-11 14:21:24 +08:00
< / li >
< / ul >
2018-07-17 11:17:05 +08:00
< / li >
2018-08-20 19:31:01 +08:00
< li class = "chapter " data-level = "6.3.6" data-path = "sofamesh.html" >
2018-07-17 11:17:05 +08:00
< a href = "sofamesh.html" >
2018-08-20 19:31:01 +08:00
< b > 6.3.6.< / b >
2018-07-17 11:17:05 +08:00
SOFAMesh
< / a >
2018-09-19 21:42:26 +08:00
< ul class = "articles" >
< li class = "chapter " data-level = "6.3.6.1" data-path = "dubbo-on-x-protocol-in-sofa-mesh.html" >
< a href = "dubbo-on-x-protocol-in-sofa-mesh.html" >
< b > 6.3.6.1.< / b >
SOFAMesh中的Dubbo on x-protocol
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "6.3.7" data-path = "sofamosn.html" >
< a href = "sofamosn.html" >
< b > 6.3.7.< / b >
SOFAMosn
< / a >
2018-10-19 22:44:16 +08:00
< ul class = "articles" >
< li class = "chapter " data-level = "6.3.7.1" data-path = "sofamosn-in-sofamesh.html" >
< a href = "sofamosn-in-sofamesh.html" >
< b > 6.3.7.1.< / b >
使用 SOFAMosn 构建 SOFAMesh
< / a >
< / li >
< / ul >
2017-11-07 23:57:26 +08:00
< / li >
< / ul >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "6.4" data-path = "big-data.html" >
2017-11-07 23:57:26 +08:00
< a href = "big-data.html" >
2017-12-20 17:27:16 +08:00
< b > 6.4.< / b >
2017-11-15 21:18:59 +08:00
大数据
2017-11-07 23:57:26 +08:00
< / a >
< ul class = "articles" >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "6.4.1" data-path = "spark-standalone-on-kubernetes.html" >
2017-11-07 23:57:26 +08:00
< a href = "spark-standalone-on-kubernetes.html" >
2017-12-20 17:27:16 +08:00
< b > 6.4.1.< / b >
2017-11-15 21:18:59 +08:00
Spark standalone on Kubernetes
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "6.4.2" data-path = "running-spark-with-kubernetes-native-scheduler.html" >
2017-11-07 23:57:26 +08:00
< a href = "running-spark-with-kubernetes-native-scheduler.html" >
2017-12-20 17:27:16 +08:00
< b > 6.4.2.< / b >
2017-11-15 21:18:59 +08:00
2017-12-30 10:37:40 +08:00
运行支持Kubernetes原生调度的Spark程序
2017-11-07 23:57:26 +08:00
< / a >
< / li >
< / ul >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "6.5" data-path = "serverless.html" >
2017-11-07 23:57:26 +08:00
< a href = "serverless.html" >
2017-12-20 17:27:16 +08:00
< b > 6.5.< / b >
2017-11-15 21:18:59 +08:00
Serverless架构
2017-11-07 23:57:26 +08:00
< / a >
2017-11-23 11:03:04 +08:00
< ul class = "articles" >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "6.5.1" data-path = "understanding-serverless.html" >
2017-11-23 11:03:04 +08:00
< a href = "understanding-serverless.html" >
2017-12-20 17:27:16 +08:00
< b > 6.5.1.< / b >
2017-11-23 11:03:04 +08:00
理解Serverless
< / a >
2017-12-19 22:39:23 +08:00
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "6.5.2" data-path = "faas.html" >
2017-12-19 22:39:23 +08:00
< a href = "faas.html" >
2017-12-20 17:27:16 +08:00
< b > 6.5.2.< / b >
2017-12-19 22:39:23 +08:00
FaaS-函数即服务
< / a >
< ul class = "articles" >
2017-12-26 21:24:28 +08:00
< li class = "chapter " data-level = "6.5.2.1" data-path = "openfaas-quick-start.html" >
2017-12-19 22:39:23 +08:00
2017-12-26 21:24:28 +08:00
< a href = "openfaas-quick-start.html" >
2017-12-19 22:39:23 +08:00
2017-12-20 17:27:16 +08:00
< b > 6.5.2.1.< / b >
2017-12-19 22:39:23 +08:00
2017-12-26 21:24:28 +08:00
OpenFaaS快速入门指南
2017-12-19 22:39:23 +08:00
< / a >
< / li >
< / ul >
2017-11-23 11:03:04 +08:00
< / li >
< / ul >
2017-11-07 23:57:26 +08:00
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "6.6" data-path = "edge-computing.html" >
2017-11-07 23:57:26 +08:00
< a href = "edge-computing.html" >
2017-12-20 17:27:16 +08:00
< b > 6.6.< / b >
2017-11-15 21:18:59 +08:00
边缘计算
2017-11-07 23:57:26 +08:00
< / a >
2018-04-16 21:16:23 +08:00
< / li >
< li class = "chapter " data-level = "6.7" data-path = "ai.html" >
< a href = "ai.html" >
< b > 6.7.< / b >
人工智能
< / a >
2017-11-07 23:57:26 +08:00
< / li >
2017-11-15 21:18:59 +08:00
< li class = "header" > 开发指南< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "7.1" data-path = "../develop/" >
2017-11-07 23:57:26 +08:00
< a href = "../develop/" >
2017-12-20 17:27:16 +08:00
< b > 7.1.< / b >
2017-11-15 21:18:59 +08:00
开发指南概览
2017-11-07 23:57:26 +08:00
< / a >
2017-11-15 21:18:59 +08:00
< / li >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "7.2" data-path = "../develop/sigs-and-working-group.html" >
2017-11-07 23:57:26 +08:00
2017-12-03 13:13:09 +08:00
< a href = "../develop/sigs-and-working-group.html" >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< b > 7.2.< / b >
2017-11-15 21:18:59 +08:00
2017-12-03 13:13:09 +08:00
SIG和工作组
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "7.3" data-path = "../develop/developing-environment.html" >
2017-12-03 13:13:09 +08:00
< a href = "../develop/developing-environment.html" >
2017-12-20 17:27:16 +08:00
< b > 7.3.< / b >
2017-12-03 13:13:09 +08:00
2017-11-15 21:18:59 +08:00
开发环境搭建
2017-11-07 23:57:26 +08:00
< / a >
2018-11-26 17:18:36 +08:00
< ul class = "articles" >
2017-11-07 23:57:26 +08:00
2018-11-26 17:18:36 +08:00
< li class = "chapter " data-level = "7.3.1" data-path = "../develop/using-vagrant-and-virtualbox-for-development.html" >
2017-11-07 23:57:26 +08:00
2018-02-01 17:32:19 +08:00
< a href = "../develop/using-vagrant-and-virtualbox-for-development.html" >
2017-11-07 23:57:26 +08:00
2018-11-26 17:18:36 +08:00
< b > 7.3.1.< / b >
2017-11-15 21:18:59 +08:00
2018-02-01 17:32:19 +08:00
本地分布式开发环境搭建( 使用Vagrant和Virtualbox)
< / a >
< / li >
2018-11-26 17:18:36 +08:00
< / ul >
< / li >
< li class = "chapter " data-level = "7.4" data-path = "../develop/testing.html" >
2018-02-01 17:32:19 +08:00
< a href = "../develop/testing.html" >
2018-11-26 17:18:36 +08:00
< b > 7.4.< / b >
2018-02-01 17:32:19 +08:00
2017-11-15 21:18:59 +08:00
单元测试和集成测试
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-11-26 17:18:36 +08:00
< li class = "chapter " data-level = "7.5" data-path = "../develop/client-go-sample.html" >
2017-11-07 23:57:26 +08:00
< a href = "../develop/client-go-sample.html" >
2018-11-26 17:18:36 +08:00
< b > 7.5.< / b >
2017-11-15 21:18:59 +08:00
client-go示例
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-11-26 17:18:36 +08:00
< li class = "chapter " data-level = "7.6" data-path = "../develop/operator.html" >
2017-11-07 23:57:26 +08:00
2018-01-09 19:14:30 +08:00
< a href = "../develop/operator.html" >
2017-11-07 23:57:26 +08:00
2018-11-26 17:18:36 +08:00
< b > 7.6.< / b >
2017-11-15 21:18:59 +08:00
2018-01-09 19:14:30 +08:00
Operator
< / a >
2018-11-26 17:18:36 +08:00
< ul class = "articles" >
2018-01-09 19:14:30 +08:00
2018-11-26 17:18:36 +08:00
< li class = "chapter " data-level = "7.6.1" data-path = "../develop/operator-sdk.html" >
2018-01-09 19:14:30 +08:00
2018-05-04 19:53:39 +08:00
< a href = "../develop/operator-sdk.html" >
2018-01-09 19:14:30 +08:00
2018-11-26 17:18:36 +08:00
< b > 7.6.1.< / b >
2018-01-09 19:14:30 +08:00
2018-05-04 19:53:39 +08:00
operator-sdk
< / a >
< / li >
2018-11-26 17:18:36 +08:00
< / ul >
< / li >
< li class = "chapter " data-level = "7.7" data-path = "../develop/kubebuilder.html" >
< a href = "../develop/kubebuilder.html" >
< b > 7.7.< / b >
kubebuilder
< / a >
< / li >
< li class = "chapter " data-level = "7.8" data-path = "../develop/advance-developer.html" >
2018-05-04 19:53:39 +08:00
< a href = "../develop/advance-developer.html" >
2018-11-26 17:18:36 +08:00
< b > 7.8.< / b >
2018-05-04 19:53:39 +08:00
2018-02-11 10:00:15 +08:00
高级开发指南
< / a >
< / li >
2018-11-26 17:18:36 +08:00
< li class = "chapter " data-level = "7.9" data-path = "../develop/contribute.html" >
2018-02-11 10:00:15 +08:00
< a href = "../develop/contribute.html" >
2018-11-26 17:18:36 +08:00
< b > 7.9.< / b >
2018-02-11 10:00:15 +08:00
2017-11-15 21:18:59 +08:00
社区贡献
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2018-11-26 17:18:36 +08:00
< li class = "chapter " data-level = "7.10" data-path = "../develop/minikube.html" >
2017-11-07 23:57:26 +08:00
< a href = "../develop/minikube.html" >
2018-11-26 17:18:36 +08:00
< b > 7.10.< / b >
2017-11-15 21:18:59 +08:00
Minikube
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-11-15 21:18:59 +08:00
< li class = "header" > 附录< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "8.1" data-path = "../appendix/" >
2017-11-07 23:57:26 +08:00
< a href = "../appendix/" >
2017-12-20 17:27:16 +08:00
< b > 8.1.< / b >
2017-11-15 21:18:59 +08:00
附录说明
2017-11-07 23:57:26 +08:00
< / a >
2017-11-15 21:18:59 +08:00
< / li >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "8.2" data-path = "../appendix/debug-kubernetes-services.html" >
2017-11-07 23:57:26 +08:00
2017-11-15 21:18:59 +08:00
< a href = "../appendix/debug-kubernetes-services.html" >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< b > 8.2.< / b >
2017-11-15 21:18:59 +08:00
Kubernetes中的应用故障排查
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "8.3" data-path = "../appendix/material-share.html" >
2017-11-07 23:57:26 +08:00
2017-11-15 21:18:59 +08:00
< a href = "../appendix/material-share.html" >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< b > 8.3.< / b >
2017-11-15 21:18:59 +08:00
Kubernetes相关资讯和情报链接
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "8.4" data-path = "../appendix/docker-best-practice.html" >
2017-11-07 23:57:26 +08:00
2017-11-15 21:18:59 +08:00
< a href = "../appendix/docker-best-practice.html" >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< b > 8.4.< / b >
2017-11-15 21:18:59 +08:00
Docker最佳实践
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "8.5" data-path = "../appendix/tricks.html" >
2017-11-07 23:57:26 +08:00
2017-11-15 21:18:59 +08:00
< a href = "../appendix/tricks.html" >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< b > 8.5.< / b >
2017-11-15 21:18:59 +08:00
使用技巧
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "8.6" data-path = "../appendix/issues.html" >
2017-11-07 23:57:26 +08:00
2017-11-15 21:18:59 +08:00
< a href = "../appendix/issues.html" >
2017-11-07 23:57:26 +08:00
2017-12-20 17:27:16 +08:00
< b > 8.6.< / b >
2017-11-15 21:18:59 +08:00
问题记录
2017-11-07 23:57:26 +08:00
< / a >
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "8.7" data-path = "../appendix/kubernetes-changelog.html" >
2017-12-11 18:32:18 +08:00
< a href = "../appendix/kubernetes-changelog.html" >
2017-12-20 17:27:16 +08:00
< b > 8.7.< / b >
2017-12-11 18:32:18 +08:00
2017-12-30 10:37:40 +08:00
Kubernetes版本更新日志
2017-12-11 18:32:18 +08:00
< / a >
< ul class = "articles" >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "8.7.1" data-path = "../appendix/kubernetes-1.7-changelog.html" >
2017-12-11 18:32:18 +08:00
< a href = "../appendix/kubernetes-1.7-changelog.html" >
2017-12-20 17:27:16 +08:00
< b > 8.7.1.< / b >
2017-12-11 18:32:18 +08:00
Kubernetes1.7更新日志
< / a >
2017-12-12 13:52:55 +08:00
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "8.7.2" data-path = "../appendix/kubernetes-1.8-changelog.html" >
2017-12-12 13:52:55 +08:00
< a href = "../appendix/kubernetes-1.8-changelog.html" >
2017-12-20 17:27:16 +08:00
< b > 8.7.2.< / b >
2017-12-12 13:52:55 +08:00
Kubernetes1.8更新日志
< / a >
2017-12-16 10:50:25 +08:00
< / li >
2017-12-20 17:27:16 +08:00
< li class = "chapter " data-level = "8.7.3" data-path = "../appendix/kubernetes-1.9-changelog.html" >
2017-12-16 10:50:25 +08:00
< a href = "../appendix/kubernetes-1.9-changelog.html" >
2017-12-20 17:27:16 +08:00
< b > 8.7.3.< / b >
2017-12-16 10:50:25 +08:00
Kubernetes1.9更新日志
< / a >
2018-03-27 10:29:19 +08:00
< / li >
< li class = "chapter " data-level = "8.7.4" data-path = "../appendix/kubernetes-1.10-changelog.html" >
< a href = "../appendix/kubernetes-1.10-changelog.html" >
< b > 8.7.4.< / b >
Kubernetes1.10更新日志
< / a >
2018-07-02 23:19:37 +08:00
< / li >
< li class = "chapter " data-level = "8.7.5" data-path = "../appendix/kubernetes-1.11-changelog.html" >
< a href = "../appendix/kubernetes-1.11-changelog.html" >
< b > 8.7.5.< / b >
Kubernetes1.11更新日志
< / a >
2018-09-28 10:59:50 +08:00
< / li >
< li class = "chapter " data-level = "8.7.6" data-path = "../appendix/kubernetes-1.12-changelog.html" >
< a href = "../appendix/kubernetes-1.12-changelog.html" >
< b > 8.7.6.< / b >
Kubernetes1.12更新日志
< / a >
2018-12-04 12:57:02 +08:00
< / li >
< li class = "chapter " data-level = "8.7.7" data-path = "../appendix/kubernetes-1.13-changelog.html" >
< a href = "../appendix/kubernetes-1.13-changelog.html" >
< b > 8.7.7.< / b >
Kubernetes1.13更新日志
< / a >
2017-12-11 18:32:18 +08:00
< / li >
< / ul >
< / li >
2017-12-27 12:29:33 +08:00
< li class = "chapter " data-level = "8.8" data-path = "../appendix/summary-and-outlook.html" >
< a href = "../appendix/summary-and-outlook.html" >
< b > 8.8.< / b >
Kubernetes及云原生年度总结及展望
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "8.8.1" data-path = "../appendix/kubernetes-and-cloud-native-summary-in-2017-and-outlook-for-2018.html" >
< a href = "../appendix/kubernetes-and-cloud-native-summary-in-2017-and-outlook-for-2018.html" >
< b > 8.8.1.< / b >
Kubernetes与云原生2017年年终总结及2018年展望
< / a >
< / li >
< / ul >
< / li >
2018-05-09 23:48:41 +08:00
< li class = "chapter " data-level = "8.9" data-path = "../appendix/about-kcsp.html" >
< a href = "../appendix/about-kcsp.html" >
< b > 8.9.< / b >
Kubernetes认证服务提供商( KCSP) 说明
< / a >
< / li >
< li class = "chapter " data-level = "8.10" data-path = "../appendix/about-cka-candidate.html" >
< a href = "../appendix/about-cka-candidate.html" >
< b > 8.10.< / b >
认证Kubernetes管理员( CKA) 说明
< / a >
< / li >
2017-11-07 23:57:26 +08:00
< li class = "divider" > < / li >
< li >
< a href = "https://www.gitbook.com" target = "blank" class = "gitbook-link" >
本书使用 GitBook 发布
< / a >
< / li >
< / ul >
< / nav >
< / div >
< div class = "book-body" >
< div class = "body-inner" >
< div class = "book-header" role = "navigation" >
<!-- Title -->
< h1 >
< i class = "fa fa-circle-o-notch fa-spin" > < / i >
2017-11-15 21:18:59 +08:00
< a href = ".." > 安装和拓展Istio service mesh< / a >
2017-11-07 23:57:26 +08:00
< / h1 >
< / div >
< div class = "page-wrapper" tabindex = "-1" role = "main" >
< div class = "page-inner" >
< div class = "search-plus" id = "book-search-results" >
< div class = "search-noresults" >
< section class = "normal markdown-section" >
2018-09-25 22:13:40 +08:00
< html > < head > < / head > < body > < h1 id = "安装和拓展-istio-mesh" > 安 装 和 拓 展 Istio mesh< / h1 >
2018-12-11 20:45:49 +08:00
< p > < strong > 注 意 : 本 文 档 已 失 效 , 请 浏 览 < a href = "https://istio.io/zh" target = "_blank" > Istio 官 方 文 档 < / a > 。 本 书 中 的 Service Mesh 章 节 已 不 再 维 护 , 请 转 到 < a href = "https://jimmysong.io/istio-handbook" target = "_blank" > istio-handbook< / a > 中 浏 览 。 < / strong > < / p >
2017-11-07 23:57:26 +08:00
< h2 id = "前置条件" > 前 置 条 件 < / h2 >
2018-09-25 22:13:40 +08:00
< p > 下 面 的 操 作 说 明 需 要 您 可 以 访 问 kubernetes < strong > 1.7.3 后 更 高 版 本 < / strong > 的 集 群 , 并 且 启 用 了 < a href = "https://kubernetes.io/docs/admin/authorization/rbac/" target = "_blank" > RBAC (基 于 角 色 的 访 问 控 制 )< / a > 。 您 需 要 安 装 了 < strong > 1.7.3 或 更 高 版 本 < / strong > 的 < code > kubectl< / code > 命 令 。 如 果 您 希 望 启 用 自 动 注 入 sidecar, 您 需 要 启 用 kubernetes 集 群 的 alpha 功 能 。 < / p >
2017-11-07 23:57:26 +08:00
< blockquote >
2018-09-25 22:13:40 +08:00
< p > 注 意 : 如 果 您 安 装 了 Istio 0.1.x, 在 安 装 新 版 本 前 请 先 卸 载 它 们 ( 包 括 已 启 用 Istio 应 用 程 序 Pod 中 的 sidecar) 。 < / p >
2017-11-07 23:57:26 +08:00
< / blockquote >
< ul >
< li > < p > 取 决 于 您 的 kubernetes 提 供 商 : < / p >
< ul >
< li > < p > 本 地 安 装 Istio, 安 装 最 新 版 本 的 < a href = "https://kubernetes.io/docs/getting-started-guides/minikube/" target = "_blank" > Minikube< / a > (version 0.22.1 或 者 更 高 )。 < / p >
< / li >
< li > < p > < a href = "https://cloud.google.com/container-engine" target = "_blank" > Google Container Engine< / a > < / p >
< ul >
2018-02-20 18:00:08 +08:00
< li > < p > 使 用 kubectl 获 取 证 书 ( 使 用 您 自 己 的 集 群 的 名 字 替 换 < code > < span class = "token tag" > < span class = "token tag" > < span class = "token punctuation" > < < / span > cluster-name< / span > < span class = "token punctuation" > > < / span > < / span > < / code > , 使 用 集 群 实 际 所 在 的 位 置 替 换 < code > < span class = "token tag" > < span class = "token tag" > < span class = "token punctuation" > < < / span > zone< / span > < span class = "token punctuation" > > < / span > < / span > < / code > ) : < / p >
< pre class = "language-" > < code class = "lang-bash" > gcloud container clusters get-credentials < span class = "token operator" > < < / span > cluster-name< span class = "token operator" > > < / span > --zone < span class = "token operator" > < < / span > zone< span class = "token operator" > > < / span > --project < span class = "token operator" > < < / span > project-name< span class = "token operator" > > < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< li > < p > 将 集 群 管 理 员 权 限 授 予 当 前 用 户 ( 需 要 管 理 员 权 限 才 能 为 Istio创 建 必 要 的 RBAC规 则 ) : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl create clusterrolebinding cluster-admin-binding --clusterrole< span class = "token operator" > =< / span > cluster-admin --user< span class = "token operator" > =< / span > < span class = "token variable" > < span class = "token variable" > $(< / span > gcloud config get-value core/account< span class = "token variable" > )< / span > < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< / ul >
< / li >
< li > < p > < a href = "https://www.ibm.com/cloud-computing/bluemix/containers" target = "_blank" > IBM Bluemix Container Service< / a > < / p >
< ul >
< li > < p > 使 用 kubectl 获 取 证 书 ( 使 用 您 自 己 的 集 群 的 名 字 替 换 ) : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token operator" > < < / span > cluster-name< span class = "token operator" > > < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token variable" > < span class = "token variable" > $(< / span > bx cs cluster-config < span class = "token operator" > < < / span > cluster-name< span class = "token operator" > > < / span > < span class = "token operator" > |< / span > < span class = "token function" > grep< / span > < span class = "token string" > " export KUBECONFIG" < / span > < span class = "token variable" > )< / span > < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< / ul >
< / li >
< li > < p > < a href = "https://www.openshift.org/" target = "_blank" > Openshift Origin< / a > 3.7 或 者 以 上 版 本 : < / p >
< ul >
< li > < p > 默 认 情 况 下 , Openshift 不 允 许 以 UID 0运 行 容 器 。 为 Istio 的 入 口 ( ingress) 和 出 口 ( egress) service account 启 用 使 用 UID 0运 行 的 容 器 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > oc adm policy add-scc-to-user anyuid -z istio-ingress-service-account -n istio-system
2017-11-07 23:57:26 +08:00
oc adm policy add-scc-to-user anyuid -z istio-egress-service-account -n istio-system
oc adm policy add-sc-to-user anyuid -z default -n istio-system
< / code > < / pre >
< / li >
< li > < p > 运 行 应 用 程 序 Pod 的 service account 需 要 特 权 安 全 性 上 下 文 限 制 , 以 此 作 为 sidecar 注 入 的 一 部 分 :< / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > oc adm policy add-scc-to-user privileged -z default -n < span class = "token operator" > < < / span > target-namespace< span class = "token operator" > > < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< li > < p > 安 装 或 升 级 Kubernetes 命 令 行 工 具 < a href = "https://kubernetes.io/docs/tasks/tools/install-kubectl/" target = "_blank" > kubectl< / a > 以 匹 配 您 的 集 群 版 本 ( 1.7或 以 上 版 本 ) 。 < / p >
< / li >
< / ul >
< h2 id = "安装步骤" > 安 装 步 骤 < / h2 >
< p > 不 论 对 于 哪 个 Istio 发 行 版 , 都 安 装 到 < code > istio-system< / code > namespace 下 , 即 可 以 管 理 所 有 其 它 namespace 下 的 微 服 务 。 < / p >
< ol >
< li > < p > 到 < a href = "https://github.com/istio/istio/releases" target = "_blank" > Istio release< / a > 页 面 上 , 根 据 您 的 操 作 系 统 下 载 对 应 的 发 行 版 。 如 果 您 使 用 的 是 MacOS 或 者 Linux 系 统 , 可 以 使 用 下 面 的 额 命 令 自 动 下 载 和 解 压 最 新 的 发 行 版 : < / p >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > curl< / span > -L https://git.io/getLatestIstio < span class = "token operator" > |< / span > sh -
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< li > < p > 解 压 安 装 文 件 , 切 换 到 文 件 所 在 目 录 。 安 装 文 件 目 录 下 包 含 : < / p >
< ul >
< li > < code > install/< / code > 目 录 下 是 kubernetes 使 用 的 < code > .yaml< / code > 安 装 文 件 < / li >
< li > < code > samples/< / code > 目 录 下 是 示 例 程 序 < / li >
< li > < code > istioctl< / code > 客 户 端 二 进 制 文 件 在 < code > bin< / code > 目 录 下 。 < code > istioctl< / code > 文 件 用 户 手 动 注 入 Envoy sidecar 代 理 、 创 建 路 由 和 策 略 等 。 < / li >
< li > < code > istio.VERSION< / code > 配 置 文 件 < / li >
< / ul >
< / li >
< li > < p > 切 换 到 istio 包 的 解 压 目 录 。 例 如 istio-0.2.7: < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > cd< / span > istio-0.2.7
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< li > < p > 将 < code > istioctl< / code > 客 户 端 二 进 制 文 件 加 到 PATH 中 。 < / p >
< p > 例 如 , 在 MacOS 或 Linux 系 统 上 执 行 下 面 的 命 令 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > export< / span > PATH< span class = "token operator" > =< / span > < span class = "token variable" > $PWD< / span > /bin:< span class = "token variable" > $PATH< / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< li > < p > 安 装 Istio 的 核 心 部 分 。 选 择 面 两 个 < strong > 互 斥 < / strong > 选 项 中 的 之 一 : < / p >
2018-09-25 22:13:40 +08:00
< p > a) 安 装 Istio 的 时 候 不 启 用 sidecar 之 间 的 TLS 双 向 认 证 : < / p >
2017-11-07 23:57:26 +08:00
< p > 为 具 有 现 在 应 用 程 序 的 集 群 选 择 该 选 项 , 使 用 Istio sidecar 的 服 务 需 要 能 够 与 非 Istio Kubernetes 服 务 以 及 使 用 < a href = "https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/" target = "_blank" > liveliness 和 readiness 探 针 < / a > 、 headless service 和 StatefulSet 的 应 用 程 序 通 信 。 < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f install/kubernetes/istio.yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > < strong > 或 者 < / strong > < / p >
2018-09-25 22:13:40 +08:00
< p > b) 安 装 Istio 的 时 候 启 用 sidecar 之 间 的 TLS 双 向 认 证 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f install/kubernetes/istio-auth.yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 这 两 个 选 项 都 会 创 建 < code > istio-system< / code > 命 名 空 间 以 及 所 需 的 RBAC 权 限 , 并 部 署 Istio-Pilot、 Istio-Mixer、 Istio-Ingress、 Istio-Egress 和 Istio-CA( 证 书 颁 发 机 构 ) 。 < / p >
< / li >
2018-09-25 22:13:40 +08:00
< li > < p > < em > 可 选 的 < / em > : 如 果 您 的 kubernetes 集 群 开 启 了 alpha 功 能 , 并 想 要 启 用 自 动 注 入 sidecar, 需 要 安 装 Istio-Initializer: < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f install/kubernetes/istio-initializer.yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< / ol >
< h2 id = "验证安装" > 验 证 安 装 < / h2 >
< ol >
< li > < p > 确 认 系 列 kubernetes 服 务 已 经 部 署 了 : < code > istio-pilot< / code > 、 < code > istio-mixer< / code > 、 < code > istio-ingress< / code > 、 < code > istio-egress< / code > : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl get svc -n istio-system
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > NAME CLUSTER-IP EXTERNAL-IP PORT< span class = "token punctuation" > (< / span > S< span class = "token punctuation" > )< / span > AGE
istio-egress 10.83.247.89 < span class = "token operator" > < < / span > none< span class = "token operator" > > < / span > 80/TCP 5h
2017-11-07 23:57:26 +08:00
istio-ingress 10.83.245.171 35.184.245.62 80:32730/TCP,443:30574/TCP 5h
2018-02-20 18:00:08 +08:00
istio-pilot 10.83.251.173 < span class = "token operator" > < < / span > none< span class = "token operator" > > < / span > 8080/TCP,8081/TCP 5h
istio-mixer 10.83.244.253 < span class = "token operator" > < < / span > none< span class = "token operator" > > < / span > 9091/TCP,9094/TCP,42422/TCP 5h
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< p > 注 意 : 如 果 您 运 行 的 集 群 不 支 持 外 部 负 载 均 衡 器 ( 如 minikube) , < code > istio-ingress< / code > 服 务 的 < code > EXTERNAL-IP< / code > 显 示 < code > < span class = "token tag" > < span class = "token tag" > < span class = "token punctuation" > < < / span > pending< / span > < span class = "token punctuation" > > < / span > < / span > < / code > 。 你 必 须 改 为 使 用 NodePort service 或 者 端 口 转 发 方 式 来 访 问 应 用 程 序 。 < / p >
2017-11-07 23:57:26 +08:00
< / li >
2017-11-22 11:33:49 +08:00
< li > < p > 确 认 对 应 的 Kubernetes pod 已 部 署 并 且 所 有 的 容 器 都 启 动 并 运 行 : < code > istio-pilot-*< / code > 、 < code > istio-mixer-*< / code > 、 < code > istio-ingress-*< / code > 、 < code > istio-egress-*< / code > 、 < code > istio-ca-*< / code > , < code > istio-initializer-*< / code > 是 可 以 选 的 。 < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl get pods -n istio-system
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > istio-ca-3657790228-j21b9 1/1 Running 0 5h
2017-11-07 23:57:26 +08:00
istio-egress-1684034556-fhw89 1/1 Running 0 5h
istio-ingress-1842462111-j3vcs 1/1 Running 0 5h
istio-initializer-184129454-zdgf5 1/1 Running 0 5h
istio-pilot-2275554717-93c43 1/1 Running 0 5h
istio-mixer-2104784889-20rm8 2/2 Running 0 5h
< / code > < / pre >
< / li >
< / ol >
< h2 id = "部署应用" > 部 署 应 用 < / h2 >
2018-09-25 22:13:40 +08:00
< p > 您 可 以 部 署 自 己 的 应 用 或 者 示 例 应 用 程 序 如 BookInfo。 注 意 : 应 用 程 序 必 须 使 用 HTTP/1.1 或 HTTP/2.0 协 议 来 传 输 HTTP 流 量 , 因 为 HTTP/1.0 已 经 不 再 支 持 。 < / p >
< p > 如 果 您 启 动 了 Istio-Initializer, 如 上 所 示 , 您 可 以 使 用 < code > kubectl create< / code > 直 接 部 署 应 用 。 Istio-Initializer 会 向 应 用 程 序 的 pod 中 自 动 注 入 Envoy 容 器 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl create -f < span class = "token operator" > < < / span > your-app-spec< span class = "token operator" > > < / span > .yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-09-25 22:13:40 +08:00
< p > 如 果 您 没 有 安 装 Istio-initializer 的 话 , 您 必 须 使 用 istioctl kube-inject 命 令 在 部 署 应 用 之 前 向 应 用 程 序 的 pod 中 手 动 注 入 Envoy 容 器 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl create -f < span class = "token operator" > < < / span > < span class = "token punctuation" > (< / span > istioctl kube-inject -f < span class = "token operator" > < < / span > your-app-spec< span class = "token operator" > > < / span > .yaml< span class = "token punctuation" > )< / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< h2 id = "卸载" > 卸 载 < / h2 >
< ul >
< li > < p > 卸 载 Istio initializer:< / p >
< p > 如 果 您 安 装 Isto 的 时 候 启 用 了 initializer, 请 卸 载 它 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl delete -f install/kubernetes/istio-initializer.yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< li > < p > 卸 载 Istio 核 心 组 件 。 对 于 某 一 Istio 版 本 , 删 除 RBAC 权 限 , < code > istio-system< / code > namespace, 和 该 命 名 空 间 的 下 的 各 层 级 资 源 。 < / p >
< p > 不 必 理 会 在 层 级 删 除 过 程 中 的 各 种 报 错 , 因 为 这 些 资 源 可 能 已 经 被 删 除 的 。 < / p >
< p > a) 如 果 您 在 安 装 Istio 的 时 候 关 闭 了 TLS 双 向 认 证 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl delete -f install/kubernetes/istio.yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > < strong > 或 者 < / strong > < / p >
< p > b) 如 果 您 在 安 装 Istio 的 时 候 启 用 到 了 TLS 双 向 认 证 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl delete -f install/kubernetes/istio-auth.yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< / ul >
< h1 id = "安装-istio-sidecar" > 安 装 Istio Sidecar< / h1 >
< h2 id = "pod-spec-需满足的条件" > Pod Spec 需 满 足 的 条 件 < / h2 >
< p > 为 了 成 为 Service Mesh 中 的 一 部 分 , kubernetes 集 群 中 的 每 个 Pod 都 必 须 满 足 如 下 条 件 : < / p >
< ol >
< li > < strong > Service 注 解 < / strong > : 每 个 pod 都 必 须 只 属 于 某 < strong > 一 个 < / strong > < a href = "https://kubernetes.io/docs/concepts/services-networking/service/" target = "_blank" > Kubernetes Service< / a > ( 当 前 不 支 持 一 个 pod 同 时 属 于 多 个 service) 。 < / li >
2018-02-20 18:00:08 +08:00
< li > < strong > 命 名 的 端 口 < / strong > : Service 的 端 口 必 须 命 名 。 端 口 的 名 字 必 须 遵 循 如 下 格 式 < code > < span class = "token tag" > < span class = "token tag" > < span class = "token punctuation" > < < / span > protocol< / span > < span class = "token punctuation" > > < / span > < / span > [-< span class = "token tag" > < span class = "token tag" > < span class = "token punctuation" > < < / span > suffix< / span > < span class = "token punctuation" > > < / span > < / span > ]< / code > , 可 以 是 http、 http2、 grpc、 mongo、 或 者 redis 作 为 < code > < span class = "token tag" > < span class = "token tag" > < span class = "token punctuation" > < < / span > protocol< / span > < span class = "token punctuation" > > < / span > < / span > < / code > , 这 样 才 能 使 用 Istio 的 路 由 功 能 。 例 如 < code > name: http2-foo< / code > 和 < code > name: http< / code > 都 是 有 效 的 端 口 名 称 , 而 < code > name: http2foo< / code > 不 是 。 如 果 端 口 的 名 称 是 不 可 识 别 的 前 缀 或 者 未 命 名 , 那 么 该 端 口 上 的 流 量 就 会 作 为 普 通 的 TCP 流 量 ( 除 非 使 用 < code > Protocol: UDP< / code > 明 确 声 明 使 用 UDP 端 口 ) 。 < / li >
2017-11-07 23:57:26 +08:00
< li > < strong > 带 有 app label 的 Deployment< / strong > : 我 们 建 议 kubernetes 的 < code > Deploymenet< / code > 资 源 的 配 置 文 件 中 为 Pod 明 确 指 定 < code > app< / code > label。 每 个 Deployment 的 配 置 中 都 需 要 有 个 不 同 的 有 意 义 的 < code > app< / code > 标 签 。 < code > app< / code > label 用 于 在 分 布 式 坠 重 中 添 加 上 下 文 信 息 。 < / li >
2017-11-22 11:33:49 +08:00
< li > < strong > Mesh 中 的 每 个 pod 里 都 有 一 个 Sidecar< / strong > : 最 后 , Mesh 中 的 每 个 pod 都 必 须 运 行 与 Istio 兼 容 的 sidecar。 下 面 部 分 介 绍 了 将 sidecar 注 入 到 pod 中 的 两 种 方 法 : 使 用 < code > istioctl< / code > 命 令 行 工 具 手 动 注 入 , 或 者 使 用 istio initializer 自 动 注 入 。 注 意 sidecar 不 涉 及 到 容 器 间 的 流 量 , 因 为 它 们 都 在 同 一 个 pod 中 。 < / li >
2017-11-07 23:57:26 +08:00
< / ol >
< h2 id = "手动注入-sidecar" > 手 动 注 入 sidecar< / h2 >
2018-09-25 22:13:40 +08:00
< p > < code > istioctl< / code > 命 令 行 中 有 一 个 称 为 kube-inject 的 便 利 工 具 , 使 用 它 可 以 将 Istio 的 sidecar 规 范 添 加 到 kubernetes 工 作 负 载 的 规 范 配 置 中 。 与 Initializer 程 序 不 同 , < code > kube-inject< / code > 只 是 将 YAML 规 范 转 换 成 包 含 Istio sidecar 的 规 范 。 您 需 要 使 用 标 准 的 工 具 如 < code > kubectl< / code > 来 部 署 修 改 后 的 YAML。 例 如 , 以 下 命 令 将 sidecar 添 加 到 sleep.yaml 文 件 中 指 定 的 pod 中 , 并 将 修 改 后 的 规 范 提 交 给 kubernetes: < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f < span class = "token operator" > < < / span > < span class = "token punctuation" > (< / span > istioctl kube-inject -f samples/sleep/sleep.yaml< span class = "token punctuation" > )< / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< h3 id = "示例" > 示 例 < / h3 >
< p > 我 们 来 试 一 试 将 Istio sidecar 注 入 到 sleep 服 务 中 去 。 < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f < span class = "token operator" > < < / span > < span class = "token punctuation" > (< / span > istioctl kube-inject -f samples/sleep/sleep.yaml< span class = "token punctuation" > )< / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > Kube-inject 子 命 令 将 Istio sidecar 和 init 容 器 注 入 到 deployment 配 置 中 , 转 换 后 的 输 出 如 下 所 示 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-yaml" > < span class = "token punctuation" > ...< / span > 略 过 < span class = "token punctuation" > ...< / span >
< span class = "token punctuation" > ---< / span >
< span class = "token key atrule" > apiVersion< / span > < span class = "token punctuation" > :< / span > extensions/v1beta1
< span class = "token key atrule" > kind< / span > < span class = "token punctuation" > :< / span > Deployment
< span class = "token key atrule" > metadata< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > annotations< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > sidecar.istio.io/status< / span > < span class = "token punctuation" > :< / span > injected< span class = "token punctuation" > -< / span > version< span class = "token punctuation" > -< / span > root@69916ebba0fc< span class = "token punctuation" > -< / span > 0.2.6< span class = "token punctuation" > -< / span > 081ffece00c82cb9de33cd5617682999aee5298d
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > sleep
< span class = "token key atrule" > spec< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > replicas< / span > < span class = "token punctuation" > :< / span > < span class = "token number" > 1< / span >
< span class = "token key atrule" > template< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > metadata< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > annotations< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > sidecar.istio.io/status< / span > < span class = "token punctuation" > :< / span > injected< span class = "token punctuation" > -< / span > version< span class = "token punctuation" > -< / span > root@69916ebba0fc< span class = "token punctuation" > -< / span > 0.2.6< span class = "token punctuation" > -< / span > 081ffece00c82cb9de33cd5617682999aee5298d
< span class = "token key atrule" > labels< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > app< / span > < span class = "token punctuation" > :< / span > sleep
< span class = "token key atrule" > spec< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > containers< / span > < span class = "token punctuation" > :< / span >
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > sleep
< span class = "token key atrule" > image< / span > < span class = "token punctuation" > :< / span > tutum/curl
< span class = "token key atrule" > command< / span > < span class = "token punctuation" > :< / span > < span class = "token punctuation" > [< / span > < span class = "token string" > " /bin/sleep" < / span > < span class = "token punctuation" > ,< / span > < span class = "token string" > " infinity" < / span > < span class = "token punctuation" > ]< / span >
< span class = "token key atrule" > imagePullPolicy< / span > < span class = "token punctuation" > :< / span > IfNotPresent
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > istio< span class = "token punctuation" > -< / span > proxy
< span class = "token key atrule" > image< / span > < span class = "token punctuation" > :< / span > docker.io/istio/proxy_debug< span class = "token punctuation" > :< / span > 0.2.6
< span class = "token key atrule" > args< / span > < span class = "token punctuation" > :< / span >
< span class = "token punctuation" > ...< / span > 略 过 < span class = "token punctuation" > ...< / span >
< span class = "token key atrule" > initContainers< / span > < span class = "token punctuation" > :< / span >
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > istio< span class = "token punctuation" > -< / span > init
< span class = "token key atrule" > image< / span > < span class = "token punctuation" > :< / span > docker.io/istio/proxy_init< span class = "token punctuation" > :< / span > 0.2.6
< span class = "token key atrule" > imagePullPolicy< / span > < span class = "token punctuation" > :< / span > IfNotPresent
< span class = "token key atrule" > args< / span > < span class = "token punctuation" > :< / span >
< span class = "token punctuation" > ...< / span > 略 过 < span class = "token punctuation" > ...< / span >
< span class = "token punctuation" > ---< / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 注 入 sidecar 的 关 键 在 于 < code > initContainers< / code > 和 istio-proxy 容 器 。 为 了 简 洁 起 见 , 上 述 输 出 有 所 省 略 。 < / p >
< p > 验 证 sleep deployment 中 包 含 sidecar。 injected-version 对 应 于 注 入 的 sidecar 镜 像 的 版 本 和 镜 像 的 TAG。 在 您 的 设 置 的 可 能 会 有 所 不 同 。 < / p >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token keyword" > echo< / span > < span class = "token variable" > < span class = "token variable" > $(< / span > kubectl get deployment < span class = "token function" > sleep< / span > -o jsonpath< span class = "token operator" > =< / span > < span class = "token string" > ' {.metadata.annotations.sidecar\.istio\.io\/status}' < / span > < span class = "token variable" > )< / span > < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > injected-version-9c7c291eab0a522f8033decd0f5b031f5ed0e126
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 你 可 以 查 看 包 含 注 入 的 容 器 和 挂 载 的 volume 的 完 整 deployment 信 息 。 < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl get deployment < span class = "token function" > sleep< / span > -o yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< h2 id = "自动注入-sidecar" > 自 动 注 入 sidecar< / h2 >
< p > Istio sidecar 可 以 在 部 署 之 前 使 用 Kubernetes 中 一 个 名 为 < a href = "https://kubernetes.io/docs/admin/extensible-admission-controllers/#what-are-initializers" target = "_blank" > Initializer< / a > 的 Alpha 功 能 自 动 注 入 到 Pod 中 。 < / p >
< blockquote >
< p > 注 意 : Kubernetes InitializerConfiguration没 有 命 名 空 间 , 适 用 于 整 个 集 群 的 工 作 负 载 。 不 要 在 共 享 测 试 环 境 中 启 用 此 功 能 。 < / p >
< / blockquote >
< h3 id = "前置条件" > 前 置 条 件 < / h3 >
< p > Initializer 需 要 在 集 群 设 置 期 间 显 示 启 用 , 如 < a href = "https://kubernetes.io/docs/admin/extensible-admission-controllers/#enable-initializers-alpha-feature" target = "_blank" > 此 处 < / a > 所 述 。
假 设 集 群 中 已 启 用 RBAC, 则 可 以 在 不 同 环 境 中 启 用 初 始 化 程 序 , 如 下 所 示 : < / p >
< ul >
< li > < p > < em > GKE< / em > < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > gcloud container clusters create NAME \
2017-11-07 23:57:26 +08:00
--enable-kubernetes-alpha \
2018-02-20 18:00:08 +08:00
--machine-type< span class = "token operator" > =< / span > n1-standard-2 \
--num-nodes< span class = "token operator" > =< / span > 4 \
2017-11-07 23:57:26 +08:00
--no-enable-legacy-authorization \
2018-02-20 18:00:08 +08:00
--zone< span class = "token operator" > =< / span > ZONE
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< li > < p > < em > IBM Bluemix< / em > kubernetes v1.7.4 或 更 高 版 本 的 集 群 已 默 认 启 用 initializer。 < / p >
< / li >
< li > < p > < em > Minikube< / em > < / p >
< p > Minikube v0.22.1 或 更 高 版 本 需 要 为 GenericAdmissionWebhook 功 能 配 置 适 当 的 证 书 。 获 取 最 新 版 本 : < a href = "https://github.com/kubernetes/minikube/releases" target = "_blank" > https://github.com/kubernetes/minikube/releases< / a > .< / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > minikube start \
--extra-config< span class = "token operator" > =< / span > apiserver.Admission.PluginNames< span class = "token operator" > =< / span > < span class = "token string" > " Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,GenericAdmissionWebhook,ResourceQuota" < / span > \
--kubernetes-version< span class = "token operator" > =< / span > v1.7.5
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< / ul >
< h3 id = "安装" > 安 装 < / h3 >
< p > 您 现 在 可 以 从 Istio 安 装 根 目 录 设 置 Istio Initializer。 < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f install/kubernetes/istio-initializer.yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 将 会 创 建 下 列 资 源 : < / p >
< ol >
< li > < code > istio-sidecar< / code > InitializerConfiguration 资 源 , 指 定 Istio sidecar 注 入 的 资 源 。 默 认 情 况 下 Istio sidecar 将 被 注 入 到 < code > deployment< / code > 、 < code > statefulset< / code > 、 < code > job< / code > 和 < code > daemonset< / code > 中 。 < / li >
2018-09-25 22:13:40 +08:00
< li > < code > istio-inject< / code > ConfigMap, initializer 的 默 认 注 入 策 略 , 一 组 初 始 化 namespace, 以 及 注 入 时 使 用 的 模 版 参 数 。 这 些 配 置 的 详 细 说 明 请 参 考 配 置 选 项 。 < / li >
2017-11-07 23:57:26 +08:00
< li > < code > istio-initializer< / code > Deployment, 运 行 initializer 控 制 器 。 < / li >
< li > < code > istio-initializer-service-account< / code > ServiceAccount, 用 于 < code > istio-initializer< / code > deployment。 < code > ClusterRole< / code > 和 < code > ClusterRoleBinding< / code > 在 < code > install/kubernetes/istio.yaml< / code > 中 定 义 。 注 意 所 有 的 资 源 类 型 都 需 要 有 < code > initialize< / code > 和 < code > patch< / code > 。 正 式 处 于 这 个 原 因 , initializer 要 作 为 deployment 的 一 部 分 来 运 行 而 不 是 嵌 入 到 其 它 控 制 器 中 , 例 如 istio-pilot。 < / li >
< / ol >
< h3 id = "验证" > 验 证 < / h3 >
< p > 为 了 验 证 sidecar 是 否 成 功 注 入 , 为 上 面 的 sleep 服 务 创 建 deployment 和 service。 < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f samples/sleep/sleep.yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 验 证 sleep deployment 中 包 含 sidecar。 injected-version 对 应 于 注 入 的 sidecar 镜 像 的 版 本 和 镜 像 的 TAG。 在 您 的 设 置 的 可 能 会 有 所 不 同 。 < / p >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > $ < span class = "token keyword" > echo< / span > < span class = "token variable" > < span class = "token variable" > $(< / span > kubectl get deployment < span class = "token function" > sleep< / span > -o jsonpath< span class = "token operator" > =< / span > < span class = "token string" > ' {.metadata.annotations.sidecar\.istio\.io\/status}' < / span > < span class = "token variable" > )< / span > < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > injected-version-9c7c291eab0a522f8033decd0f5b031f5ed0e126
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 你 可 以 查 看 包 含 注 入 的 容 器 和 挂 载 的 volume 的 完 整 deployment 信 息 。 < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl get deployment < span class = "token function" > sleep< / span > -o yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< h3 id = "了解发生了什么" > 了 解 发 生 了 什 么 < / h3 >
< p > 以 下 是 将 工 作 负 载 提 交 给 Kubernetes 后 发 生 的 情 况 : < / p >
< p > 1) kubernetes 将 < code > sidecar.initializer.istio.io< / code > 添 加 到 工 作 负 载 的 pending initializer 列 表 中 。 < / p >
< p > 2) istio-initializer 控 制 器 观 察 到 有 一 个 新 的 未 初 始 化 的 工 作 负 载 被 创 建 了 。 pending initializer 列 表 中 的 第 一 个 个 将 作 为 < code > sidecar.initializer.istio.io< / code > 的 名 称 。 < / p >
2018-09-25 22:13:40 +08:00
< p > 3) istio-initializer 检 查 它 是 否 负 责 初 始 化 namespace 中 的 工 作 负 载 。 如 果 没 有 为 该 namespace 配 置 initializer, 则 不 需 要 做 进 一 步 的 工 作 , 而 且 initializer 会 忽 略 工 作 负 载 。 默 认 情 况 下 , initializer 负 责 所 有 的 namespace。 < / p >
2017-11-07 23:57:26 +08:00
< p > 4) istio-initializer 将 自 己 从 pending initializer 中 移 除 。 如 果 pending initializer 列 表 非 空 , 则 Kubernetes 不 回 结 束 工 作 负 载 的 创 建 。 错 误 配 置 的 initializer 意 味 着 破 损 的 集 群 。 < / p >
< p > 5) istio-initializer 检 查 mesh 的 默 认 注 入 策 略 , 并 检 查 所 有 单 个 工 作 负 载 的 策 略 负 载 值 , 以 确 定 是 否 需 要 注 入 sidecar。 < / p >
< p > 6) istio-initializer 向 工 作 负 载 中 注 入 sidecar 模 板 , 然 后 通 过 PATCH 向 kubernetes 提 交 。 < / p >
< p > 7) kubernetes 正 常 的 完 成 了 工 作 负 载 的 创 建 , 并 且 工 作 负 载 中 已 经 包 含 了 注 入 的 sidecar。 < / p >
< h3 id = "配置选项" > 配 置 选 项 < / h3 >
< p > istio-initializer 具 有 用 于 注 入 的 全 局 默 认 策 略 以 及 每 个 工 作 负 载 覆 盖 配 置 。 全 局 策 略 由 < code > istio-inject< / code > ConfigMap 配 置 ( 请 参 见 下 面 的 示 例 ) 。 Initializer pod 必 须 重 新 启 动 以 采 用 新 的 配 置 更 改 。 < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-yaml" > < span class = "token key atrule" > apiVersion< / span > < span class = "token punctuation" > :< / span > v1
< span class = "token key atrule" > kind< / span > < span class = "token punctuation" > :< / span > ConfigMap
< span class = "token key atrule" > metadata< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > istio< span class = "token punctuation" > -< / span > inject
< span class = "token key atrule" > namespace< / span > < span class = "token punctuation" > :< / span > istio< span class = "token punctuation" > -< / span > system
< span class = "token key atrule" > data< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > config< / span > < span class = "token punctuation" > :< / span > < span class = "token punctuation" > |< / span > < span class = "token punctuation" > -< / span >
< span class = "token key atrule" > policy< / span > < span class = "token punctuation" > :< / span > < span class = "token string" > " enabled" < / span >
2018-09-25 22:13:40 +08:00
< span class = "token key atrule" > namespaces< / span > < span class = "token punctuation" > :< / span > < span class = "token punctuation" > [< / span > < span class = "token string" > " " < / span > < span class = "token punctuation" > ]< / span > < span class = "token comment" > # everything, aka v1.NamepsaceAll, aka cluster-wide< / span >
< span class = "token comment" > # excludeNamespaces: [" ns1" , " ns2" ]< / span >
2018-02-20 18:00:08 +08:00
< span class = "token key atrule" > initializerName< / span > < span class = "token punctuation" > :< / span > < span class = "token string" > " sidecar.initializer.istio.io" < / span >
< span class = "token key atrule" > params< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > initImage< / span > < span class = "token punctuation" > :< / span > docker.io/istio/proxy_init< span class = "token punctuation" > :< / span > 0.2.6
< span class = "token key atrule" > proxyImage< / span > < span class = "token punctuation" > :< / span > docker.io/istio/proxy< span class = "token punctuation" > :< / span > 0.2.6
< span class = "token key atrule" > verbosity< / span > < span class = "token punctuation" > :< / span > < span class = "token number" > 2< / span >
< span class = "token key atrule" > version< / span > < span class = "token punctuation" > :< / span > 0.2.6
< span class = "token key atrule" > meshConfigMapName< / span > < span class = "token punctuation" > :< / span > istio
< span class = "token key atrule" > imagePullPolicy< / span > < span class = "token punctuation" > :< / span > IfNotPresent
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 下 面 是 配 置 中 的 关 键 参 数 : < / p >
< ol >
< li > < p > < strong > policy< / strong > < / p >
< p > < code > off< / code > - 禁 用 initializer 修 改 资 源 。 pending 的 < code > sidecar.initializer.istio.io< / code > initializer 将 被 删 除 以 避 免 创 建 阻 塞 资 源 。 < / p >
< p > < code > disable< / code > - initializer 不 会 注 入 sidecar 到 watch 的 所 有 namespace 的 资 源 中 。 启 用 sidecar 注 入 请 将 < code > sidecar.istio.io/inject< / code > 注 解 的 值 设 置 为 < code > true< / code > 。 < / p >
< p > < code > enable< / code > - initializer 将 会 注 入 sidecar 到 watch 的 所 有 namespace 的 资 源 中 。 禁 用 sidecar 注 入 请 将 < code > sidecar.istio.io/inject< / code > 注 解 的 值 设 置 为 < code > false< / code > 。 < / p >
< / li >
< li > < p > < strong > namespaces< / strong > < / p >
< p > 要 watch 和 初 始 化 的 namespace 列 表 。 特 殊 的 < code > " " < / code > namespace 对 应 于 < code > v1.NamespaceAll< / code > 并 配 置 初 始 化 程 序 以 初 始 化 所 有 namespace。 < code > kube-system< / code > 、 < code > kube-publice< / code > 和 < code > istio-system< / code > 被 免 除 初 始 化 。 < / p >
< / li >
< / ol >
< ol >
< li > < p > < strong > excludeNamespaces< / strong > < / p >
< p > 从 Istio initializer 中 排 除 的 namespace 列 表 。 不 可 以 定 义 为 < code > v1.NamespaceAll< / code > 或 者 与 < code > namespaces< / code > 一 起 定 义 。 < / p >
< / li >
< / ol >
< ol >
< li > < p > < strong > initializerName< / strong > < / p >
< p > 这 必 须 与 InitializerConfiguration 中 initializer 设 定 项 的 名 称 相 匹 配 。 Initializer 只 处 理 匹 配 其 配 置 名 称 的 工 作 负 载 。 < / p >
< / li >
< / ol >
< ol >
< li > < p > < strong > params< / strong > < / p >
< p > 这 些 参 数 允 许 您 对 注 入 的 sidecar 进 行 有 限 的 更 改 。 更 改 这 些 值 不 会 影 响 已 部 署 的 工 作 负 载 。 < / p >
< / li >
< / ol >
< h3 id = "重写自动注入" > 重 写 自 动 注 入 < / h3 >
< p > 单 个 工 作 负 载 可 以 通 过 使 用 < code > sidecar.istio.io/inject< / code > 注 解 重 写 全 局 策 略 。 如 果 注 解 被 省 略 , 则 使 用 全 局 策 略 。 < / p >
< p > 如 果 注 解 的 值 是 < code > true< / code > , 则 不 管 全 局 策 略 如 何 , sidecar 都 将 被 注 入 。 < / p >
< p > 如 果 注 解 的 值 是 < code > false< / code > , 则 不 管 全 局 策 略 如 何 , sidecar 都 不 会 被 注 入 。 < / p >
< p > 下 表 显 示 全 局 策 略 和 每 个 工 作 负 载 覆 盖 的 组 合 。 < / p >
< table >
< thead >
< tr >
< th > policy< / th >
< th > workload annotation< / th >
< th > injected< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td > off< / td >
< td > N/A< / td >
< td > no< / td >
< / tr >
< tr >
< td > disabled< / td >
< td > omitted< / td >
< td > no< / td >
< / tr >
< tr >
< td > disabled< / td >
< td > false< / td >
< td > no< / td >
< / tr >
< tr >
< td > disabled< / td >
< td > true< / td >
< td > yes< / td >
< / tr >
< tr >
< td > enabled< / td >
< td > omitted< / td >
< td > yes< / td >
< / tr >
< tr >
< td > enabled< / td >
< td > false< / td >
< td > no< / td >
< / tr >
< tr >
< td > enabled< / td >
< td > true< / td >
< td > yes< / td >
< / tr >
< / tbody >
< / table >
< p > 例 如 , 即 使 全 局 策 略 是 < code > disable< / code > , 下 面 的 deployment 也 会 被 注 入 sidecar。 < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-yaml" > < span class = "token key atrule" > apiVersion< / span > < span class = "token punctuation" > :< / span > extensions/v1beta1
< span class = "token key atrule" > kind< / span > < span class = "token punctuation" > :< / span > Deployment
< span class = "token key atrule" > metadata< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > myapp
< span class = "token key atrule" > annotations< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > sidecar.istio.io/inject< / span > < span class = "token punctuation" > :< / span > < span class = "token string" > " true" < / span >
< span class = "token key atrule" > spec< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > replicas< / span > < span class = "token punctuation" > :< / span > < span class = "token number" > 1< / span >
< span class = "token key atrule" > template< / span > < span class = "token punctuation" > :< / span >
< span class = "token punctuation" > ...< / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 这 是 在 包 含 Istio 和 非 Istio 服 务 的 混 合 群 集 中 使 用 自 动 注 入 的 好 方 法 。 < / p >
< h3 id = "卸载-initializer" > 卸 载 Initializer< / h3 >
< p > 运 行 下 面 的 命 令 , 删 除 Istio initializer: < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl delete -f install/kubernetes/istio-initializer.yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 注 意 上 述 命 令 并 不 会 删 除 已 注 入 到 Pod 中 的 sidecar。 要 想 删 除 这 些 sidecar, 需 要 在 不 使 用 initializer 的 情 况 下 重 新 部 署 这 些 pod。 < / p >
< h1 id = "拓展-istio-mesh" > 拓 展 Istio Mesh< / h1 >
< p > 将 虚 拟 机 或 裸 机 集 成 到 部 署 在 kubernetes 集 群 上 的 Istio mesh 中 的 说 明 。 < / p >
< h2 id = "前置条件" > 前 置 条 件 < / h2 >
< ul >
2018-09-25 22:13:40 +08:00
< li > < p > 按 照 安 装 指 南 在 kubernetes 集 群 上 安 装 Istio service mesh。 < / p >
2017-11-07 23:57:26 +08:00
< / li >
< li > < p > 机 器 必 须 具 有 到 mesh 端 点 的 IP 地 址 连 接 。 这 通 常 需 要 一 个 VPC 或 者 VPN, 以 及 一 个 向 端 点 提 供 直 接 路 由 ( 没 有 NAT 或 者 防 火 墙 拒 绝 ) 的 容 器 网 络 。 及 其 不 需 要 访 问 有 Kubernetes 分 配 的 cluster IP。 < / p >
< / li >
< li > < p > 虚 拟 机 必 须 可 以 访 问 到 Istio 控 制 平 面 服 务 ( 如 Pilot、 Mixer、 CA) 和 Kubernetes DNS 服 务 器 。 通 常 使 用 < a href = "https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer" target = "_blank" > 内 部 负 载 均 衡 器 < / a > 来 实 现 。 < / p >
< p > 您 也 可 以 使 用 NodePort, 在 虚 拟 机 上 运 行 Istio 的 组 件 , 或 者 使 用 自 定 义 网 络 配 置 , 有 几 个 单 独 的 文 档 会 涵 盖 这 些 高 级 配 置 。 < / p >
< / li >
< / ul >
< h2 id = "安装步骤" > 安 装 步 骤 < / h2 >
< p > 安 装 过 程 包 括 准 备 用 于 拓 展 的 mesh 和 安 装 和 配 置 虚 拟 机 。 < / p >
< p > < a href = "https://raw.githubusercontent.com/istio/istio/master/install/tools/setupMeshEx.sh" target = "_blank" > install/tools/setupMeshEx.sh< / a > : 这 是 一 个 帮 助 大 家 设 置 kubernetes 环 境 的 示 例 脚 本 。 检 查 脚 本 内 容 和 支 持 的 环 境 变 量 ( 如 GCP_OPTS) 。 < / p >
< p > < a href = "https://raw.githubusercontent.com/istio/istio/master/install/tools/setupIstioVM.sh" target = "_blank" > install/tools/setupIstioVM.sh< / a > : 这 是 一 个 用 于 配 置 主 机 环 境 的 示 例 脚 本 。
您 应 该 根 据 您 的 配 置 工 具 和 DNS要 求 对 其 进 行 自 定 义 。 < / p >
< p > 准 备 要 拓 展 的 Kubernetes 集 群 : < / p >
< ul >
< li > 为 Kube DNS、 Pilot、 Mixer 和 CA 安 装 内 部 负 载 均 衡 器 ( ILB) 。 每 个 云 供 应 商 的 配 置 都 有 所 不 同 , 根 据 具 体 情 况 修 改 注 解 。 < / li >
< / ul >
< blockquote >
< p > 0.2.7 版 本 的 YAML 文 件 的 DNS ILB 的 namespace 配 置 不 正 确 。
使 用 < a href = "https://raw.githubusercontent.com/istio/istio/master/install/kubernetes/mesh-expansion.yaml" target = "_blank" > 这 一 个 < / a > 替 代 。
< code > setupMeshEx.sh< / code > 中 也 有 错 误 。 使 用 上 面 链 接 中 的 最 新 文 件 或 者 从 < a href = "https://github.com/istio/istio/" target = "_blank" > GitHub.com/istio/istio< / a > 克 隆 。 < / p >
< / blockquote >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f install/kubernetes/mesh-expansion.yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< ul >
< li > 生 成 要 部 署 到 虚 拟 机 上 的 Istio < code > cluster.env< / code > 配 置 。 该 文 件 中 包 含 要 拦 截 的 cluster IP 地 址 范 围 。 < / li >
< / ul >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > export< / span > GCP_OPTS< span class = "token operator" > =< / span > < span class = "token string" > " --zone MY_ZONE --project MY_PROJECT" < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > install/tools/setupMeshEx.sh generateClusterEnv MY_CLUSTER_NAME
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 该 示 例 生 成 的 文 件 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > cat< / span > cluster.env
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > ISTIO_SERVICE_CIDR< span class = "token operator" > =< / span > 10.63.240.0/20
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< ul >
< li > 产 生 虚 拟 机 使 用 的 DNS 配 置 文 件 。 这 样 可 以 让 虚 拟 机 上 的 应 用 程 序 解 析 到 集 群 中 的 服 务 名 称 , 这 些 名 称 将 被 sidecar 拦 截 和 转 发 。 < / li >
< / ul >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token comment" > # Make sure your kubectl context is set to your cluster< / span >
2017-11-07 23:57:26 +08:00
install/tools/setupMeshEx.sh generateDnsmasq
< / code > < / pre >
< p > 该 示 例 生 成 的 文 件 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > cat< / span > kubedns
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > server< span class = "token operator" > =< / span > /svc.cluster.local/10.150.0.7
address< span class = "token operator" > =< / span > /istio-mixer/10.150.0.8
address< span class = "token operator" > =< / span > /istio-pilot/10.150.0.6
address< span class = "token operator" > =< / span > /istio-ca/10.150.0.9
address< span class = "token operator" > =< / span > /istio-mixer.istio-system/10.150.0.8
address< span class = "token operator" > =< / span > /istio-pilot.istio-system/10.150.0.6
address< span class = "token operator" > =< / span > /istio-ca.istio-system/10.150.0.9
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< h3 id = "设置机器" > 设 置 机 器 < / h3 >
< p > 例 如 , 您 可 以 使 用 下 面 的 “ 一 条 龙 ” 脚 本 复 制 和 安 装 配 置 : < / p >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token comment" > # 检 查 该 脚 本 看 看 它 是 否 满 足 您 的 需 求 < / span >
< span class = "token comment" > # 在 Mac 上 , 使 用 brew install base64 或 者 set BASE64_DECODE=" /usr/bin/base64 -D" < / span >
2018-02-20 18:00:08 +08:00
< span class = "token function" > export< / span > GCP_OPTS< span class = "token operator" > =< / span > < span class = "token string" > " --zone MY_ZONE --project MY_PROJECT" < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > install/tools/setupMeshEx.sh machineSetup VM_NAME
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 或 者 等 效 得 手 动 安 装 步 骤 如 下 : < / p >
< p > ------ 手 动 安 装 步 骤 开 始 ------< / p >
< ul >
< li > 将 配 置 文 件 和 Istio 的 Debian 文 件 复 制 到 要 加 入 到 集 群 的 每 台 机 器 上 。 重 命 名 为 < code > /etc/dnsmasq.d/kubedns< / code > 和 < code > /var/lib/istio/envoy/cluster.env< / code > 。 < / li >
< li > 配 置 和 验 证 DNS 配 置 。 需 要 安 装 < code > dnsmasq< / code > 或 者 直 接 将 其 添 加 到 < code > /etc/resolv.conf< / code > 中 , 或 者 通 过 DHCP 脚 本 。 验 证 配 置 是 否 有 效 , 检 查 虚 拟 机 是 否 可 以 解 析 和 连 接 到 pilot, 例 如 : < / li >
< / ul >
< p > 在 虚 拟 机 或 外 部 主 机 上 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > host istio-pilot.istio-system
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 产 生 的 消 息 示 例 : < / p >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token comment" > # Verify you get the same address as shown as " EXTERNAL-IP" in ' kubectl get svc -n istio-system istio-pilot-ilb' < / span >
2017-11-07 23:57:26 +08:00
istio-pilot.istio-system has address 10.150.0.6
< / code > < / pre >
< p > 检 查 是 否 可 以 解 析 cluster IP。 实 际 地 址 取 决 您 的 deployment: < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > host istio-pilot.istio-system.svc.cluster.local.
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 该 示 例 产 生 的 消 息 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > istio-pilot.istio-system.svc.cluster.local has address 10.63.247.248
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 同 样 检 查 istio-ingress: < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > host istio-ingress.istio-system.svc.cluster.local.
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 该 示 例 产 生 的 消 息 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code > istio-ingress.istio-system.svc.cluster.local has address 10.63.243.30
2017-11-07 23:57:26 +08:00
< / code > < / pre > < ul >
< li > 验 证 连 接 性 , 检 查 迅 即 是 否 可 以 连 接 到 Pilot 的 端 点 : < / li >
< / ul >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > curl< / span > < span class = "token string" > ' http://istio-pilot.istio-system:8080/v1/registration/istio-pilot.istio-system.svc.cluster.local|http-discovery' < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-json" > < span class = "token punctuation" > {< / span >
< span class = "token property" > " hosts" < / span > < span class = "token operator" > :< / span > < span class = "token punctuation" > [< / span >
< span class = "token punctuation" > {< / span >
< span class = "token property" > " ip_address" < / span > < span class = "token operator" > :< / span > < span class = "token string" > " 10.60.1.4" < / span > < span class = "token punctuation" > ,< / span >
< span class = "token property" > " port" < / span > < span class = "token operator" > :< / span > < span class = "token number" > 8080< / span >
< span class = "token punctuation" > }< / span >
< span class = "token punctuation" > ]< / span >
< span class = "token punctuation" > }< / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token comment" > # 在 虚 拟 机 上 使 用 上 面 的 地 址 。 将 直 接 连 接 到 运 行 istio-pilot 的 pod。 < / span >
< span class = "token function" > curl< / span > < span class = "token string" > ' http://10.60.1.4:8080/v1/registration/istio-pilot.istio-system.svc.cluster.local|http-discovery' < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< ul >
2018-02-20 18:00:08 +08:00
< li > 提 取 出 实 话 Istio 认 证 的 secret 并 将 它 复 制 到 机 器 上 。 Istio 的 默 认 安 装 中 包 括 CA, 即 使 是 禁 用 了 自 动 < code > mTLS< / code > 设 置 ( 她 为 每 个 service account 创 建 secret, secret 命 名 为 < code > istio.< span class = "token tag" > < span class = "token tag" > < span class = "token punctuation" > < < / span > serviceaccount< / span > < span class = "token punctuation" > > < / span > < / span > < / code > ) 也 会 生 成 Istio secret。 建 议 您 执 行 此 步 骤 , 以 便 日 后 启 用 mTLS, 并 升 级 到 默 认 启 用 mTLS 的 未 来 版 本 。 < / li >
2017-11-07 23:57:26 +08:00
< / ul >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token comment" > # ACCOUNT 默 认 是 ' default' , SERVICE_ACCOUNT 是 环 境 变 量 < / span >
< span class = "token comment" > # NAMESPACE 默 认 为 当 前 namespace, SERVICE_NAMESPACE 是 环 境 变 量 < / span >
< span class = "token comment" > # ( 这 一 步 由 machineSetup 完 成 ) < / span >
< span class = "token comment" > # 在 Mac 上 执 行 brew install base64 或 者 set BASE64_DECODE=" /usr/bin/base64 -D" < / span >
2017-11-07 23:57:26 +08:00
install/tools/setupMeshEx.sh machineCerts ACCOUNT NAMESPACE
< / code > < / pre >
< p > 生 成 的 文 件 ( < code > key.pem< / code > , < code > root-cert.pem< / code > , < code > cert-chain.pem< / code > ) 必 须 拷 贝 到 每 台 主 机 的 /etc/certs 目 录 , 并 且 让 istio-proxy 可 读 。 < / p >
< ul >
< li > < p > 安 装 Istio Debian 文 件 , 启 动 < code > istio< / code > 和 < code > istio-auth-node-agent< / code > 服 务 。
从 < a href = "https://github.com/istio/istio/releases" target = "_blank" > github releases< / a > 获 取 Debian 安 装 包 : < / p >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token comment" > # 注 意 : 在 软 件 源 配 置 好 后 , 下 面 的 额 命 令 可 以 使 用 ' apt-get' 命 令 替 代 。 < / span >
2017-11-07 23:57:26 +08:00
2018-09-25 22:13:40 +08:00
< span class = "token function" > source< / span > istio.VERSION < span class = "token comment" > # defines version and URLs env var< / span >
< span class = "token function" > curl< / span > -L < span class = "token variable" > ${PILOT_DEBIAN_URL}< / span > /istio-agent.deb < span class = "token operator" > > < / span > < span class = "token variable" > ${ISTIO_STAGING}< / span > /istio-agent.deb
< span class = "token function" > curl< / span > -L < span class = "token variable" > ${AUTH_DEBIAN_URL}< / span > /istio-auth-node-agent.deb < span class = "token operator" > > < / span > < span class = "token variable" > ${ISTIO_STAGING}< / span > /istio-auth-node-agent.deb
< span class = "token function" > curl< / span > -L < span class = "token variable" > ${PROXY_DEBIAN_URL}< / span > /istio-proxy.deb < span class = "token operator" > > < / span > < span class = "token variable" > ${ISTIO_STAGING}< / span > /istio-proxy.deb
2017-11-07 23:57:26 +08:00
dpkg -i istio-proxy-envoy.deb
dpkg -i istio-agent.deb
dpkg -i istio-auth-node-agent.deb
systemctl start istio
systemctl start istio-auth-node-agent
< / code > < / pre >
< / li >
< / ul >
< p > ------ 手 动 安 装 步 骤 结 束 ------< / p >
< p > 安 装 完 成 后 , 机 器 就 能 访 问 运 行 在 Kubernetes 集 群 上 的 服 务 或 者 其 他 的 mesh 拓 展 的 机 器 。 < / p >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token comment" > # 假 设 您 在 ' bookinfo' namespace 下 安 装 的 bookinfo< / span >
< span class = "token function" > curl< / span > productpage.bookinfo.svc.cluster.local:9080
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token punctuation" > ..< / span > . html content < span class = "token punctuation" > ..< / span > .
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 检 查 进 程 是 否 正 在 运 行 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > ps< / span > aux < span class = "token operator" > |< / span > < span class = "token function" > grep< / span > istio
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > root 6941 0.0 0.2 75392 16820 ? Ssl 21:32 0:00 /usr/local/istio/bin/node_agent --logtostderr
root 6955 0.0 0.0 49344 3048 ? Ss 21:32 0:00 < span class = "token function" > su< / span > -s /bin/bash -c INSTANCE_IP< span class = "token operator" > =< / span > 10.150.0.5 POD_NAME< span class = "token operator" > =< / span > demo-vm-1 POD_NAMESPACE< span class = "token operator" > =< / span > default < span class = "token function" > exec< / span > /usr/local/bin/pilot-agent proxy < span class = "token operator" > > < / span > /var/log/istio/istio.log istio-proxy
istio-p+ 7016 0.0 0.1 215172 12096 ? Ssl 21:32 0:00 /usr/local/bin/pilot-agent proxy
istio-p+ 7094 4.0 0.3 69540 24800 ? Sl 21:32 0:37 /usr/local/bin/envoy -c /etc/istio/proxy/envoy-rev1.json --restart-epoch 1 --drain-time-s 2 --parent-shutdown-time-s 3 --service-cluster istio-proxy --service-node sidecar~10.150.0.5~demo-vm-1.default~default.svc.cluster.local
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 检 查 Istio auth-node-agent 是 否 健 康 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > sudo< / span > systemctl status istio-auth-node-agent
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > ● istio-auth-node-agent.service - istio-auth-node-agent: The Istio auth node agent
Loaded: loaded < span class = "token punctuation" > (< / span > /lib/systemd/system/istio-auth-node-agent.service< span class = "token punctuation" > ;< / span > disabled< span class = "token punctuation" > ;< / span > vendor preset: enabled< span class = "token punctuation" > )< / span >
Active: active < span class = "token punctuation" > (< / span > running< span class = "token punctuation" > )< / span > since Fri 2017-10-13 21:32:29 UTC< span class = "token punctuation" > ;< / span > 9s ago
2017-11-07 23:57:26 +08:00
Docs: http://istio.io/
2018-02-20 18:00:08 +08:00
Main PID: 6941 < span class = "token punctuation" > (< / span > node_agent< span class = "token punctuation" > )< / span >
2017-11-07 23:57:26 +08:00
Tasks: 5
Memory: 5.9M
CPU: 92ms
CGroup: /system.slice/istio-auth-node-agent.service
2018-02-20 18:00:08 +08:00
└ ─ 6941 /usr/local/istio/bin/node_agent --logtostderr
2017-11-07 23:57:26 +08:00
2018-02-20 18:00:08 +08:00
Oct 13 21:32:29 demo-vm-1 systemd< span class = "token punctuation" > [< / span > 1< span class = "token punctuation" > ]< / span > : Started istio-auth-node-agent: The Istio auth node agent.
Oct 13 21:32:29 demo-vm-1 node_agent< span class = "token punctuation" > [< / span > 6941< span class = "token punctuation" > ]< / span > : I1013 21:32:29.469314 6941 main.go:66< span class = "token punctuation" > ]< / span > Starting Node Agent
Oct 13 21:32:29 demo-vm-1 node_agent< span class = "token punctuation" > [< / span > 6941< span class = "token punctuation" > ]< / span > : I1013 21:32:29.469365 6941 nodeagent.go:96< span class = "token punctuation" > ]< / span > Node Agent starts successfully.
2018-09-25 22:13:40 +08:00
Oct 13 21:32:29 demo-vm-1 node_agent< span class = "token punctuation" > [< / span > 6941< span class = "token punctuation" > ]< / span > : I1013 21:32:29.483324 6941 nodeagent.go:112< span class = "token punctuation" > ]< / span > Sending CSR < span class = "token punctuation" > (< / span > retrial < span class = "token comment" > #0) ...< / span >
2018-02-20 18:00:08 +08:00
Oct 13 21:32:29 demo-vm-1 node_agent< span class = "token punctuation" > [< / span > 6941< span class = "token punctuation" > ]< / span > : I1013 21:32:29.862575 6941 nodeagent.go:128< span class = "token punctuation" > ]< / span > CSR is approved successfully. Will renew cert < span class = "token keyword" > in< / span > 29m59.137732603s
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< h2 id = "在拓展的-mesh-中的机器上运行服务" > 在 拓 展 的 mesh 中 的 机 器 上 运 行 服 务 < / h2 >
< ul >
< li > < p > 配 置 sidecar 拦 截 端 口 。 在 < code > /var/lib/istio/envoy/sidecar.env< / code > 中 通 过 < code > ISTIO_INBOUND_PORTS< / code > 环 境 变 量 配 置 。 < / p >
< p > 例 如 ( 运 行 服 务 的 虚 拟 机 ) : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token keyword" > echo< / span > < span class = "token string" > " ISTIO_INBOUND_PORTS=27017,3306,8080" < / span > < span class = "token operator" > > < / span > /var/lib/istio/envoy/sidecar.env
2017-11-07 23:57:26 +08:00
systemctl restart istio
< / code > < / pre >
< / li >
< li > < p > 手 动 配 置 selector-less 的 service 和 endpoint。 “ selector-less” service 用 于 那 些 不 依 托 Kubernetes pod 的 service。 < / p >
< p > 例 如 , 在 有 权 限 的 机 器 上 修 改 Kubernetes 中 的 service: < / p >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token comment" > # istioctl register servicename machine-ip portname:port< / span >
2017-11-07 23:57:26 +08:00
istioctl -n onprem register mysql 1.2.3.4 3306
istioctl -n onprem register svc1 1.2.3.4 http:7000
< / code > < / pre >
< / li >
< / ul >
< p > 安 装 完 成 后 , Kubernetes pod 和 其 它 mesh 扩 展 将 能 够 访 问 集 群 上 运 行 的 服 务 。 < / p >
< h2 id = "整合到一起" > 整 合 到 一 起 < / h2 >
2018-09-25 22:13:40 +08:00
< p > 请 参 阅 拓 展 BookInfo Mesh 指 南 。 < / p >
2017-11-07 23:57:26 +08:00
< hr >
< h2 id = "部署-bookinfo-示例应用" > 部 署 bookinfo 示 例 应 用 < / h2 >
< p > 该 示 例 部 署 由 四 个 单 独 的 微 服 务 组 成 的 简 单 应 用 程 序 , 用 于 演 示 Istio服 务 网 格 的 各 种 功 能 。 < / p >
< h2 id = "概况" > 概 况 < / h2 >
< p > 在 本 示 例 中 , 我 们 将 部 署 一 个 简 单 的 应 用 程 序 , 显 示 书 籍 的 信 息 , 类 似 于 网 上 书 店 的 书 籍 条 目 。 在 页 面 上 有 书 籍 的 描 述 、 详 细 信 息 ( ISBN、 页 数 等 ) 和 书 评 。 < / p >
< p > BookInfo 应 用 程 序 包 括 四 个 独 立 的 微 服 务 : < / p >
< ul >
< li > productpage: productpage(产 品 页 面 )微 服 务 , 调 用 < em > details< / em > 和 < em > reviews< / em > 微 服 务 来 填 充 页 面 。 < / li >
< li > details: details 微 服 务 包 含 书 籍 的 详 细 信 息 。 < / li >
< li > reviews: reviews 微 服 务 包 含 书 籍 的 点 评 。 它 也 调 用 < em > ratings< / em > 微 服 务 。 < / li >
< li > ratings: ratings 微 服 务 包 含 随 书 评 一 起 出 现 的 评 分 信 息 。 < / li >
< / ul >
< p > 有 3个 版 本 的 reviews 微 服 务 : < / p >
< ul >
< li > 版 本 v1不 调 用 ratings 服 务 。 < / li >
< li > 版 本 v2调 用 ratings , 并 将 每 个 评 级 显 示 为 1到 5个 黑 色 星 。 < / li >
< li > 版 本 v3调 用 ratings , 并 将 每 个 评 级 显 示 为 1到 5个 红 色 星 。 < / li >
< / ul >
< p > 应 用 程 序 的 端 到 端 架 构 如 下 所 示 。 < / p >
2019-01-02 16:44:20 +08:00
< figure id = "fig6.3.2.3.1" > < a href = "../images/noistio.png" data-lightbox = "74b74330-2d09-4014-9591-1081b7f51a1c" data-title = "BookInfo" > < img src = "../images/noistio.png" alt = "BookInfo" > < / a > < figcaption > 图 片 - BookInfo< / figcaption > < / figure >
2017-11-07 23:57:26 +08:00
< p > 该 应 用 程 序 是 多 语 言 构 建 的 , 即 这 些 微 服 务 是 用 不 同 的 语 言 编 写 的 。 值 得 注 意 的 是 , 这 些 服 务 与 Istio 没 有 任 何 依 赖 关 系 , 单 这 是 个 有 趣 的 Service Mesh 示 例 , 特 别 是 因 为 评 论 服 务 和 众 多 的 语 言 和 版 本 。 < / p >
< h2 id = "开始之前" > 开 始 之 前 < / h2 >
2018-09-25 22:13:40 +08:00
< p > 如 果 您 还 没 有 这 样 做 , 请 按 照 与 您 的 平 台 安 装 指 南 对 应 的 说 明 安 装 Istio。 < / p >
2017-11-07 23:57:26 +08:00
< h2 id = "部署应用程序" > 部 署 应 用 程 序 < / h2 >
< p > 使 用 Istio 运 行 应 用 程 序 示 例 不 需 要 修 改 应 用 程 序 本 身 。 相 反 , 我 们 只 需 要 在 支 持 Istio 的 环 境 中 配 置 和 运 行 服 务 , Envoy sidecar 将 会 注 入 到 每 个 服 务 中 。 所 需 的 命 令 和 配 置 根 据 运 行 时 环 境 的 不 同 而 有 所 不 同 , 但 在 所 有 情 况 下 , 生 成 的 部 署 将 如 下 所 示 : < / p >
2019-01-02 16:44:20 +08:00
< figure id = "fig6.3.2.3.2" > < a href = "../images/noistio.png" data-lightbox = "6e0101d7-edc9-48c2-9ff2-ff1a5df36cba" data-title = "BookInfo" > < img src = "../images/noistio.png" alt = "BookInfo" > < / a > < figcaption > 图 片 - BookInfo< / figcaption > < / figure >
2017-11-07 23:57:26 +08:00
< p > 所 有 的 微 服 务 都 将 与 一 个 Envoy sidecar 一 起 打 包 , 拦 截 这 些 服 务 的 入 站 和 出 站 的 调 用 请 求 , 提 供 通 过 Istio 控 制 平 面 从 外 部 控 制 整 个 应 用 的 路 由 , 遥 测 收 集 和 策 略 执 行 所 需 的 hook。 < / p >
< p > 要 启 动 该 应 用 程 序 , 请 按 照 以 下 对 应 于 您 的 Istio 运 行 时 环 境 的 说 明 进 行 操 作 。 < / p >
< h3 id = "在-kubernetes-中运行" > 在 Kubernetes 中 运 行 < / h3 >
< blockquote >
< p > 注 意 : 如 果 您 使 用 GKE, 清 确 保 您 的 集 群 至 少 有 4 个 标 准 的 GKE 节 点 。 如 果 您 使 用 Minikube, 请 确 保 您 至 少 有 4GB 内 存 。 < / p >
< / blockquote >
< ol >
< li > < p > 将 目 录 更 改 为 Istio 安 装 目 录 的 根 目 录 。 < / p >
< / li >
< li > < p > 构 建 应 用 程 序 容 器 : < / p >
< p > 如 果 您 使 用 < strong > 自 动 注 入 sidecar< / strong > 的 方 式 部 署 的 集 群 , 那 么 只 需 要 使 用 < code > kubectl< / code > 命 令 部 署 服 务 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f samples/bookinfo/kube/bookinfo.yaml
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 如 果 您 使 用 < strong > 手 动 注 入 sidecar< / strong > 的 方 式 部 署 的 集 群 , 清 使 用 下 面 的 命 令 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f < span class = "token operator" > < < / span > < span class = "token punctuation" > (< / span > istioctl kube-inject -f samples/apps/bookinfo/bookinfo.yaml< span class = "token punctuation" > )< / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 请 注 意 , 该 < code > istioctl kube-inject< / code > 命 令 用 于 在 创 建 部 署 之 前 修 改 < code > bookinfo.yaml< / code > 文 件 。 这 将 把 Envoy 注 入 到 Kubernetes 资 源 。 < / p >
< p > 上 述 命 令 启 动 四 个 微 服 务 并 创 建 网 关 入 口 资 源 , 如 下 图 所 示 。 3 个 版 本 的 评 论 的 服 务 v1、 v2、 v3 都 已 启 动 。 < / p >
< blockquote >
< p > 请 注 意 在 实 际 部 署 中 , 随 着 时 间 的 推 移 部 署 新 版 本 的 微 服 务 , 而 不 是 同 时 部 署 所 有 版 本 。 < / p >
< / blockquote >
< / li >
< li > < p > 确 认 所 有 服 务 和 pod 已 正 确 定 义 并 运 行 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl get services
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 这 将 产 生 以 下 输 出 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > NAME CLUSTER-IP EXTERNAL-IP PORT< span class = "token punctuation" > (< / span > S< span class = "token punctuation" > )< / span > AGE
details 10.0.0.31 < span class = "token operator" > < < / span > none< span class = "token operator" > > < / span > 9080/TCP 6m
istio-ingress 10.0.0.122 < span class = "token operator" > < < / span > pending< span class = "token operator" > > < / span > 80:31565/TCP 8m
istio-pilot 10.0.0.189 < span class = "token operator" > < < / span > none< span class = "token operator" > > < / span > 8080/TCP 8m
istio-mixer 10.0.0.132 < span class = "token operator" > < < / span > none< span class = "token operator" > > < / span > 9091/TCP,42422/TCP 8m
kubernetes 10.0.0.1 < span class = "token operator" > < < / span > none< span class = "token operator" > > < / span > 443/TCP 14d
productpage 10.0.0.120 < span class = "token operator" > < < / span > none< span class = "token operator" > > < / span > 9080/TCP 6m
ratings 10.0.0.15 < span class = "token operator" > < < / span > none< span class = "token operator" > > < / span > 9080/TCP 6m
reviews 10.0.0.170 < span class = "token operator" > < < / span > none< span class = "token operator" > > < / span > 9080/TCP 6m
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 而 且 < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl get pods
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 将 产 生 :< / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > NAME READY STATUS RESTARTS AGE
2017-11-07 23:57:26 +08:00
details-v1-1520924117-48z17 2/2 Running 0 6m
istio-ingress-3181829929-xrrk5 1/1 Running 0 8m
2018-02-20 18:00:08 +08:00
istio-pilot-175173354-d6jm7 2/2 Running 0 8m
2017-11-07 23:57:26 +08:00
istio-mixer-3883863574-jt09j 2/2 Running 0 8m
productpage-v1-560495357-jk1lz 2/2 Running 0 6m
ratings-v1-734492171-rnr5l 2/2 Running 0 6m
2018-02-20 18:00:08 +08:00
reviews-v1-874083890-f0qf0 2/2 Running 0 6m
2017-11-07 23:57:26 +08:00
reviews-v2-1343845940-b34q5 2/2 Running 0 6m
reviews-v3-1813607990-8ch52 2/2 Running 0 6m
< / code > < / pre >
< / li >
< / ol >
< h1 id = "确定-ingress-ip-和端口" > 确 定 ingress IP 和 端 口 < / h1 >
< ol >
< li > < p > 如 果 您 的 kubernetes 集 群 环 境 支 持 外 部 负 载 均 衡 器 的 话 , 可 以 使 用 下 面 的 命 令 获 取 ingress 的 IP地 址 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > kubectl get ingress -o wide
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 输 出 如 下 所 示 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > NAME HOSTS ADDRESS PORTS AGE
2017-11-07 23:57:26 +08:00
gateway * 130.211.10.121 80 1d
< / code > < / pre >
< p > Ingress 服 务 的 地 址 是 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > export< / span > GATEWAY_URL< span class = "token operator" > =< / span > 130.211.10.121:80
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< li > < p > GKE: 如 果 服 务 无 法 获 取 外 部 IP, < code > kubectl get ingress -o wide< / code > 会 显 示 工 作 节 点 的 列 表 。 在 这 种 情 况 下 , 您 可 以 使 用 任 何 地 址 以 及 NodePort 访 问 入 口 。 但 是 , 如 果 集 群 具 有 防 火 墙 , 则 还 需 要 创 建 防 火 墙 规 则 以 允 许 TCP流 量 到 NodePort, 您 可 以 使 用 以 下 命 令 创 建 防 火 墙 规 则 : < / p >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > export< / span > GATEWAY_URL< span class = "token operator" > =< / span > < span class = "token operator" > < < / span > workerNodeAddress< span class = "token operator" > > < / span > :< span class = "token variable" > < span class = "token variable" > $(< / span > kubectl get svc istio-ingress -n istio-system -o jsonpath< span class = "token operator" > =< / span > < span class = "token string" > ' {.spec.ports[0].nodePort}' < / span > < span class = "token variable" > )< / span > < / span >
gcloud compute firewall-rules create allow-book --allow tcp:< span class = "token variable" > < span class = "token variable" > $(< / span > kubectl get svc istio-ingress -n istio-system -o jsonpath< span class = "token operator" > =< / span > < span class = "token string" > ' {.spec.ports[0].nodePort}' < / span > < span class = "token variable" > )< / span > < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< li > < p > IBM Bluemix Free Tier: 在 免 费 版 的 Bluemix 的 kubernetes 集 群 中 不 支 持 外 部 负 载 均 衡 器 。 您 可 以 使 用 工 作 节 点 的 公 共 IP, 并 通 过 NodePort 来 访 问 ingress。 工 作 节 点 的 公 共 IP可 以 通 过 如 下 命 令 获 取 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > bx cs workers < span class = "token operator" > < < / span > cluster-name or id< span class = "token operator" > > < / span >
2018-09-25 22:13:40 +08:00
< span class = "token function" > export< / span > GATEWAY_URL< span class = "token operator" > =< / span > < span class = "token operator" > < < / span > public IP of the worker node< span class = "token operator" > > < / span > :< span class = "token variable" > < span class = "token variable" > $(< / span > kubectl get svc istio-ingress -n istio-system -o jsonpath< span class = "token operator" > =< / span > < span class = "token string" > ' {.spec.ports[0].nodePort}' < / span > < span class = "token variable" > )< / span > < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< li > < p > Minikube: Minikube 不 支 持 外 部 负 载 均 衡 器 。 您 可 以 使 用 ingress 服 务 的 主 机 IP 和 NodePort 来 访 问 ingress: < / p >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > export< / span > GATEWAY_URL< span class = "token operator" > =< / span > < span class = "token variable" > < span class = "token variable" > $(< / span > kubectl get po -l istio< span class = "token operator" > =< / span > ingress -o < span class = "token string" > ' jsonpath={.items[0].status.hostIP}' < / span > < span class = "token variable" > )< / span > < / span > < span class = "token keyword" > :< / span > < span class = "token variable" > < span class = "token variable" > $(< / span > kubectl get svc istio-ingress -o < span class = "token string" > ' jsonpath={.spec.ports[0].nodePort}' < / span > < span class = "token variable" > )< / span > < / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< / ol >
< h3 id = "在-consul-或-eureka-环境下使用-docker-运行" > 在 Consul 或 Eureka 环 境 下 使 用 Docker 运 行 < / h3 >
< ol >
< li > < p > 切 换 到 Istio 的 安 装 根 目 录 下 。 < / p >
< / li >
< li > < p > 启 动 应 用 程 序 容 器 。 < / p >
< ol >
< li > < p > 执 行 下 面 的 命 令 测 试 Consul: < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > docker-compose -f samples/bookinfo/consul/bookinfo.yaml up -d
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< li > < p > 执 行 下 面 的 命 令 测 试 Eureka: < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > docker-compose -f samples/bookinfo/eureka/bookinfo.yaml up -d
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< / ol >
< / li >
< li > < p > 确 认 所 有 容 器 都 在 运 行 : < / p >
2018-09-25 22:13:40 +08:00
< p > docker ps -a< / p >
2017-11-07 23:57:26 +08:00
< blockquote >
< p > 如 果 Istio Pilot 容 器 终 止 了 , 重 新 执 行 上 面 的 命 令 重 新 运 行 。 < / p >
< / blockquote >
< / li >
< li > < p > 设 置 < code > GATEWAY_URL< / code > :< / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > export< / span > GATEWAY_URL< span class = "token operator" > =< / span > localhost:9081
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< / ol >
< h2 id = "下一步" > 下 一 步 < / h2 >
< p > 使 用 以 下 < code > curl< / code > 命 令 确 认 BookInfo 应 用 程 序 正 在 运 行 :< / p >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > < span class = "token function" > curl< / span > -o /dev/null -s -w < span class = "token string" > " %{http_code}\n" < / span > http://< span class = "token variable" > ${GATEWAY_URL}< / span > /productpage
2017-11-07 23:57:26 +08:00
< / code > < / pre >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > 200
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< p > 你 也 可 以 通 过 在 浏 览 器 中 打 开 < code > http://$GATEWAY_URL/productpage< / code > 页 面 访 问 Bookinfo 网 页 。 如 果 您 多 次 刷 新 浏 览 器 将 在 productpage 中 看 到 评 论 的 不 同 的 版 本 , 它 们 会 按 照 round robin( 红 星 、 黑 星 、 没 有 星 星 ) 的 方 式 展 现 , 因 为 我 们 还 没 有 使 用 Istio 来 控 制 版 本 的 路 由 。 < / p >
2018-09-25 22:13:40 +08:00
< p > 现 在 , 您 可 以 使 用 此 示 例 来 尝 试 Istio 的 流 量 路 由 、 故 障 注 入 、 速 率 限 制 等 功 能 。 要 继 续 的 话 , 请 参 阅 Istio 指 南 , 具 体 取 决 于 您 的 兴 趣 。 智 能 路 由 是 初 学 者 入 门 的 好 方 式 。 < / p >
2017-11-07 23:57:26 +08:00
< h2 id = "清理" > 清 理 < / h2 >
< p > 在 完 成 BookInfo 示 例 后 , 您 可 以 卸 载 它 , 如 下 所 示 : < / p >
< h3 id = "卸载-kubernetes-环境" > 卸 载 Kubernetes 环 境 < / h3 >
< ol >
< li > < p > 删 除 路 由 规 则 , 终 止 应 用 程 序 pod< / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > samples/bookinfo/kube/cleanup.sh
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< li > < p > 确 认 关 闭 < / p >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > istioctl get routerules < span class = "token comment" > #-- there should be no more routing rules< / span >
kubectl get pods < span class = "token comment" > #-- the BookInfo pods should be deleted< / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< / ol >
< h3 id = "卸载-docker-环境" > 卸 载 docker 环 境 < / h3 >
< ol >
< li > < p > 删 除 路 由 规 则 和 应 用 程 序 容 器 < / p >
< ol >
< li > < p > 若 使 用 Consul 环 境 安 装 , 执 行 下 面 的 命 令 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > samples/bookinfo/consul/cleanup.sh
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< li > < p > 若 使 用 Eureka 环 境 安 装 , 执 行 下 面 的 命 令 : < / p >
2018-02-20 18:00:08 +08:00
< pre class = "language-" > < code class = "lang-bash" > samples/bookinfo/eureka/cleanup.sh
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< / ol >
< / li >
< li > < p > 确 认 清 理 完 成 : < / p >
2018-09-25 22:13:40 +08:00
< pre class = "language-" > < code class = "lang-bash" > istioctl get routerules < span class = "token comment" > #-- there should be no more routing rules< / span >
docker < span class = "token function" > ps< / span > -a < span class = "token comment" > #-- the BookInfo containers should be delete< / span >
2017-11-07 23:57:26 +08:00
< / code > < / pre >
< / li >
< / ol >
2019-01-02 16:44:20 +08:00
< footer class = "page-footer" > < span class = "copyright" > < p > < a href = "https://github.com/alipay/sofa-mesh" target = "_blank" > SOFAMesh - 基 于 Istio 的 大 规 模 服 务 网 格 解 决 方 案 < / a > | < a href = "https://github.com/alipay/sofa-mosn" target = "_blank" > SOFAMosn - Golang 版 的 高 性 能 Service Mesh Sidecar 代 理 < / a > < / p > < p > < a href = "https://ws4.sinaimg.cn/large/006tNbRwly1fw3ku0cwuhj304g056dgk.jpg" data-lightbox = "2fd927ee-fa64-4eca-8ed5-6bd72b573a3c" target = "_blank" > 点 击 关 注 【 云 原 生 应 用 架 构 】 公 众 号 回 复 【 加 群 】 加 入 学 习 群 < / a > | < a href = "https://ws1.sinaimg.cn/large/006tNbRwly1fw3fzx37obj30yi1pdk1r.jpg" data-lightbox = "2fd927ee-fa64-4eca-8ed5-6bd72b573a33" target = "_blank" > 深 入 剖 析 Kubernetes by 张 磊 < / a > < / p > Copyright © < a href = "https://jimmysong.io" target = "_blank" > jimmysong.io< / a > 2017-2019 all right reserved, powered by Gitbook< / span > < span class = "footer-modification" > Updated at
2018-12-11 20:45:49 +08:00
2018-12-11 20:30:27
2018-09-25 22:13:40 +08:00
< / span > < / footer > < / body > < / html >
2017-11-07 23:57:26 +08:00
< / section >
< / div >
< div class = "search-results" >
< div class = "has-results" >
< h1 class = "search-results-title" > < span class = 'search-results-count' > < / span > results matching "< span class = 'search-query' > < / span > "< / h1 >
< ul class = "search-results-list" > < / ul >
< / div >
< div class = "no-results" >
< h1 class = "search-results-title" > No results matching "< span class = 'search-query' > < / span > "< / h1 >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
2017-11-15 21:18:59 +08:00
< a href = "configuring-request-routing.html" class = "navigation navigation-prev " aria-label = "Previous page: 配置请求的路由规则" >
2017-11-07 23:57:26 +08:00
< i class = "fa fa-angle-left" > < / i >
< / a >
2017-11-15 21:18:59 +08:00
< a href = "integrating-vms.html" class = "navigation navigation-next " aria-label = "Next page: 集成虚拟机" >
2017-11-07 23:57:26 +08:00
< i class = "fa fa-angle-right" > < / i >
< / a >
< / div >
< script >
var gitbook = gitbook || [];
gitbook.push(function() {
2019-01-02 16:44:20 +08:00
gitbook.page.hasChanged({"page":{"title":"安装和拓展Istio service mesh","level":"6.3.2.3","depth":3,"next":{"title":"集成虚拟机","level":"6.3.2.4","depth":3,"path":"usecases/integrating-vms.md","ref":"usecases/integrating-vms.md","articles":[]},"previous":{"title":"配置请求的路由规则","level":"6.3.2.2","depth":3,"path":"usecases/configuring-request-routing.md","ref":"usecases/configuring-request-routing.md","articles":[]},"dir":"ltr"},"config":{"plugins":["github","codesnippet","splitter","page-toc-button","image-captions","editlink","back-to-top-button","-lunr","-search","search-plus","github-buttons@2.1.0","favicon@^0.0.2","tbfed-pagefooter@^0.0.1","3-ba","theme-default","-highlight","prism","prism-themes","sitemap-general","lightbox","adsense","ga"],"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"},"pluginsConfig":{"tbfed-pagefooter":{"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-2019","modify_label":" Updated at ","modify_format":"YYYY-MM-DD HH:mm:ss"},"prism":{"css":["prism-themes/themes/prism-ghcolors.css"]},"github":{"url":"https://github.com/rootsongjc/kubernetes-handbook"},"editlink":{"label":"编辑本页","multilingual":false,"base":"https://github.com/rootsongjc/kubernetes-handbook/blob/master/"},"splitter":{},"adsense":{"client":"ca-pub-4029167986768912","slot":"2445941692","format":"auto","element":".page-inner section","position":"bottom"},"codesnippet":{},"sitemap-general":{"prefix":"https://jimmysong.io/kubernetes-handbook/"},"fontsettings":{"theme":"white","family":"sans","size":2},"favicon":{"shortcut":"favicon.ico","bookmark":"favicon.ico"},"lightbox":{"jquery":true},"page-toc-button":{},"back-to-top-button":{},"prism-themes":{},"github-buttons":{"repo":"rootsongjc/kubernetes-handbook","types":["star"],"size":"small"},"3-ba":{"configuration":"auto","token":"11f7d254cfa4e0ca44b175c66d379ecc"},"ga":{"configuration":"auto","token":"UA-93485976-1"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"showLevel":true,"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"}},"search-plus":{},"image-captions":{"caption":"图片 - _CAPTION_","variable_name":"_pictures"}},"theme":"default","author":"Jimmy Song( 宋净超) ","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"_pictures":[{"backlink":"index.html#fig1.1.1","level":"1.1","list_caption":"Figure: Stargazers over time","alt":"Stargazers over time","nro":1,"url":"https://starcharts.herokuapp.com/rootsongjc/kubernetes-handbook.svg","index":1,"caption_template":"图片 - _CAPTION_","label":"Stargazers over time","attributes":{},"skip":false,"key":"1.1.1"},{"backlink":"cloud-native/cncf.html#fig2.2.1","level":"2.2","list_caption":"Figure: CNCF landscape","alt":"CNCF landscape","nro":2,"url":"https://ws3.sinaimg.cn/large/006tNbRwly1fxmx633ymqj31dp0u0kjn.jpg","index":1,"caption_template":"图片 - _CAPTIO
2017-11-07 23:57:26 +08:00
});
< / script >
< / div >
< script src = "../gitbook/gitbook.js" > < / script >
< script src = "../gitbook/theme.js" > < / script >
< script src = "../gitbook/gitbook-plugin-github/plugin.js" > < / script >
< script src = "../gitbook/gitbook-plugin-splitter/splitter.js" > < / script >
< script src = "../gitbook/gitbook-plugin-page-toc-button/plugin.js" > < / script >
< script src = "../gitbook/gitbook-plugin-editlink/plugin.js" > < / script >
< script src = "../gitbook/gitbook-plugin-back-to-top-button/plugin.js" > < / script >
< script src = "../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js" > < / script >
< script src = "../gitbook/gitbook-plugin-search-plus/search.js" > < / script >
< script src = "../gitbook/gitbook-plugin-github-buttons/plugin.js" > < / script >
< script src = "../gitbook/gitbook-plugin-3-ba/plugin.js" > < / script >
2018-09-25 22:13:40 +08:00
< script src = "../gitbook/gitbook-plugin-lightbox/jquery.min.js" > < / script >
< script src = "../gitbook/gitbook-plugin-lightbox/lightbox.min.js" > < / script >
2018-10-12 15:57:37 +08:00
< script src = "../gitbook/gitbook-plugin-adsense/plugin.js" > < / script >
2018-12-21 14:57:59 +08:00
< script src = "../gitbook/gitbook-plugin-ga/plugin.js" > < / script >
2017-11-07 23:57:26 +08:00
< script src = "../gitbook/gitbook-plugin-sharing/buttons.js" > < / script >
< script src = "../gitbook/gitbook-plugin-fontsettings/fontsettings.js" > < / script >
< / body >
< / html >