github.com/qsunny/k8s@v0.0.0-20220101153623-e6dca256d5bf/k8s_install/kubeadm-config.yaml (about)

     1  ---
     2  apiVersion: kubeadm.k8s.io/v1beta2
     3  kind: ClusterConfiguration
     4  kubernetesVersion: v1.21.0
     5  imageRepository: registry.aliyuncs.com/k8sxio
     6  controlPlaneEndpoint: "apiserver.demo:6443"
     7  networking:
     8    serviceSubnet: "10.96.0.0/16"
     9    podSubnet: "10.100.0.1/16"
    10    dnsDomain: "cluster.local"
    11  dns:
    12    type: CoreDNS
    13    imageRepository: swr.cn-east-2.myhuaweicloud.com
    14    imageTag: 1.8.0
    15  
    16  ---
    17  apiVersion: kubelet.config.k8s.io/v1beta1
    18  kind: KubeletConfiguration
    19  cgroupDriver: systemd