Created
May 6, 2020 05:38
-
-
Save uablrek/8e30f8ee1e05d3de42961cb69d19cf2e to your computer and use it in GitHub Desktop.
Example kubeadm.config for dual-stack
This file contains 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/v1beta2 | |
bootstrapTokens: | |
- groups: | |
- system:bootstrappers:kubeadm:default-node-token | |
token: 11n1ns.vneshg4ikfoyiy09 | |
ttl: 24h0m0s | |
usages: | |
- signing | |
- authentication | |
kind: InitConfiguration | |
localAPIEndpoint: | |
advertiseAddress: 192.168.1.1 | |
bindPort: 6443 | |
nodeRegistration: | |
criSocket: /var/run/crio/crio.sock | |
name: vm-001 | |
taints: | |
- effect: NoSchedule | |
key: node-role.kubernetes.io/master | |
--- | |
apiServer: | |
timeoutForControlPlane: 4m0s | |
apiVersion: kubeadm.k8s.io/v1beta2 | |
certificatesDir: /etc/kubernetes/pki | |
clusterName: kubernetes | |
controllerManager: {} | |
dns: | |
type: CoreDNS | |
etcd: | |
local: | |
dataDir: /var/lib/etcd | |
featureGates: | |
IPv6DualStack: true | |
imageRepository: k8s.gcr.io | |
kind: ClusterConfiguration | |
kubernetesVersion: v1.18.2 | |
networking: | |
dnsDomain: cluster.local | |
podSubnet: "11.0.0.0/16,1100::/48" | |
serviceSubnet: "12.0.0.0/16,fd00:4000::/112" | |
scheduler: {} | |
--- | |
apiVersion: kubeproxy.config.k8s.io/v1alpha1 | |
kind: KubeProxyConfiguration | |
mode: ipvs | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment