我的k8s config
aaa
apiVersion: kubekey.kubesphere.io/v1alpha2
kind: Cluster
metadata:
name: sample
spec:
hosts:
- {name: etspst001-hp-compaq-8000-elite-cmt-pc, address: 192.168.1.3, internalAddress: 192.168.1.3, user: ets-pst-001, password: "pppp"}
- {name: etspst002-bm6660-bm6360, address: 192.168.1.5, internalAddress: 192.168.1.5, user: ets-pst-002, password: "pppp"}
roleGroups:
etcd:
- etspst001-hp-compaq-8000-elite-cmt-pc
control-plane:
- etspst001-hp-compaq-8000-elite-cmt-pc
worker:
- etspst001-hp-compaq-8000-elite-cmt-pc
- etspst002-bm6660-bm6360
registry:
- etspst001-hp-compaq-8000-elite-cmt-pc
controlPlaneEndpoint:
## Internal loadbalancer for apiservers
# internalLoadbalancer: haproxy
domain: lb.kubesphere.local
address: ""
port: 6443
kubernetes:
version: v1.28.12
clusterName: cluster.local
autoRenewCerts: true
containerManager: containerd
etcd:
type: kubekey
network:
plugin: calico
kubePodsCIDR: 10.233.64.0/18
kubeServiceCIDR: 10.233.0.0/18
## multus support. https://github.com/k8snetworkplumbingwg/multus-cni
multusCNI:
enabled: false
registry:
privateRegistry: "dockerhub.kubkey.local"
namespaceOverride: ""
registryMirrors: []
insecureRegistries: []
addons: []