install-kubeadm:Generalize list of distributions
This commit is contained in:
@@ -18,14 +18,7 @@ For information how to create a cluster with kubeadm once you have performed thi
|
|||||||
## {{% heading "prerequisites" %}}
|
## {{% heading "prerequisites" %}}
|
||||||
|
|
||||||
|
|
||||||
* One or more machines running one of:
|
* A compatible Linux host. The Kubernetes project provides generic instructions for Linux distributions based on Debian and Red Hat, and those distributions without a package manager.
|
||||||
- Ubuntu 16.04+
|
|
||||||
- Debian 9+
|
|
||||||
- CentOS 7+
|
|
||||||
- Red Hat Enterprise Linux (RHEL) 7+
|
|
||||||
- Fedora 25+
|
|
||||||
- HypriotOS v1.0.1+
|
|
||||||
- Flatcar Container Linux (tested with 2512.3.0)
|
|
||||||
* 2 GB or more of RAM per machine (any less will leave little room for your apps).
|
* 2 GB or more of RAM per machine (any less will leave little room for your apps).
|
||||||
* 2 CPUs or more.
|
* 2 CPUs or more.
|
||||||
* Full network connectivity between all machines in the cluster (public or private network is fine).
|
* Full network connectivity between all machines in the cluster (public or private network is fine).
|
||||||
@@ -181,7 +174,7 @@ For more information on version skews, see:
|
|||||||
* Kubeadm-specific [version skew policy](/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/#version-skew-policy)
|
* Kubeadm-specific [version skew policy](/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/#version-skew-policy)
|
||||||
|
|
||||||
{{< tabs name="k8s_install" >}}
|
{{< tabs name="k8s_install" >}}
|
||||||
{{% tab name="Ubuntu, Debian or HypriotOS" %}}
|
{{% tab name="Debian-based distributions" %}}
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get update && sudo apt-get install -y apt-transport-https curl
|
sudo apt-get update && sudo apt-get install -y apt-transport-https curl
|
||||||
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
|
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
|
||||||
@@ -193,7 +186,7 @@ sudo apt-get install -y kubelet kubeadm kubectl
|
|||||||
sudo apt-mark hold kubelet kubeadm kubectl
|
sudo apt-mark hold kubelet kubeadm kubectl
|
||||||
```
|
```
|
||||||
{{% /tab %}}
|
{{% /tab %}}
|
||||||
{{% tab name="CentOS, RHEL or Fedora" %}}
|
{{% tab name="Red Hat-based distributions" %}}
|
||||||
```bash
|
```bash
|
||||||
cat <<EOF | sudo tee /etc/yum.repos.d/kubernetes.repo
|
cat <<EOF | sudo tee /etc/yum.repos.d/kubernetes.repo
|
||||||
[kubernetes]
|
[kubernetes]
|
||||||
@@ -224,7 +217,7 @@ sudo systemctl enable --now kubelet
|
|||||||
- You can leave SELinux enabled if you know how to configure it but it may require settings that are not supported by kubeadm.
|
- You can leave SELinux enabled if you know how to configure it but it may require settings that are not supported by kubeadm.
|
||||||
|
|
||||||
{{% /tab %}}
|
{{% /tab %}}
|
||||||
{{% tab name="Fedora CoreOS or Flatcar Container Linux" %}}
|
{{% tab name="Without a package manager" %}}
|
||||||
Install CNI plugins (required for most pod network):
|
Install CNI plugins (required for most pod network):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user