Edit This Page
用 Juju 搭建 Kubernetes
Ubuntu 16.04 introduced the Canonical Distribution of Kubernetes , a pure upstream distribution of Kubernetes designed for production usage. This page shows you how to deploy a cluster.
准备开始
一个可用的 Juju 客户端 ;不一定要是 Linux 机器,也可以是 Windows 或 OSX。
一个受支持的云 。
裸机部署可以通过 MAAS 实现。 配置指南参见 MAAS 文档 。
OpenStack 部署目前只在 Icehouse 及更新版本上测试通过。
下面任一一种选项:
可以网络访问以下站点
*.jujucharms.com
gcr.io
github.com
访问 Ubuntu 镜像源(公共的或私有的)
通过这些 步骤准备好离线部署。
Deployment overview
Out of the box the deployment comes with the following components on 9 machines:
Kubernetes (automated deployment, operations, and scaling)
Four node Kubernetes cluster with one master and three worker nodes.
TLS used for communication between units for security.
Flannel Software Defined Network (SDN) plugin
A load balancer for HA kubernetes-master (Experimental)
Optional Ingress Controller (on worker)
Optional Dashboard addon (on master) including Heapster for cluster monitoring
EasyRSA
Performs the role of a certificate authority serving self signed certificates
to the requesting units of the cluster.
ETCD (distributed key value store)
Three unit cluster for reliability. –>
–>
更多信息
Ubuntu Kubernetes 的部署通过名为 charms 的开源运维工具实现,这类工具也称作运维即代码(Operations as Code)。
这些 charms 以层的方式组装,从而使代码更小,更专注于 Kubernetes 及其组件的操作。
Kubernetes 的层和 Bundle 可以在 github.com 的 kubernetes
项目中找到:
欢迎提供功能需求,错误报告,pull request和反馈意见。
{% capture overview %}
Ubuntu 16.04 已公开 Kubernetes 的 Canonical 发行版 , 一套为生产环境设计的 Kubernetes 上游版本。本文将为您演示如何部署集群。
{% endcapture %}
<!–
反馈
此页是否对您有帮助?
是
否
Thanks for the feedback. If you have a specific, answerable question about how to use Kubernetes, ask it on
Stack Overflow .
Open an issue in the GitHub repo if you want to
report a problem
or
suggest an improvement .