31 lines
821 B
YAML
31 lines
821 B
YAML
apiVersion: kubeadm.k8s.io/v1beta4
|
|
kind: InitConfiguration
|
|
localAPIEndpoint:
|
|
advertiseAddress: "10.4.0.10"
|
|
bindPort: 6443
|
|
nodeRegistration:
|
|
name: "control-plane.k8s.lab.cudanet.org"
|
|
criSocket: "unix:///var/run/crio/crio.sock"
|
|
imagePullPolicy: "IfNotPresent"
|
|
taints:
|
|
- effect: "NoSchedule"
|
|
key: "node-role.kubernetes.io/control-plane"
|
|
---
|
|
apiVersion: kubeadm.k8s.io/v1beta4
|
|
kind: ClusterConfiguration
|
|
kubernetesVersion: "v1.37.0"
|
|
clusterName: "kubernetes"
|
|
controlPlaneEndpoint: "control-plane.k8s.lab.cudanet.org:6443"
|
|
apiServer:
|
|
certSANs:
|
|
- "control-plane.k8s.lab.cudanet.org"
|
|
- "10.4.0.10"
|
|
networking:
|
|
dnsDomain: "cluster.local"
|
|
serviceSubnet: "10.96.0.0/12"
|
|
podSubnet: "192.168.0.0/16"
|
|
---
|
|
apiVersion: kubeletconfiguration.k8s.io/v1beta1
|
|
kind: KubeletConfiguration
|
|
cgroupDriver: "systemd"
|