Update k8s.md
This commit is contained in:
@@ -91,7 +91,11 @@ disabled_plugins = ["cri"]
|
|||||||
systemctl restart containerd
|
systemctl restart containerd
|
||||||
```
|
```
|
||||||
|
|
||||||
### 初始化集群 (替换YOUR_IP为实际公网IP)
|
### 初始化集群 (替换YOUR_IP为实际网口IP)
|
||||||
|
查看IP
|
||||||
|
```
|
||||||
|
hostname -I
|
||||||
|
```
|
||||||
```bash
|
```bash
|
||||||
kubeadm init \
|
kubeadm init \
|
||||||
--pod-network-cidr=10.244.0.0/16 \
|
--pod-network-cidr=10.244.0.0/16 \
|
||||||
|
|||||||
Reference in New Issue
Block a user