01 安装Getting Started

安装kubernetes

开始

This section lists the different ways to set up and run Kubernetes. When you install Kubernetes, choose an installation type based on: ease of maintenance, security, control, available resources, and expertise required to operate and manage a cluster. 本节列出了设置和运行 Kubernetes 的不同方法。安装 Kubernetes 时,请根据以下因素选择安装类型:易于维护、安全、控制、可用资源以及操作和管理集群所需的专业知识。

You can download Kubernetes to deploy a Kubernetes cluster on a local machine, into the cloud, or for your own datacenter. 您可以下载 Kubernetes 以将 Kubernetes 集群部署到本地计算机、云中或您自己的数据中心。

Several Kubernetes components such as kube-apiserver or kube-proxy can also be deployed as container images within the cluster. 几个 Kubernetes 组件,如 kube-apiserver 或 kube-proxy 也可以部署为集群内的容器镜像。

It is recommended to run Kubernetes components as container images wherever that is possible, and to have Kubernetes manage those components. Components that run containers – notably, the kubelet – can’t be included in this category. 建议尽可能将 Kubernetes 组件作为容器镜像运行,并让 Kubernetes 管理这些组件。运行容器的组件——尤其是 kubelet——不能包含在这个类别中。

If you don’t want to manage a Kubernetes cluster yourself, you could pick a managed service, including certified platforms. There are also other standardized and custom solutions across a wide range of cloud and bare metal environments. 如果您不想自己管理 Kubernetes 集群,您可以选择托管服务,包括经过认证的平台。在广泛的云和裸机环境中还有其他标准化和定制解决方案。

Learning environment 学习环境

If you’re learning Kubernetes, use the tools supported by the Kubernetes community, or tools in the ecosystem to set up a Kubernetes cluster on a local machine. See Install tools. 如果您正在学习 Kubernetes,请使用 Kubernetes 社区支持的工具或生态系统中的工具在本地机器上设置 Kubernetes 集群。请参阅安装工具。

Production environment 生产环境

When evaluating a solution for a production environment, consider which aspects of operating a Kubernetes cluster (or abstractions) you want to manage yourself and which you prefer to hand off to a provider. 在评估生产环境的解决方案时,请考虑您希望自己管理运行 Kubernetes 集群(或抽象)的哪些方面,以及您希望将哪些方面交给提供商。

For a cluster you’re managing yourself, the officially supported tool for deploying Kubernetes is kubeadm. 对于您自己管理的集群,官方支持的用于部署 Kubernetes 的工具是 kubeadm 。

What’s next 接下来是什么

Kubernetes is designed for its control plane to run on Linux. Within your cluster you can run applications on Linux or other operating systems, including Windows. Kubernetes 旨在使其控制平面在 Linux 上运行。在您的集群中,您可以在 Linux 或其他操作系统(包括 Windows)上运行应用程序。


评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注