Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 11, 2020 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/fcf0ea078879fa7548fe91fa569519d8 to your computer and use it in GitHub Desktop.
Save velotiotech/fcf0ea078879fa7548fe91fa569519d8 to your computer and use it in GitHub Desktop.
apiVersion: kubeadm.k8s.io/v1alpha1
kind: MasterConfiguration
api:
advertiseAddress: <master-private-ip>
etcd:
endpoints:
- http://<master0-ip-address>:2379
- http://<master1-ip-address>:2379
- http://<master2-ip-address>:2379
caFile: /etc/kubernetes/pki/etcd/ca.pem
certFile: /etc/kubernetes/pki/etcd/client.pem
keyFile: /etc/kubernetes/pki/etcd/client-key.pem
networking:
podSubnet: <podCIDR>
apiServerCertSANs:
- <load-balancer-ip>
apiServerExtraArgs:
endpoint-reconciler-type: lease
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment