[fix]add yaml/kubeadm-config.yaml
This commit is contained in:
20
manifest/yaml/kubeadm-config.yaml
Normal file
20
manifest/yaml/kubeadm-config.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: kubeadm.k8s.io/v1beta2
|
||||||
|
kind: InitConfiguration
|
||||||
|
localAPIEndpoint:
|
||||||
|
advertiseAddress: {apiServer}
|
||||||
|
bindPort: 6443
|
||||||
|
nodeRegistration:
|
||||||
|
criSocket: /var/run/crio/crio.sock
|
||||||
|
---
|
||||||
|
apiVersion: kubeadm.k8s.io/v1beta2
|
||||||
|
kind: ClusterConfiguration
|
||||||
|
kubernetesVersion: {k8sVersion}
|
||||||
|
controlPlaneEndpoint: {apiServer}:6443
|
||||||
|
imageRepository: {imageRegistry}/k8s.gcr.io
|
||||||
|
networking:
|
||||||
|
serviceSubnet: 10.96.0.0/16
|
||||||
|
podSubnet: {podSubnet}
|
||||||
|
---
|
||||||
|
apiVersion: kubelet.config.k8s.io/v1beta1
|
||||||
|
kind: KubeletConfiguration
|
||||||
|
cgroupDriver: systemd
|
||||||
Reference in New Issue
Block a user