service cidr ,pod cidr和配置文件之间的关系
kubeadm init --apiserver-advertise-address=10.111.40.111 --image-repository registry.aliyuncs.com/google_containers --kubernetes-version v1.28.0 --service-cidr=10.123.0.0/19 --pod-network-cidr=10.124.0.0/19 --cri-socket=unix:///var/run/cri-dockerd.sock --ignore-preflight-errors=all
/etc/kubernetes/manifests/kube-apiserver.yaml
--advertise-address= 10.111.40.111 master宿主机IP
--service-cluster-ip-range=10.123.0.0/19 service cidr
/etc/kubernetes/manifests/kube-controller-manager.yaml
--service-cluster-ip-range=10.123.0.0/19 service cidr
- --cluster-cidr=10.124.0.0/19 pod cidr
flannel.1 是路由器接口么,cni0是路由器接口对应的网关IP?kube-ipvs0 是??docker0 是? vethb193f581@if3 是
标签:service,cluster,--,0.0,网络,19,cidr,k8s From: https://www.cnblogs.com/machangwei-8/p/18258936