website/content/zh/docs/setup/_index.md

13 KiB
Raw Blame History

no_issue title main_menu weight content_template card
true 入门 true 20 templates/concept
name weight anchors
设置 20
anchor title
#learning-environment 学习环境
anchor title
#production-environment 生产环境

{{% capture overview %}}

本节介绍了设置和运行 Kubernetes 环境的不同选项。

不同的 Kubernetes 解决方案满足不同的要求:易于维护、安全性、可控制性、可用资源以及操作和管理 Kubernetes 集群所需的专业知识。

可以在本地机器、云、本地数据中心上部署 Kubernetes 集群,或选择一个托管的 Kubernetes 集群。还可以跨各种云提供商或裸机环境创建自定义解决方案。

更简单地说,可以在学习和生产环境中创建一个 Kubernetes 集群。

{{% /capture %}}

{{% capture body %}}

学习环境

如果正打算学习 Kubernetes请使用基于 Docker 的解决方案Docker 是 Kubernetes 社区支持或生态系统中用来在本地计算机上设置 Kubernetes 集群的一种工具。

{{< table caption="本地机器解决方案表,其中列出了社区和生态系统支持的用于部署 Kubernetes 的工具。" >}}

社区 生态系统
Minikube CDK on LXD
kind (Kubernetes IN Docker) Docker Desktop
Minishift
MicroK8s
IBM Cloud Private-CE (Community Edition)
IBM Cloud Private-CE (Community Edition) on Linux Containers
k3s
Ubuntu on LXD

生产环境

在评估生产环境的解决方案时,请考虑要管理自己 Kubernetes 集群(抽象层面)的哪些方面或将其转移给提供商。

Kubernetes 集群的一些抽象概念可能是 {{< glossary_tooltip text="应用领域" term_id="applications" >}}、{{< glossary_tooltip text="数据平面" term_id="data-plane" >}}、{{< glossary_tooltip text="控制平面" term_id="control-plane" >}}、{{< glossary_tooltip text="集群基础架构" term_id="cluster-infrastructure" >}} 和 {{< glossary_tooltip text="集群操作层面" term_id="cluster-operations" >}}。

下图列出了 Kubernetes 集群的抽象概念以及抽象概念是由自我管理还是由提供商管理。

生产环境解决方案生产环境解决方案

{{< table caption="生产环境解决方案表列出了提供商和解决方案。" >}} 以下生产环境解决方案表列出了提供商及其提供的解决方案。

提供商 管理者 Turnkey 云 本地数据中心 自定义(云) 自定义本地VM 定制(裸机)
Agile Stacks
Alibaba Cloud
Amazon Amazon EKS Amazon EC2
AppsCode
APPUiO 
Banzai Cloud Pipeline Kubernetes Engine (PKE)
CenturyLink Cloud
Cisco Container Platform
Cloud Foundry Container Runtime (CFCR)
CloudStack
Canonical
Containership
D2iQ Kommander Konvoy Konvoy Konvoy Konvoy
Digital Rebar
DigitalOcean
Docker Enterprise
Fedora (Multi Node) 
Fedora (Single Node) 
Gardener ✔ (via OpenStack)
Giant Swarm
Google Google Kubernetes Engine (GKE) Google Compute Engine (GCE) GKE On-Prem
IBM IBM Cloud Kubernetes Service IBM Cloud Private
Ionos Ionos Managed Kubernetes Ionos Enterprise Cloud
Kontena Pharos
KubeOne
Kubermatic
KubeSail
Kubespray
Kublr
Microsoft Azure Azure Kubernetes Service (AKS)
Mirantis Cloud Platform
Nirmata
Nutanix Nutanix Karbon Nutanix Karbon Nutanix AHV
OpenShift OpenShift Dedicated and OpenShift Online OpenShift Container Platform OpenShift Container Platform OpenShift Container Platform
Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE)
oVirt
Pivotal Enterprise Pivotal Container Service (PKS) Enterprise Pivotal Container Service (PKS)
Platform9 Platform9 Managed Kubernetes Platform9 Managed Kubernetes
Rancher Rancher 2.x Rancher Kubernetes Engine (RKE) k3s
StackPoint 
Supergiant
SUSE
SysEleven
Tencent Cloud Tencent Kubernetes Engine
VEXXHOST
VMware VMware Cloud PKS VMware Enterprise PKS VMware Enterprise PKS VMware Essential PKS VMware Essential PKS
Z.A.R.V.I.S.

{{% /capture %}}