You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md
+28-57Lines changed: 28 additions & 57 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,37 +20,39 @@ card:
20
20
<!-- overview -->
21
21
22
22
<!--
23
-
<img src="https://raw.githubusercontent.com/kubernetes/kubeadm/master/logos/stacked/color/kubeadm-stacked-color.png" align="right" width="150px">This page shows how to install the `kubeadm` toolbox.
This page shows how to install the `kubeadm` toolbox.
24
25
For information on how to create a cluster with kubeadm once you have performed this installation process, see the [Creating a cluster with kubeadm](/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/) page.
* 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.
34
-
* 2 GB or more of RAM per machine (any less will leave little room for your apps)
35
-
* 2 CPUs or more
36
-
* Full network connectivity between all machines in the cluster (public or private network is fine)
36
+
* 2 GB or more of RAM per machine (any less will leave little room for your apps).
37
+
* 2 CPUs or more.
38
+
* Full network connectivity between all machines in the cluster (public or private network is fine).
37
39
* Unique hostname, MAC address, and product_uuid for every node. See [here](#verify-mac-address) for more details.
38
40
* Certain ports are open on your machines. See [here](#check-required-ports) for more details.
39
41
* Swap disabled. You **MUST** disable swap in order for the kubelet to work properly.
40
42
-->
41
43
* 一台兼容的 Linux 主机。Kubernetes 项目为基于 Debian 和 Red Hat 的 Linux
## Verify the MAC address and product_uuid are unique for every node
55
+
## Verify the MAC address and product_uuid are unique for every node {#verify-mac-address}
54
56
55
57
* You can get the MAC address of the network interfaces using the command `ip link` or `ifconfig -a`
56
58
* The product_uuid can be checked by using the command `sudo cat /sys/class/dmi/id/product_uuid`
@@ -75,43 +77,11 @@ Kubernetes 使用这些值来唯一确定集群中的节点。
75
77
If you have more than one network adapter, and your Kubernetes components are not reachable on the default
76
78
route, we recommend you add IP route(s) so Kubernetes cluster addresses go via the appropriate adapter.
77
79
-->
78
-
## 检查网络适配器
80
+
## 检查网络适配器 {#check-network-adapters}
79
81
80
82
如果你有一个以上的网络适配器,同时你的 Kubernetes 组件通过默认路由不可达,我们建议你预先添加 IP 路由规则,
81
83
这样 Kubernetes 集群就可以通过对应的适配器完成连接。
82
84
83
-
<!--
84
-
## Letting iptables see bridged traffic
85
-
86
-
Make sure that the `br_netfilter` module is loaded. This can be done by running `lsmod | grep br_netfilter`. To load it explicitly call `sudo modprobe br_netfilter`.
87
-
88
-
As a requirement for your Linux Node's iptables to correctly see bridged traffic, you should ensure `net.bridge.bridge-nf-call-iptables` is set to 1 in your `sysctl` config, e.g.
For more details please see the [Network Plugin Requirements](/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/#network-plugin-requirements) page.
0 commit comments