Created
February 10, 2026 17:21
-
-
Save b01/0ec469a354b81350c89b236285fd5241 to your computer and use it in GitHub Desktop.
kubeadm init configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: kubeadm.k8s.io/v1beta4 | |
| bootstrapTokens: | |
| - groups: | |
| - system:bootstrappers:kubeadm:default-node-token | |
| token: abcdef.0123456789abcdef | |
| ttl: 24h0m0s | |
| usages: | |
| - signing | |
| - authentication | |
| kind: InitConfiguration | |
| localAPIEndpoint: | |
| advertiseAddress: fd00:192:168:56::11 | |
| bindPort: 6443 | |
| nodeRegistration: | |
| criSocket: unix:///var/run/containerd/containerd.sock | |
| imagePullPolicy: IfNotPresent | |
| imagePullSerial: true | |
| name: control-plane-01 | |
| taints: null | |
| timeouts: | |
| controlPlaneComponentHealthCheck: 4m0s | |
| discovery: 5m0s | |
| etcdAPICall: 2m0s | |
| kubeletHealthCheck: 4m0s | |
| kubernetesAPICall: 1m0s | |
| tlsBootstrap: 5m0s | |
| upgradeManifests: 5m0s | |
| --- | |
| apiServer: | |
| certSANS: | |
| - ::1 # When you set the advertiseAddress to a non-loopback address, you must add the loopback address to the certSANs list. | |
| - 0:0:0:0:0:0:0:1 | |
| - 127.0.0.1 | |
| - 192.168.56.11 | |
| - fd00:192:168:56::11 | |
| apiVersion: kubeadm.k8s.io/v1beta4 | |
| caCertificateValidityPeriod: 87600h0m0s | |
| certificateValidityPeriod: 8760h0m0s | |
| certificatesDir: /etc/kubernetes/pki | |
| clusterName: kubernetes | |
| controllerManager: {} | |
| dns: {} | |
| encryptionAlgorithm: RSA-2048 | |
| etcd: | |
| local: | |
| dataDir: /var/lib/etcd | |
| imageRepository: registry.k8s.io | |
| kind: ClusterConfiguration | |
| kubernetesVersion: 1.35.0 | |
| networking: | |
| dnsDomain: cluster.local | |
| podSubnet: 2001:db8:42:0::/56,10.244.0.0/16 | |
| serviceSubnet: 2001:db8:42:1::/112,10.96.0.0/16 | |
| proxy: {} | |
| scheduler: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment