Skip to content

Commit

Permalink
Update Install.md
Browse files Browse the repository at this point in the history
  • Loading branch information
miaoyc666 authored May 20, 2024
1 parent 20cfe6d commit 9016da3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions K8s/Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ sysctl --system

### 3.初始化Kubeadm
#### 3.1 默认使用containerd初始化
如果使用kube-vip,则修改以下配置:--apiserver-advertise-address=<vip>, apiserver-advertise-address参数的地址指向预先分配好的ip地址。
```bash
# 默认使用containerd初始化
kubeadm init --kubernetes-version=v1.25.2 --apiserver-advertise-address=192.168.88.110 --image-repository registry.aliyuncs.com/google_containers --pod-network-cidr=10.244.0.0/16 --cri-socket /var/run/containerd/containerd.sock
Expand Down

0 comments on commit 9016da3

Please sign in to comment.