2018-02-24 22:56:37 +08:00
<!DOCTYPE HTML>
< html lang = "zh-hans" >
< head >
< meta charset = "UTF-8" >
< meta content = "text/html; charset=utf-8" http-equiv = "Content-Type" >
< title > Rook · Kubernetes Handbook - jimmysong.io< / title >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" / >
< meta name = "description" content = "" >
< meta name = "generator" content = "GitBook 3.2.2" >
< meta name = "author" content = "Jimmy Song" >
< 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" >
< link rel = "stylesheet" href = "../gitbook/gitbook-plugin-prism/prism-ghcolors.css" >
< 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 = "monitoring.html" / >
< link rel = "prev" href = "using-openebs-for-persistent-storage.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 >
< a href = "https://jimmysong.io" target = "_blank" class = "custom-link" > Jimmy Song< / a >
< / li >
< li class = "divider" > < / li >
< li class = "header" > 前言< / li >
< li class = "chapter " data-level = "1.1" data-path = "../" >
< a href = "../" >
< b > 1.1.< / b >
序言
< / a >
< / li >
< li class = "header" > 云原生< / li >
< li class = "chapter " data-level = "2.1" data-path = "../cloud-native/play-with-kubernetes.html" >
< a href = "../cloud-native/play-with-kubernetes.html" >
< b > 2.1.< / b >
Play with Kubernetes
< / a >
< / li >
< li class = "chapter " data-level = "2.2" data-path = "../cloud-native/kubernetes-and-cloud-native-app-overview.html" >
< a href = "../cloud-native/kubernetes-and-cloud-native-app-overview.html" >
< b > 2.2.< / b >
Kubernetes与云原生应用概览
< / a >
< / li >
< li class = "chapter " data-level = "2.3" data-path = "../cloud-native/from-kubernetes-to-cloud-native.html" >
< a href = "../cloud-native/from-kubernetes-to-cloud-native.html" >
< b > 2.3.< / b >
云原生应用之路——从Kubernetes到Cloud Native
< / a >
< / li >
< li class = "header" > 概念与原理< / li >
< li class = "chapter " data-level = "3.1" data-path = "../concepts/" >
< a href = "../concepts/" >
< b > 3.1.< / b >
Kubernetes架构
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "3.1.1" data-path = "../concepts/concepts.html" >
< a href = "../concepts/concepts.html" >
< b > 3.1.1.< / b >
设计理念
< / 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 >
Etcd解析
< / a >
< / li >
< li class = "chapter " data-level = "3.1.3" data-path = "../concepts/open-interfaces.html" >
< a href = "../concepts/open-interfaces.html" >
< b > 3.1.3.< / b >
开放接口
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "3.1.3.1" data-path = "../concepts/cri.html" >
< a href = "../concepts/cri.html" >
< b > 3.1.3.1.< / b >
CRI - Container Runtime Interface( 容器运行时接口)
< / a >
< / li >
< li class = "chapter " data-level = "3.1.3.2" data-path = "../concepts/cni.html" >
< a href = "../concepts/cni.html" >
< b > 3.1.3.2.< / b >
CNI - Container Network Interface( 容器网络接口)
< / a >
< / li >
< li class = "chapter " data-level = "3.1.3.3" data-path = "../concepts/csi.html" >
< a href = "../concepts/csi.html" >
< b > 3.1.3.3.< / b >
CSI - Container Storage Interface( 容器存储接口)
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "3.1.4" data-path = "../concepts/networking.html" >
< a href = "../concepts/networking.html" >
< b > 3.1.4.< / b >
Kubernetes中的网络解析——以flannel为例
< / a >
< / li >
< li class = "chapter " data-level = "3.1.5" data-path = "../concepts/calico.html" >
< a href = "../concepts/calico.html" >
< b > 3.1.5.< / b >
Kubernetes中的网络解析——以calico为例
< / a >
< / li >
< li class = "chapter " data-level = "3.1.6" data-path = "../concepts/objects.html" >
< a href = "../concepts/objects.html" >
< b > 3.1.6.< / b >
资源对象与基本概念解析
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "3.1.6.1" data-path = "../concepts/pod-state-and-lifecycle.html" >
< a href = "../concepts/pod-state-and-lifecycle.html" >
< b > 3.1.6.1.< / b >
Pod状态与生命周期管理
< / a >
< / li >
< li class = "chapter " data-level = "3.1.6.2" data-path = "../concepts/pod-overview.html" >
< a href = "../concepts/pod-overview.html" >
< b > 3.1.6.2.< / b >
Pod概览
< / a >
< / li >
< li class = "chapter " data-level = "3.1.6.3" data-path = "../concepts/pod.html" >
< a href = "../concepts/pod.html" >
< b > 3.1.6.3.< / b >
Pod解析
< / a >
< / li >
< li class = "chapter " data-level = "3.1.6.4" data-path = "../concepts/init-containers.html" >
< a href = "../concepts/init-containers.html" >
< b > 3.1.6.4.< / b >
Init容器
< / a >
< / li >
< li class = "chapter " data-level = "3.1.6.5" data-path = "../concepts/pod-security-policy.html" >
< a href = "../concepts/pod-security-policy.html" >
< b > 3.1.6.5.< / b >
Pod安全策略
< / a >
< / li >
< li class = "chapter " data-level = "3.1.6.6" data-path = "../concepts/pod-lifecycle.html" >
< a href = "../concepts/pod-lifecycle.html" >
< b > 3.1.6.6.< / b >
Pod的生命周期
< / a >
< / li >
< li class = "chapter " data-level = "3.1.6.7" data-path = "../concepts/pod-hook.html" >
< a href = "../concepts/pod-hook.html" >
< b > 3.1.6.7.< / b >
Pod Hook
< / a >
< / li >
< li class = "chapter " data-level = "3.1.6.8" data-path = "../concepts/pod-preset.html" >
< a href = "../concepts/pod-preset.html" >
< b > 3.1.6.8.< / b >
Pod Preset
< / a >
< / li >
< li class = "chapter " data-level = "3.1.6.9" data-path = "../concepts/pod-disruption-budget.html" >
< a href = "../concepts/pod-disruption-budget.html" >
< b > 3.1.6.9.< / b >
Pod中断与PDB( Pod中断预算)
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "3.1.7" data-path = "../concepts/cluster.html" >
< a href = "../concepts/cluster.html" >
< b > 3.1.7.< / b >
集群配置
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "3.1.7.1" data-path = "../concepts/node.html" >
< a href = "../concepts/node.html" >
< b > 3.1.7.1.< / b >
Node
< / a >
< / li >
< li class = "chapter " data-level = "3.1.7.2" data-path = "../concepts/namespace.html" >
< a href = "../concepts/namespace.html" >
< b > 3.1.7.2.< / b >
Namespace
< / a >
< / li >
< li class = "chapter " data-level = "3.1.7.3" data-path = "../concepts/label.html" >
< a href = "../concepts/label.html" >
< b > 3.1.7.3.< / b >
Label
< / a >
< / li >
< li class = "chapter " data-level = "3.1.7.4" data-path = "../concepts/annotation.html" >
< a href = "../concepts/annotation.html" >
< b > 3.1.7.4.< / b >
Annotation
< / a >
< / li >
< li class = "chapter " data-level = "3.1.7.5" data-path = "../concepts/taint-and-toleration.html" >
< a href = "../concepts/taint-and-toleration.html" >
< b > 3.1.7.5.< / b >
Taint和Toleration( 污点和容忍)
< / a >
< / li >
< li class = "chapter " data-level = "3.1.7.6" data-path = "../concepts/garbage-collection.html" >
< a href = "../concepts/garbage-collection.html" >
< b > 3.1.7.6.< / b >
垃圾收集
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "3.1.8" data-path = "../concepts/controllers.html" >
< a href = "../concepts/controllers.html" >
< b > 3.1.8.< / b >
控制器
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "3.1.8.1" data-path = "../concepts/deployment.html" >
< a href = "../concepts/deployment.html" >
< b > 3.1.8.1.< / b >
Deployment
< / a >
< / li >
< li class = "chapter " data-level = "3.1.8.2" data-path = "../concepts/statefulset.html" >
< a href = "../concepts/statefulset.html" >
< b > 3.1.8.2.< / b >
StatefulSet
< / a >
< / li >
< li class = "chapter " data-level = "3.1.8.3" data-path = "../concepts/daemonset.html" >
< a href = "../concepts/daemonset.html" >
< b > 3.1.8.3.< / b >
DaemonSet
< / a >
< / li >
< li class = "chapter " data-level = "3.1.8.4" data-path = "../concepts/replicaset.html" >
< a href = "../concepts/replicaset.html" >
< b > 3.1.8.4.< / b >
ReplicationController和ReplicaSet
< / a >
< / li >
< li class = "chapter " data-level = "3.1.8.5" data-path = "../concepts/job.html" >
< a href = "../concepts/job.html" >
< b > 3.1.8.5.< / b >
Job
< / a >
< / li >
< li class = "chapter " data-level = "3.1.8.6" data-path = "../concepts/cronjob.html" >
< a href = "../concepts/cronjob.html" >
< b > 3.1.8.6.< / b >
CronJob
< / a >
< / li >
< li class = "chapter " data-level = "3.1.8.7" data-path = "../concepts/horizontal-pod-autoscaling.html" >
< a href = "../concepts/horizontal-pod-autoscaling.html" >
< b > 3.1.8.7.< / b >
Horizontal Pod Autoscaling
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "3.1.8.7.1" data-path = "../concepts/custom-metrics-hpa.html" >
< a href = "../concepts/custom-metrics-hpa.html" >
< b > 3.1.8.7.1.< / b >
自定义指标HPA
< / a >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "3.1.9" data-path = "../concepts/service-discovery.html" >
< a href = "../concepts/service-discovery.html" >
< b > 3.1.9.< / b >
服务发现
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "3.1.9.1" data-path = "../concepts/service.html" >
< a href = "../concepts/service.html" >
< b > 3.1.9.1.< / b >
Service
< / a >
< / li >
< li class = "chapter " data-level = "3.1.9.2" data-path = "../concepts/ingress.html" >
< a href = "../concepts/ingress.html" >
< b > 3.1.9.2.< / b >
Ingress
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "3.1.9.2.1" data-path = "../concepts/traefik-ingress-controller.html" >
< a href = "../concepts/traefik-ingress-controller.html" >
< b > 3.1.9.2.1.< / b >
Traefik Ingress Controller
< / a >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "3.1.10" data-path = "../concepts/authentication-and-permission.html" >
< a href = "../concepts/authentication-and-permission.html" >
< b > 3.1.10.< / b >
身份与权限控制
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "3.1.10.1" data-path = "../concepts/serviceaccount.html" >
< a href = "../concepts/serviceaccount.html" >
< b > 3.1.10.1.< / b >
ServiceAccount
< / a >
< / li >
< li class = "chapter " data-level = "3.1.10.2" data-path = "../concepts/rbac.html" >
< a href = "../concepts/rbac.html" >
< b > 3.1.10.2.< / b >
RBAC——基于角色的访问控制
< / a >
< / li >
< li class = "chapter " data-level = "3.1.10.3" data-path = "../concepts/network-policy.html" >
< a href = "../concepts/network-policy.html" >
< b > 3.1.10.3.< / b >
NetworkPolicy
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "3.1.11" data-path = "../concepts/storage.html" >
< a href = "../concepts/storage.html" >
< b > 3.1.11.< / b >
存储
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "3.1.11.1" data-path = "../concepts/secret.html" >
< a href = "../concepts/secret.html" >
< b > 3.1.11.1.< / b >
Secret
< / a >
< / li >
< li class = "chapter " data-level = "3.1.11.2" data-path = "../concepts/configmap.html" >
< a href = "../concepts/configmap.html" >
< b > 3.1.11.2.< / b >
ConfigMap
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "3.1.11.2.1" data-path = "../concepts/configmap-hot-update.html" >
< a href = "../concepts/configmap-hot-update.html" >
< b > 3.1.11.2.1.< / b >
ConfigMap的热更新
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "3.1.11.3" data-path = "../concepts/volume.html" >
< a href = "../concepts/volume.html" >
< b > 3.1.11.3.< / b >
Volume
< / a >
< / li >
< li class = "chapter " data-level = "3.1.11.4" data-path = "../concepts/persistent-volume.html" >
< a href = "../concepts/persistent-volume.html" >
< b > 3.1.11.4.< / b >
Persistent Volume( 持久化卷)
< / a >
< / li >
< li class = "chapter " data-level = "3.1.11.5" data-path = "../concepts/storageclass.html" >
< a href = "../concepts/storageclass.html" >
< b > 3.1.11.5.< / b >
Storage Class
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "3.1.12" data-path = "../concepts/extension.html" >
< a href = "../concepts/extension.html" >
< b > 3.1.12.< / b >
扩展
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "3.1.12.1" data-path = "../concepts/custom-resource.html" >
< a href = "../concepts/custom-resource.html" >
< b > 3.1.12.1.< / b >
使用自定义资源扩展API
< / a >
< / li >
< li class = "chapter " data-level = "3.1.12.2" data-path = "../concepts/aggregated-api-server.html" >
< a href = "../concepts/aggregated-api-server.html" >
< b > 3.1.12.2.< / b >
Aggregated API Server
< / a >
< / li >
< li class = "chapter " data-level = "3.1.12.3" data-path = "../concepts/apiservice.html" >
< a href = "../concepts/apiservice.html" >
< b > 3.1.12.3.< / b >
APIService
< / a >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< li class = "header" > 用户指南< / li >
< li class = "chapter " data-level = "4.1" data-path = "../guide/" >
< a href = "../guide/" >
< b > 4.1.< / b >
用户指南
< / a >
< / li >
< li class = "chapter " data-level = "4.2" data-path = "../guide/resource-configuration.html" >
< a href = "../guide/resource-configuration.html" >
< b > 4.2.< / b >
资源对象配置
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "4.2.1" data-path = "../guide/configure-liveness-readiness-probes.html" >
< a href = "../guide/configure-liveness-readiness-probes.html" >
< b > 4.2.1.< / b >
配置Pod的liveness和readiness探针
< / a >
< / li >
< li class = "chapter " data-level = "4.2.2" data-path = "../guide/configure-pod-service-account.html" >
< a href = "../guide/configure-pod-service-account.html" >
< b > 4.2.2.< / b >
配置Pod的Service Account
< / a >
< / li >
< li class = "chapter " data-level = "4.2.3" data-path = "../guide/secret-configuration.html" >
< a href = "../guide/secret-configuration.html" >
< b > 4.2.3.< / b >
Secret配置
< / a >
< / li >
< li class = "chapter " data-level = "4.2.4" data-path = "../guide/resource-quota-management.html" >
< a href = "../guide/resource-quota-management.html" >
< b > 4.2.4.< / b >
管理namespace中的资源配额
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "4.3" data-path = "../guide/command-usage.html" >
< a href = "../guide/command-usage.html" >
< b > 4.3.< / b >
命令使用
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "4.3.1" data-path = "../guide/docker-cli-to-kubectl.html" >
< a href = "../guide/docker-cli-to-kubectl.html" >
< b > 4.3.1.< / b >
docker用户过度到kubectl命令行指南
< / a >
< / li >
< li class = "chapter " data-level = "4.3.2" data-path = "../guide/using-kubectl.html" >
< a href = "../guide/using-kubectl.html" >
< b > 4.3.2.< / b >
kubectl命令概览
< / a >
< / li >
< li class = "chapter " data-level = "4.3.3" data-path = "../guide/kubectl-cheatsheet.html" >
< a href = "../guide/kubectl-cheatsheet.html" >
< b > 4.3.3.< / b >
kubectl命令技巧大全
< / a >
< / li >
< li class = "chapter " data-level = "4.3.4" data-path = "../guide/using-etcdctl-to-access-kubernetes-data.html" >
< a href = "../guide/using-etcdctl-to-access-kubernetes-data.html" >
< b > 4.3.4.< / b >
使用etcdctl访问kubernetes数据
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "4.4" data-path = "../guide/cluster-security-management.html" >
< a href = "../guide/cluster-security-management.html" >
< b > 4.4.< / b >
集群安全性管理
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "4.4.1" data-path = "../guide/managing-tls-in-a-cluster.html" >
< a href = "../guide/managing-tls-in-a-cluster.html" >
< b > 4.4.1.< / b >
管理集群中的TLS
< / a >
< / li >
< li class = "chapter " data-level = "4.4.2" data-path = "../guide/kubelet-authentication-authorization.html" >
< a href = "../guide/kubelet-authentication-authorization.html" >
< b > 4.4.2.< / b >
kubelet的认证授权
< / a >
< / li >
< li class = "chapter " data-level = "4.4.3" data-path = "../guide/tls-bootstrapping.html" >
< a href = "../guide/tls-bootstrapping.html" >
< b > 4.4.3.< / b >
TLS bootstrap
< / a >
< / li >
< li class = "chapter " data-level = "4.4.4" data-path = "../guide/kubectl-user-authentication-authorization.html" >
< a href = "../guide/kubectl-user-authentication-authorization.html" >
< b > 4.4.4.< / b >
创建用户认证授权的kubeconfig文件
< / a >
< / li >
< li class = "chapter " data-level = "4.4.5" data-path = "../guide/ip-masq-agent.html" >
< a href = "../guide/ip-masq-agent.html" >
< b > 4.4.5.< / b >
IP伪装代理
< / a >
< / li >
< li class = "chapter " data-level = "4.4.6" data-path = "../guide/auth-with-kubeconfig-or-token.html" >
< a href = "../guide/auth-with-kubeconfig-or-token.html" >
< b > 4.4.6.< / b >
使用kubeconfig或token进行用户身份认证
< / a >
< / li >
< li class = "chapter " data-level = "4.4.7" data-path = "../guide/authentication.html" >
< a href = "../guide/authentication.html" >
< b > 4.4.7.< / b >
Kubernetes中的用户与身份认证授权
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "4.5" data-path = "../guide/access-kubernetes-cluster.html" >
< a href = "../guide/access-kubernetes-cluster.html" >
< b > 4.5.< / b >
访问Kubernetes集群
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "4.5.1" data-path = "../guide/access-cluster.html" >
< a href = "../guide/access-cluster.html" >
< b > 4.5.1.< / b >
访问集群
< / a >
< / li >
< li class = "chapter " data-level = "4.5.2" data-path = "../guide/authenticate-across-clusters-kubeconfig.html" >
< a href = "../guide/authenticate-across-clusters-kubeconfig.html" >
< b > 4.5.2.< / b >
使用kubeconfig文件配置跨集群认证
< / a >
< / li >
< li class = "chapter " data-level = "4.5.3" data-path = "../guide/connecting-to-applications-port-forward.html" >
< a href = "../guide/connecting-to-applications-port-forward.html" >
< b > 4.5.3.< / b >
通过端口转发访问集群中的应用程序
< / a >
< / li >
< li class = "chapter " data-level = "4.5.4" data-path = "../guide/service-access-application-cluster.html" >
< a href = "../guide/service-access-application-cluster.html" >
< b > 4.5.4.< / b >
使用service访问群集中的应用程序
< / a >
< / li >
< li class = "chapter " data-level = "4.5.5" data-path = "../guide/accessing-kubernetes-pods-from-outside-of-the-cluster.html" >
< a href = "../guide/accessing-kubernetes-pods-from-outside-of-the-cluster.html" >
< b > 4.5.5.< / b >
从外部访问Kubernetes中的Pod
< / a >
< / li >
< li class = "chapter " data-level = "4.5.6" data-path = "../guide/cabin-mobile-dashboard-for-kubernetes.html" >
< a href = "../guide/cabin-mobile-dashboard-for-kubernetes.html" >
< b > 4.5.6.< / b >
Cabin - Kubernetes手机客户端
< / a >
< / li >
< li class = "chapter " data-level = "4.5.7" data-path = "../guide/kubernetes-desktop-client.html" >
< a href = "../guide/kubernetes-desktop-client.html" >
< b > 4.5.7.< / b >
Kubernetic - Kubernetes桌面客户端
< / a >
< / 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 >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "4.6" data-path = "../guide/application-development-deployment-flow.html" >
< a href = "../guide/application-development-deployment-flow.html" >
< b > 4.6.< / b >
在Kubernetes中开发部署应用
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "4.6.1" data-path = "../guide/deploy-applications-in-kubernetes.html" >
< a href = "../guide/deploy-applications-in-kubernetes.html" >
< b > 4.6.1.< / b >
适用于kubernetes的应用开发部署流程
< / a >
< / li >
< li class = "chapter " data-level = "4.6.2" data-path = "../guide/migrating-hadoop-yarn-to-kubernetes.html" >
< a href = "../guide/migrating-hadoop-yarn-to-kubernetes.html" >
< b > 4.6.2.< / b >
迁移传统应用到Kubernetes中——以Hadoop YARN为例
< / a >
< / li >
< li class = "chapter " data-level = "4.6.3" data-path = "../guide/using-statefulset.html" >
< a href = "../guide/using-statefulset.html" >
< b > 4.6.3.< / b >
使用StatefulSet部署用状态应用
< / a >
< / li >
< / ul >
< / li >
< li class = "header" > 最佳实践< / li >
< li class = "chapter " data-level = "5.1" data-path = "./" >
< a href = "./" >
< b > 5.1.< / b >
最佳实践概览
< / a >
< / li >
< li class = "chapter " data-level = "5.2" data-path = "install-kubernetes-on-centos.html" >
< a href = "install-kubernetes-on-centos.html" >
< b > 5.2.< / b >
在CentOS上部署Kubernetes集群
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.2.1" data-path = "create-tls-and-secret-key.html" >
< a href = "create-tls-and-secret-key.html" >
< b > 5.2.1.< / b >
创建TLS证书和秘钥
< / a >
< / li >
< li class = "chapter " data-level = "5.2.2" data-path = "create-kubeconfig.html" >
< a href = "create-kubeconfig.html" >
< b > 5.2.2.< / b >
创建kubeconfig文件
< / a >
< / li >
< li class = "chapter " data-level = "5.2.3" data-path = "etcd-cluster-installation.html" >
< a href = "etcd-cluster-installation.html" >
< b > 5.2.3.< / b >
创建高可用etcd集群
< / a >
< / li >
< li class = "chapter " data-level = "5.2.4" data-path = "kubectl-installation.html" >
< a href = "kubectl-installation.html" >
< b > 5.2.4.< / b >
安装kubectl命令行工具
< / a >
< / li >
< li class = "chapter " data-level = "5.2.5" data-path = "master-installation.html" >
< a href = "master-installation.html" >
< b > 5.2.5.< / b >
部署master节点
< / a >
< / li >
< li class = "chapter " data-level = "5.2.6" data-path = "flannel-installation.html" >
< a href = "flannel-installation.html" >
< b > 5.2.6.< / b >
安装flannel网络插件
< / a >
< / li >
< li class = "chapter " data-level = "5.2.7" data-path = "node-installation.html" >
< a href = "node-installation.html" >
< b > 5.2.7.< / b >
部署node节点
< / a >
< / li >
< li class = "chapter " data-level = "5.2.8" data-path = "kubedns-addon-installation.html" >
< a href = "kubedns-addon-installation.html" >
< b > 5.2.8.< / b >
安装kubedns插件
< / a >
< / li >
< li class = "chapter " data-level = "5.2.9" data-path = "dashboard-addon-installation.html" >
< a href = "dashboard-addon-installation.html" >
< b > 5.2.9.< / b >
安装dashboard插件
< / a >
< / li >
< li class = "chapter " data-level = "5.2.10" data-path = "heapster-addon-installation.html" >
< a href = "heapster-addon-installation.html" >
< b > 5.2.10.< / b >
安装heapster插件
< / a >
< / li >
< li class = "chapter " data-level = "5.2.11" data-path = "efk-addon-installation.html" >
< a href = "efk-addon-installation.html" >
< b > 5.2.11.< / b >
安装EFK插件
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "5.3" data-path = "service-discovery-and-loadbalancing.html" >
< a href = "service-discovery-and-loadbalancing.html" >
< b > 5.3.< / b >
服务发现与负载均衡
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.3.1" data-path = "traefik-ingress-installation.html" >
< a href = "traefik-ingress-installation.html" >
< b > 5.3.1.< / b >
安装Traefik ingress
< / a >
< / li >
< li class = "chapter " data-level = "5.3.2" data-path = "distributed-load-test.html" >
< a href = "distributed-load-test.html" >
< b > 5.3.2.< / b >
分布式负载测试
< / a >
< / li >
< li class = "chapter " data-level = "5.3.3" data-path = "network-and-cluster-perfermance-test.html" >
< a href = "network-and-cluster-perfermance-test.html" >
< b > 5.3.3.< / b >
网络和集群性能测试
< / a >
< / li >
< li class = "chapter " data-level = "5.3.4" data-path = "edge-node-configuration.html" >
< a href = "edge-node-configuration.html" >
< b > 5.3.4.< / b >
边缘节点配置
< / a >
< / li >
< li class = "chapter " data-level = "5.3.5" data-path = "nginx-ingress-installation.html" >
< a href = "nginx-ingress-installation.html" >
< b > 5.3.5.< / b >
安装Nginx ingress
< / a >
< / li >
< li class = "chapter " data-level = "5.3.6" data-path = "configuring-dns.html" >
< a href = "configuring-dns.html" >
< b > 5.3.6.< / b >
配置内置DNS( kube-dns)
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "5.4" data-path = "operation.html" >
< a href = "operation.html" >
< b > 5.4.< / b >
运维管理
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.4.1" data-path = "service-rolling-update.html" >
< a href = "service-rolling-update.html" >
< b > 5.4.1.< / b >
服务滚动升级
< / a >
< / li >
< li class = "chapter " data-level = "5.4.2" data-path = "app-log-collection.html" >
< a href = "app-log-collection.html" >
< b > 5.4.2.< / b >
应用日志收集
< / a >
< / li >
< li class = "chapter " data-level = "5.4.3" data-path = "configuration-best-practice.html" >
< a href = "configuration-best-practice.html" >
< b > 5.4.3.< / b >
配置最佳实践
< / a >
< / li >
< li class = "chapter " data-level = "5.4.4" data-path = "monitor.html" >
< a href = "monitor.html" >
< b > 5.4.4.< / b >
集群及应用监控
< / a >
< / li >
< li class = "chapter " data-level = "5.4.5" data-path = "data-persistence-problem.html" >
< a href = "data-persistence-problem.html" >
< b > 5.4.5.< / b >
数据持久化问题
< / a >
< / li >
< li class = "chapter " data-level = "5.4.6" data-path = "manage-compute-resources-container.html" >
< a href = "manage-compute-resources-container.html" >
< b > 5.4.6.< / b >
管理容器的计算资源
< / a >
< / li >
< li class = "chapter " data-level = "5.4.7" data-path = "federation.html" >
< a href = "federation.html" >
< b > 5.4.7.< / b >
集群联邦
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "5.5" data-path = "storage.html" >
< a href = "storage.html" >
< b > 5.5.< / b >
存储管理
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.5.1" data-path = "glusterfs.html" >
< a href = "glusterfs.html" >
< b > 5.5.1.< / b >
GlusterFS
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.5.1.1" data-path = "using-glusterfs-for-persistent-storage.html" >
< a href = "using-glusterfs-for-persistent-storage.html" >
< b > 5.5.1.1.< / b >
使用GlusterFS做持久化存储
< / a >
< / li >
< li class = "chapter " data-level = "5.5.1.2" data-path = "storage-for-containers-using-glusterfs-with-openshift.html" >
< a href = "storage-for-containers-using-glusterfs-with-openshift.html" >
< b > 5.5.1.2.< / b >
在OpenShift中使用GlusterFS做持久化存储
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "5.5.2" data-path = "cephfs.html" >
< a href = "cephfs.html" >
< b > 5.5.2.< / b >
CephFS
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.5.2.1" data-path = "using-ceph-for-persistent-storage.html" >
< a href = "using-ceph-for-persistent-storage.html" >
< b > 5.5.2.1.< / b >
使用Ceph做持久化存储
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "5.5.3" data-path = "openebs.html" >
< a href = "openebs.html" >
< b > 5.5.3.< / b >
OpenEBS
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.5.3.1" data-path = "using-openebs-for-persistent-storage.html" >
< a href = "using-openebs-for-persistent-storage.html" >
< b > 5.5.3.1.< / b >
使用OpenEBS做持久化存储
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter active" data-level = "5.5.4" data-path = "rook.html" >
< a href = "rook.html" >
< b > 5.5.4.< / b >
Rook
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "5.6" data-path = "monitoring.html" >
< a href = "monitoring.html" >
< b > 5.6.< / b >
集群与应用监控
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.6.1" data-path = "heapster.html" >
< a href = "heapster.html" >
< b > 5.6.1.< / b >
Heapster
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.6.1.1" data-path = "using-heapster-to-get-object-metrics.html" >
< a href = "using-heapster-to-get-object-metrics.html" >
< b > 5.6.1.1.< / b >
使用Heapster获取集群和对象的metric数据
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "5.6.2" data-path = "prometheus.html" >
< a href = "prometheus.html" >
< b > 5.6.2.< / b >
Prometheus
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.6.2.1" data-path = "using-prometheus-to-monitor-kuberentes-cluster.html" >
< a href = "using-prometheus-to-monitor-kuberentes-cluster.html" >
< b > 5.6.2.1.< / b >
使用Prometheus监控kubernetes集群
< / a >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "5.7" data-path = "services-management-tool.html" >
< a href = "services-management-tool.html" >
< b > 5.7.< / b >
服务编排管理
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.7.1" data-path = "helm.html" >
< a href = "helm.html" >
< b > 5.7.1.< / b >
使用Helm管理kubernetes应用
< / a >
< / li >
< li class = "chapter " data-level = "5.7.2" data-path = "create-private-charts-repo.html" >
< a href = "create-private-charts-repo.html" >
< b > 5.7.2.< / b >
构建私有Chart仓库
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "5.8" data-path = "ci-cd.html" >
< a href = "ci-cd.html" >
< b > 5.8.< / b >
持续集成与发布
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.8.1" data-path = "jenkins-ci-cd.html" >
< a href = "jenkins-ci-cd.html" >
< b > 5.8.1.< / b >
使用Jenkins进行持续集成与发布
< / a >
< / li >
< li class = "chapter " data-level = "5.8.2" data-path = "drone-ci-cd.html" >
< a href = "drone-ci-cd.html" >
< b > 5.8.2.< / b >
使用Drone进行持续集成与发布
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "5.9" data-path = "update-and-upgrade.html" >
< a href = "update-and-upgrade.html" >
< b > 5.9.< / b >
更新与升级
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "5.9.1" data-path = "manually-upgrade.html" >
< a href = "manually-upgrade.html" >
< b > 5.9.1.< / b >
手动升级Kubernetes集群
< / a >
< / li >
< li class = "chapter " data-level = "5.9.2" data-path = "dashboard-upgrade.html" >
< a href = "dashboard-upgrade.html" >
< b > 5.9.2.< / b >
升级dashboard
< / a >
< / li >
< / ul >
< / li >
< li class = "header" > 领域应用< / li >
< li class = "chapter " data-level = "6.1" data-path = "../usecases/" >
< a href = "../usecases/" >
< b > 6.1.< / b >
领域应用概览
< / a >
< / li >
< li class = "chapter " data-level = "6.2" data-path = "../usecases/microservices.html" >
< a href = "../usecases/microservices.html" >
< b > 6.2.< / b >
微服务架构
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "6.2.1" data-path = "../usecases/service-discovery-in-microservices.html" >
< a href = "../usecases/service-discovery-in-microservices.html" >
< b > 6.2.1.< / b >
微服务中的服务发现
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "6.3" data-path = "../usecases/service-mesh.html" >
< a href = "../usecases/service-mesh.html" >
< b > 6.3.< / b >
Service Mesh 服务网格
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "6.3.1" data-path = "../usecases/istio.html" >
< a href = "../usecases/istio.html" >
< b > 6.3.1.< / b >
Istio
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "6.3.1.1" data-path = "../usecases/istio-installation.html" >
< a href = "../usecases/istio-installation.html" >
< b > 6.3.1.1.< / b >
安装并试用Istio service mesh
< / a >
< / li >
< li class = "chapter " data-level = "6.3.1.2" data-path = "../usecases/configuring-request-routing.html" >
< a href = "../usecases/configuring-request-routing.html" >
< b > 6.3.1.2.< / b >
配置请求的路由规则
< / a >
< / li >
< li class = "chapter " data-level = "6.3.1.3" data-path = "../usecases/install-and-expand-istio-mesh.html" >
< a href = "../usecases/install-and-expand-istio-mesh.html" >
< b > 6.3.1.3.< / b >
安装和拓展Istio service mesh
< / a >
< / li >
< li class = "chapter " data-level = "6.3.1.4" data-path = "../usecases/integrating-vms.html" >
< a href = "../usecases/integrating-vms.html" >
< b > 6.3.1.4.< / b >
集成虚拟机
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "6.3.2" data-path = "../usecases/linkerd.html" >
< a href = "../usecases/linkerd.html" >
< b > 6.3.2.< / b >
Linkerd
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "6.3.2.1" data-path = "../usecases/linkerd-user-guide.html" >
< a href = "../usecases/linkerd-user-guide.html" >
< b > 6.3.2.1.< / b >
Linkerd 使用指南
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "6.3.3" data-path = "../usecases/conduit.html" >
< a href = "../usecases/conduit.html" >
< b > 6.3.3.< / b >
Conduit
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "6.3.3.1" data-path = "../usecases/conduit-overview.html" >
< a href = "../usecases/conduit-overview.html" >
< b > 6.3.3.1.< / b >
Condiut概览
< / a >
< / li >
< li class = "chapter " data-level = "6.3.3.2" data-path = "../usecases/conduit-installation.html" >
< a href = "../usecases/conduit-installation.html" >
< b > 6.3.3.2.< / b >
安装Conduit
< / a >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "6.4" data-path = "../usecases/big-data.html" >
< a href = "../usecases/big-data.html" >
< b > 6.4.< / b >
大数据
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "6.4.1" data-path = "../usecases/spark-standalone-on-kubernetes.html" >
< a href = "../usecases/spark-standalone-on-kubernetes.html" >
< b > 6.4.1.< / b >
Spark standalone on Kubernetes
< / a >
< / li >
< li class = "chapter " data-level = "6.4.2" data-path = "../usecases/running-spark-with-kubernetes-native-scheduler.html" >
< a href = "../usecases/running-spark-with-kubernetes-native-scheduler.html" >
< b > 6.4.2.< / b >
运行支持Kubernetes原生调度的Spark程序
< / a >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "6.5" data-path = "../usecases/serverless.html" >
< a href = "../usecases/serverless.html" >
< b > 6.5.< / b >
Serverless架构
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "6.5.1" data-path = "../usecases/understanding-serverless.html" >
< a href = "../usecases/understanding-serverless.html" >
< b > 6.5.1.< / b >
理解Serverless
< / a >
< / li >
< li class = "chapter " data-level = "6.5.2" data-path = "../usecases/faas.html" >
< a href = "../usecases/faas.html" >
< b > 6.5.2.< / b >
FaaS-函数即服务
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "6.5.2.1" data-path = "../usecases/openfaas-quick-start.html" >
< a href = "../usecases/openfaas-quick-start.html" >
< b > 6.5.2.1.< / b >
OpenFaaS快速入门指南
< / a >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< li class = "chapter " data-level = "6.6" data-path = "../usecases/edge-computing.html" >
< a href = "../usecases/edge-computing.html" >
< b > 6.6.< / b >
边缘计算
< / a >
< / li >
< li class = "header" > 开发指南< / li >
< li class = "chapter " data-level = "7.1" data-path = "../develop/" >
< a href = "../develop/" >
< b > 7.1.< / b >
开发指南概览
< / a >
< / li >
< li class = "chapter " data-level = "7.2" data-path = "../develop/sigs-and-working-group.html" >
< a href = "../develop/sigs-and-working-group.html" >
< b > 7.2.< / b >
SIG和工作组
< / a >
< / li >
< li class = "chapter " data-level = "7.3" data-path = "../develop/developing-environment.html" >
< a href = "../develop/developing-environment.html" >
< b > 7.3.< / b >
开发环境搭建
< / a >
< / li >
< li class = "chapter " data-level = "7.4" data-path = "../develop/using-vagrant-and-virtualbox-for-development.html" >
< a href = "../develop/using-vagrant-and-virtualbox-for-development.html" >
< b > 7.4.< / b >
本地分布式开发环境搭建( 使用Vagrant和Virtualbox)
< / a >
< / li >
< li class = "chapter " data-level = "7.5" data-path = "../develop/testing.html" >
< a href = "../develop/testing.html" >
< b > 7.5.< / b >
单元测试和集成测试
< / a >
< / li >
< li class = "chapter " data-level = "7.6" data-path = "../develop/client-go-sample.html" >
< a href = "../develop/client-go-sample.html" >
< b > 7.6.< / b >
client-go示例
< / a >
< / li >
< li class = "chapter " data-level = "7.7" data-path = "../develop/operator.html" >
< a href = "../develop/operator.html" >
< b > 7.7.< / b >
Operator
< / a >
< / li >
< li class = "chapter " data-level = "7.8" data-path = "../develop/advance-developer.html" >
< a href = "../develop/advance-developer.html" >
< b > 7.8.< / b >
高级开发指南
< / a >
< / li >
< li class = "chapter " data-level = "7.9" data-path = "../develop/contribute.html" >
< a href = "../develop/contribute.html" >
< b > 7.9.< / b >
社区贡献
< / a >
< / li >
< li class = "chapter " data-level = "7.10" data-path = "../develop/minikube.html" >
< a href = "../develop/minikube.html" >
< b > 7.10.< / b >
Minikube
< / a >
< / li >
< li class = "header" > 附录< / li >
< li class = "chapter " data-level = "8.1" data-path = "../appendix/" >
< a href = "../appendix/" >
< b > 8.1.< / b >
附录说明
< / a >
< / li >
< li class = "chapter " data-level = "8.2" data-path = "../appendix/debug-kubernetes-services.html" >
< a href = "../appendix/debug-kubernetes-services.html" >
< b > 8.2.< / b >
Kubernetes中的应用故障排查
< / a >
< / li >
< li class = "chapter " data-level = "8.3" data-path = "../appendix/material-share.html" >
< a href = "../appendix/material-share.html" >
< b > 8.3.< / b >
Kubernetes相关资讯和情报链接
< / a >
< / li >
< li class = "chapter " data-level = "8.4" data-path = "../appendix/docker-best-practice.html" >
< a href = "../appendix/docker-best-practice.html" >
< b > 8.4.< / b >
Docker最佳实践
< / a >
< / li >
< li class = "chapter " data-level = "8.5" data-path = "../appendix/tricks.html" >
< a href = "../appendix/tricks.html" >
< b > 8.5.< / b >
使用技巧
< / a >
< / li >
< li class = "chapter " data-level = "8.6" data-path = "../appendix/issues.html" >
< a href = "../appendix/issues.html" >
< b > 8.6.< / b >
问题记录
< / a >
< / li >
< li class = "chapter " data-level = "8.7" data-path = "../appendix/kubernetes-changelog.html" >
< a href = "../appendix/kubernetes-changelog.html" >
< b > 8.7.< / b >
Kubernetes版本更新日志
< / a >
< ul class = "articles" >
< li class = "chapter " data-level = "8.7.1" data-path = "../appendix/kubernetes-1.7-changelog.html" >
< a href = "../appendix/kubernetes-1.7-changelog.html" >
< b > 8.7.1.< / b >
Kubernetes1.7更新日志
< / a >
< / li >
< li class = "chapter " data-level = "8.7.2" data-path = "../appendix/kubernetes-1.8-changelog.html" >
< a href = "../appendix/kubernetes-1.8-changelog.html" >
< b > 8.7.2.< / b >
Kubernetes1.8更新日志
< / a >
< / li >
< li class = "chapter " data-level = "8.7.3" data-path = "../appendix/kubernetes-1.9-changelog.html" >
< a href = "../appendix/kubernetes-1.9-changelog.html" >
< b > 8.7.3.< / b >
Kubernetes1.9更新日志
< / a >
< / li >
< / ul >
< / li >
< 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 >
< 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 >
< a href = ".." > Rook< / a >
< / 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" >
< h1 id = "rook" > Rook< / h1 >
< p > < a href = "https://github.com/rook/rook" target = "_blank" > Rook< / a > 是 一 款 云 原 生 环 境 下 的 开 源 分 布 式 存 储 编 排 系 统 , 目 前 已 进 入 CNCF孵 化 。 Rook的 官 方 网 站 是 < a href = "https://rook.io" target = "_blank" > https://rook.io< / a > 。 < / p >
< h2 id = "rook是什么?" > Rook是 什 么 ? < / h2 >
< p > Rook将 分 布 式 存 储 软 件 转 变 为 自 我 管 理 , 自 我 缩 放 和 自 我 修 复 的 存 储 服 务 。 它 通 过 自 动 化 部 署 , 引 导 、 配 置 、 供 应 、 扩 展 、 升 级 、 迁 移 、 灾 难 恢 复 、 监 控 和 资 源 管 理 来 实 现 。 Rook使 用 基 础 的 云 原 生 容 器 管 理 、 调 度 和 编 排 平 台 提 供 的 功 能 来 履 行 其 职 责 。 < / p >
< p > Rook利 用 扩 展 点 深 入 融 入 云 原 生 环 境 , 为 调 度 、 生 命 周 期 管 理 、 资 源 管 理 、 安 全 性 、 监 控 和 用 户 体 验 提 供 无 缝 体 验 。 < / p >
< p > Rook现 在 处 于 alpha状 态 , 并 且 最 初 专 注 于 在 Kubernetes之 上 运 行 Ceph。 Ceph是 一 个 分 布 式 存 储 系 统 , 提 供 文 件 、 数 据 块 和 对 象 存 储 , 可 以 部 署 在 大 型 生 产 集 群 中 。 Rook计 划 在 未 来 的 版 本 中 增 加 对 除 Ceph之 外 的 其 他 存 储 系 统 以 及 Kubernetes之 外 的 其 他 云 原 生 环 境 的 支 持 。 < / p >
< h2 id = "部署" > 部 署 < / h2 >
< p > 可 以 使 用 helm或 直 接 用 yaml文 件 两 种 方 式 来 部 署 rook operator。 < / p >
< p > < strong > 使 用 helm部 署 < / strong > < / p >
< pre class = "language-" > < code class = "lang-bash" > helm init -i jimmysong/kubernetes-helm-tiller:v2.8.1
helm repo add rook-alpha https://charts.rook.io/alpha
helm < span class = "token function" > install< / span > rook-alpha/rook --name rook --namespace rook-system
< / code > < / pre >
< p > < strong > 直 接 使 用 yaml文 件 部 署 < / strong > < / p >
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f rook-operator.yaml
< / code > < / pre >
< p > 不 论 使 用 那 种 方 式 部 署 的 rook operator, 都 会 在 rook-agent中 看 到 rook-agent用 户 无 法 列 出 集 群 中 某 些 资 源 的 错 误 , 可 以 通 过 为 rook-agent的 分 配 < code > cluster-admin< / code > 权 限 临 时 解 决 , 详 见 < a href = "https://github.com/rook/rook/issues/1472" target = "_blank" > Issue 1472< / a > 。 < / p >
< p > 使 用 如 下 yanl文 件 创 建 一 个 < code > ClusterRoleBinding< / code > 并 应 用 到 集 群 中 。 < / p >
< pre class = "language-" > < code class = "lang-yaml" > < span class = "token key atrule" > kind< / span > < span class = "token punctuation" > :< / span > ClusterRoleBinding
< span class = "token key atrule" > apiVersion< / span > < span class = "token punctuation" > :< / span > rbac.authorization.k8s.io/v1beta1
< span class = "token key atrule" > metadata< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > rookagent< span class = "token punctuation" > -< / span > clusterrolebinding
< span class = "token key atrule" > subjects< / span > < span class = "token punctuation" > :< / span >
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > kind< / span > < span class = "token punctuation" > :< / span > ServiceAccount
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > rook< span class = "token punctuation" > -< / span > agent
< span class = "token key atrule" > namespace< / span > < span class = "token punctuation" > :< / span > rook< span class = "token punctuation" > -< / span > system
< span class = "token key atrule" > roleRef< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > kind< / span > < span class = "token punctuation" > :< / span > ClusterRole
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > cluster< span class = "token punctuation" > -< / span > admin
< span class = "token key atrule" > apiGroup< / span > < span class = "token punctuation" > :< / span > < span class = "token string" > " " < / span >
< / code > < / pre >
< p > < strong > 部 署 rook cluster< / strong > < / p >
< p > 创 建 完 rook operator后 , 我 们 再 部 署 rook cluster。 < / p >
< p > < code > rook-cluster.yaml< / code > 配 置 如 下 : < / p >
< 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 > Namespace
< span class = "token key atrule" > metadata< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > rook
< span class = "token punctuation" > ---< / span >
< span class = "token key atrule" > apiVersion< / span > < span class = "token punctuation" > :< / span > rook.io/v1alpha1
< span class = "token key atrule" > kind< / span > < span class = "token punctuation" > :< / span > Cluster
< span class = "token key atrule" > metadata< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > rook
< span class = "token key atrule" > namespace< / span > < span class = "token punctuation" > :< / span > rook
< span class = "token key atrule" > spec< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > versionTag< / span > < span class = "token punctuation" > :< / span > v0.6.2
< span class = "token key atrule" > dataDirHostPath< / span > < span class = "token punctuation" > :< / span > /var/lib/rook
< span class = "token key atrule" > storage< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > useAllNodes< / span > < span class = "token punctuation" > :< / span > < span class = "token boolean important" > true< / span >
< span class = "token key atrule" > useAllDevices< / span > < span class = "token punctuation" > :< / span > < span class = "token boolean important" > false< / span >
< span class = "token key atrule" > storeConfig< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > storeType< / span > < span class = "token punctuation" > :< / span > bluestore
< span class = "token key atrule" > databaseSizeMB< / span > < span class = "token punctuation" > :< / span > < span class = "token number" > 1024< / span >
< span class = "token key atrule" > journalSizeMB< / span > < span class = "token punctuation" > :< / span > < span class = "token number" > 1024< / span >
< / code > < / pre >
< p > < strong > 注 意 < / strong > : 需 要 手 动 指 定 < code > versionTag< / code > , 因 为 该 镜 像 repo中 没 有 < code > latest< / code > 标 签 , 如 不 指 定 的 话 Pod将 出 现 镜 像 拉 取 错 误 。 < / p >
< p > 执 行 下 面 的 命 令 部 署 rook集 群 。 < / p >
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f rook-cluster.yaml
< / code > < / pre >
< p > rook集 群 运 行 在 < code > rook< / code > namespace下 , 查 看 rook集 群 中 的 pod: < / p >
< pre class = "language-" > < code class = "lang-bash" > $ kubectl -n rook get pod
NAME READY STATUS RESTARTS AGE
rook-api-848df956bf-q6zf2 1/1 Running 0 4m
rook-ceph-mgr0-cfccfd6b8-cpk5p 1/1 Running 0 4m
rook-ceph-mon0-t496l 1/1 Running 0 6m
rook-ceph-mon1-zcn7v 1/1 Running 0 5m
rook-ceph-mon3-h97qx 1/1 Running 0 3m
rook-ceph-osd-557tn 1/1 Running 0 4m
rook-ceph-osd-74frb 1/1 Running 0 4m
rook-ceph-osd-zf7rg 1/1 Running 1 4m
rook-tools 1/1 Running 0 2m
< / code > < / pre >
< p > < strong > 部 署 StorageClass< / strong > < / p >
< p > StorageClass rook-block的 yaml文 件 ( rook-storage.yaml) 如 下 : < / p >
< pre class = "language-" > < code class = "lang-yaml" > < span class = "token key atrule" > apiVersion< / span > < span class = "token punctuation" > :< / span > rook.io/v1alpha1
< span class = "token key atrule" > kind< / span > < span class = "token punctuation" > :< / span > Pool
< span class = "token key atrule" > metadata< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > replicapool
< span class = "token key atrule" > namespace< / span > < span class = "token punctuation" > :< / span > rook
< span class = "token key atrule" > spec< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > replicated< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > size< / span > < span class = "token punctuation" > :< / span > < span class = "token number" > 1< / span >
< span class = "token comment" spellcheck = "true" > # For an erasure-coded pool, comment out the replication size above and uncomment the following settings.< / span >
< span class = "token comment" spellcheck = "true" > # Make sure you have enough OSDs to support the replica size or erasure code chunks.< / span >
< span class = "token comment" spellcheck = "true" > #erasureCoded:< / span >
< span class = "token comment" spellcheck = "true" > # dataChunks: 2< / span >
< span class = "token comment" spellcheck = "true" > # codingChunks: 1< / span >
< span class = "token punctuation" > ---< / span >
< span class = "token key atrule" > apiVersion< / span > < span class = "token punctuation" > :< / span > storage.k8s.io/v1
< span class = "token key atrule" > kind< / span > < span class = "token punctuation" > :< / span > StorageClass
< span class = "token key atrule" > metadata< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > rook< span class = "token punctuation" > -< / span > block
< span class = "token key atrule" > provisioner< / span > < span class = "token punctuation" > :< / span > rook.io/block
< span class = "token key atrule" > parameters< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > pool< / span > < span class = "token punctuation" > :< / span > replicapool
< span class = "token comment" spellcheck = "true" > # Specify the Rook cluster from which to create volumes.< / span >
< span class = "token comment" spellcheck = "true" > # If not specified, it will use `rook` as the name of the cluster.< / span >
< span class = "token comment" spellcheck = "true" > # This is also the namespace where the cluster will be< / span >
< span class = "token key atrule" > clusterName< / span > < span class = "token punctuation" > :< / span > rook
< span class = "token comment" spellcheck = "true" > # Specify the filesystem type of the volume. If not specified, it will use `ext4`.< / span >
< span class = "token comment" spellcheck = "true" > # fstype: ext4< / span >
< / code > < / pre >
< p > 我 们 在 下 面 的 示 例 中 将 使 用 rook-block这 个 StorageClass来 创 建 PV。 < / p >
< h2 id = "工具" > 工 具 < / h2 >
< p > 部 署 rook操 作 工 具 pod, 该 工 具 pod的 yaml文 件 ( rook-tools.yaml) 如 下 : < / p >
< 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 > Pod
< span class = "token key atrule" > metadata< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > rook< span class = "token punctuation" > -< / span > tools
< span class = "token key atrule" > namespace< / span > < span class = "token punctuation" > :< / span > rook< span class = "token punctuation" > -< / span > system
< span class = "token key atrule" > spec< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > dnsPolicy< / span > < span class = "token punctuation" > :< / span > ClusterFirstWithHostNet
< span class = "token key atrule" > serviceAccountName< / span > < span class = "token punctuation" > :< / span > rook< span class = "token punctuation" > -< / span > operator
< 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 > rook< span class = "token punctuation" > -< / span > tools
< span class = "token key atrule" > image< / span > < span class = "token punctuation" > :< / span > rook/toolbox< span class = "token punctuation" > :< / span > master
< span class = "token key atrule" > imagePullPolicy< / span > < span class = "token punctuation" > :< / span > IfNotPresent
< span class = "token key atrule" > env< / span > < span class = "token punctuation" > :< / span >
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > ROOK_ADMIN_SECRET
< span class = "token key atrule" > valueFrom< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > secretKeyRef< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > rook< span class = "token punctuation" > -< / span > ceph< span class = "token punctuation" > -< / span > mon
< span class = "token key atrule" > key< / span > < span class = "token punctuation" > :< / span > admin< span class = "token punctuation" > -< / span > secret
< span class = "token key atrule" > securityContext< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > privileged< / span > < span class = "token punctuation" > :< / span > < span class = "token boolean important" > true< / span >
< span class = "token key atrule" > volumeMounts< / span > < span class = "token punctuation" > :< / span >
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > mountPath< / span > < span class = "token punctuation" > :< / span > /dev
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > dev
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > mountPath< / span > < span class = "token punctuation" > :< / span > /sys/bus
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > sysbus
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > mountPath< / span > < span class = "token punctuation" > :< / span > /lib/modules
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > libmodules
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > mon< span class = "token punctuation" > -< / span > endpoint< span class = "token punctuation" > -< / span > volume
< span class = "token key atrule" > mountPath< / span > < span class = "token punctuation" > :< / span > /etc/rook
< span class = "token key atrule" > hostNetwork< / span > < span class = "token punctuation" > :< / span > < span class = "token boolean important" > false< / span >
< span class = "token key atrule" > volumes< / span > < span class = "token punctuation" > :< / span >
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > dev
< span class = "token key atrule" > hostPath< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > path< / span > < span class = "token punctuation" > :< / span > /dev
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > sysbus
< span class = "token key atrule" > hostPath< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > path< / span > < span class = "token punctuation" > :< / span > /sys/bus
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > libmodules
< span class = "token key atrule" > hostPath< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > path< / span > < span class = "token punctuation" > :< / span > /lib/modules
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > mon< span class = "token punctuation" > -< / span > endpoint< span class = "token punctuation" > -< / span > volume
< span class = "token key atrule" > configMap< / span > < span class = "token punctuation" > :< / span >
< span class = "token key atrule" > name< / span > < span class = "token punctuation" > :< / span > rook< span class = "token punctuation" > -< / span > ceph< span class = "token punctuation" > -< / span > mon< span class = "token punctuation" > -< / span > endpoints
< span class = "token key atrule" > items< / span > < span class = "token punctuation" > :< / span >
< span class = "token punctuation" > -< / span > < span class = "token key atrule" > key< / span > < span class = "token punctuation" > :< / span > endpoint
< span class = "token key atrule" > path< / span > < span class = "token punctuation" > :< / span > mon< span class = "token punctuation" > -< / span > endpoints
< / code > < / pre >
< p > < code > ConfigMap< / code > 和 < code > Secret< / code > 中 的 配 置 项 内 容 是 自 定 义 的 。 < / p >
< p > 使 用 下 面 的 命 令 部 署 工 具 pod: < / p >
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f rook-tools.yaml
< / code > < / pre >
< p > 这 是 一 个 独 立 的 pod, 没 有 使 用 其 他 高 级 的 controller来 管 理 , 我 们 将 它 部 署 在 < code > rook-system< / code > 的 namespace下 。 < / p >
< pre class = "language-" > < code class = "lang-bash" > kubectl -n rook < span class = "token function" > exec< / span > -it rook-tools < span class = "token function" > bash< / span >
< / code > < / pre >
< p > 使 用 下 面 的 命 令 查 看 rook集 群 状 态 。 < / p >
< pre class = "language-" > < code class = "lang-bash" > $ rookctl status
OVERALL STATUS: OK
USAGE:
TOTAL USED DATA AVAILABLE
37.95 GiB 1.50 GiB 0 B 36.45 GiB
MONITORS:
NAME ADDRESS IN QUORUM STATUS
rook-ceph-mon0 10.254.162.99:6790/0 < span class = "token boolean" > true< / span > UNKNOWN
MGRs:
NAME STATUS
rook-ceph-mgr0 Active
OSDs:
TOTAL UP IN FULL NEAR FULL
1 1 1 < span class = "token boolean" > false< / span > < span class = "token boolean" > false< / span >
PLACEMENT GROUPS < span class = "token punctuation" > (< / span > 0 total< span class = "token punctuation" > )< / span > :
STATE COUNT
none
$ ceph < span class = "token function" > df< / span >
GLOBAL:
SIZE AVAIL RAW USED %RAW USED
38861M 37323M 1537M 3.96
POOLS:
NAME ID USED %USED MAX AVAIL OBJECTS
< / code > < / pre >
< h2 id = "示例" > 示 例 < / h2 >
< p > 官 方 提 供 了 使 用 rook作 为 典 型 的 LAMP( Linux + Apache + MySQL + PHP) 应 用 Wordpress的 存 储 后 端 的 示 例 的 yaml文 件 < code > mysql.yaml< / code > 和 < code > wordpress.yaml< / code > , 使 用 下 面 的 命 令 创 建 。 < / p >
< pre class = "language-" > < code class = "lang-bash" > kubectl apply -f mysql.yaml
kubectl apply -f wordpress.yaml
< / code > < / pre >
< p > Wordpress要 依 赖 于 MySQL, 所 以 要 先 创 建 MySQL。 < / p >
< p > 在 创 建 wordpress的 时 候 可 能 遇 到 该 错 误 < a href = "https://github.com/rook/rook/issues/1147" target = "_blank" > rook flexvolume failing to attach volumes #1147< / a > , 该 问 题 尚 未 解 决 。 < / p >
< h2 id = "清理" > 清 理 < / h2 >
< p > 如 果 使 用 helm部 署 , 则 执 行 下 面 的 命 令 : < / p >
< pre class = "language-" > < code class = "lang-bash" > helm delete --purge rook
helm delete daemonset rook-agent
< / code > < / pre >
< p > 如 果 使 用 yaml文 件 直 接 部 署 , 则 使 用 < code > kubectl delete -f< / code > 加 当 初 使 用 的 yaml文 件 即 可 删 除 集 群 。 < / p >
< h2 id = "参考" > 参 考 < / h2 >
< ul >
< li > < a href = "https://rook.io/docs/rook/master/helm-operator.html" target = "_blank" > Operator Helm Chart< / a > < / li >
< li > < a href = "https://rook.io/docs/rook/v0.6/cluster-crd.html" target = "_blank" > Creating Rook Clusters< / a > < / li >
< / ul >
< footer class = "page-footer" > < span class = "copyright" > Copyright © jimmysong.io 2017-2018 all right reserved, powered by Gitbook< / span > < span class = "footer-modification" > Updated at
2018-02-24 22:51:12
< / span > < / footer >
< / 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 >
< a href = "using-openebs-for-persistent-storage.html" class = "navigation navigation-prev " aria-label = "Previous page: 使用OpenEBS做持久化存储" >
< i class = "fa fa-angle-left" > < / i >
< / a >
< a href = "monitoring.html" class = "navigation navigation-next " aria-label = "Next page: 集群与应用监控" >
< i class = "fa fa-angle-right" > < / i >
< / a >
< / div >
< script >
var gitbook = gitbook || [];
gitbook.push(function() {
2018-02-27 17:07:41 +08:00
gitbook.page.hasChanged({"page":{"title":"Rook","level":"5.5.4","depth":2,"next":{"title":"集群与应用监控","level":"5.6","depth":1,"path":"practice/monitoring.md","ref":"practice/monitoring.md","articles":[{"title":"Heapster","level":"5.6.1","depth":2,"path":"practice/heapster.md","ref":"practice//heapster.md","articles":[{"title":"使用Heapster获取集群和对象的metric数据","level":"5.6.1.1","depth":3,"path":"practice/using-heapster-to-get-object-metrics.md","ref":"practice/using-heapster-to-get-object-metrics.md","articles":[]}]},{"title":"Prometheus","level":"5.6.2","depth":2,"path":"practice/prometheus.md","ref":"practice/prometheus.md","articles":[{"title":"使用Prometheus监控kubernetes集群","level":"5.6.2.1","depth":3,"path":"practice/using-prometheus-to-monitor-kuberentes-cluster.md","ref":"practice/using-prometheus-to-monitor-kuberentes-cluster.md","articles":[]}]}]},"previous":{"title":"使用OpenEBS做持久化存储","level":"5.5.3.1","depth":3,"path":"practice/using-openebs-for-persistent-storage.md","ref":"practice/using-openebs-for-persistent-storage.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"],"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":"Copyright © jimmysong.io 2017-2018","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":{},"codesnippet":{},"fontsettings":{"theme":"white","family":"sans","size":2},"favicon":{"shortcut":"favicon.ico","bookmark":"favicon.ico"},"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"},"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":"cloud-native/play-with-kubernetes.html#fig2.1.1","level":"2.1","list_caption":"Figure: Play with Kubernetes网页截图","alt":"Play with Kubernetes网页截图","nro":1,"url":"../images/play-with-kubernetes.jpg","index":1,"caption_template":"图片 - _CAPTION_","label":"Play with Kubernetes网页截图","attributes":{},"skip":false,"key":"2.1.1"},{"backlink":"cloud-native/kubernetes-and-cloud-native-app-overview.html#fig2.2.1","level":"2.2","list_caption":"Figure: 云计算演进历程","alt":"云计算演进历程","nro":2,"url":"../images/cloud-computing-evolution-road.jpg","index":1,"caption_template":"图片 - _CAPTION_","label":"云计算演进历程","attributes":{},"skip":false,"key":"2.2.1"},{"backlink":"cloud-native/kubernetes-and-cloud-native-app-overview.html#fig2.2.2","level":"2.2","list_caption":"Figure: 来自Twitter @MarcWilczek","alt":"来自Twitter @MarcWi
2018-02-24 22:56:37 +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 >
< script src = "../gitbook/gitbook-plugin-sharing/buttons.js" > < / script >
< script src = "../gitbook/gitbook-plugin-fontsettings/fontsettings.js" > < / script >
< / body >
< / html >