From 2529e21646b58db3f863526426e71667ba7c751a Mon Sep 17 00:00:00 2001 From: jorgeboti Date: Wed, 28 Jul 2021 06:45:58 +0000 Subject: [PATCH] =?UTF-8?q?A=C3=B1adir=20'config-kubectr01.yaml.tpl'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config-kubectr01.yaml.tpl | 48 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 config-kubectr01.yaml.tpl diff --git a/config-kubectr01.yaml.tpl b/config-kubectr01.yaml.tpl new file mode 100644 index 0000000..63c9838 --- /dev/null +++ b/config-kubectr01.yaml.tpl @@ -0,0 +1,48 @@ +apiVersion: kubeadm.k8s.io/v1beta1 +bootstrapTokens: +- groups: + - system:bootstrappers:kubeadm:default-node-token + token: colmta.7uxl2adqk6x6w6wu + ttl: 24h0m0s + usages: + - signing + - authentication +kind: InitConfiguration +localAPIEndpoint: + advertiseAddress: 172.16.100.111 + bindPort: 6443 +nodeRegistration: + criSocket: /var/run/dockershim.sock + name: kubectr01 + taints: + - effect: NoSchedule + key: node-role.kubernetes.io/master +--- +apiServer: + certSANs: + - 172.16.100.100 + timeoutForControlPlane: 4m0s +apiVersion: kubeadm.k8s.io/v1beta1 +certificatesDir: /etc/kubernetes/pki +clusterName: kubernetes +controlPlaneEndpoint: 172.16.100.100:6443 +controllerManager: {} +dns: + type: CoreDNS +etcd: + external: + endpoints: + - https://172.16.100.111:2379 + - https://172.16.100.112:2379 + - https://172.16.100.113:2379 + caFile: /etc/etcd/ca.pem + certFile: /etc/etcd/kubernetes.pem + keyFile: /etc/etcd/kubernetes-key.pem +imageRepository: k8s.gcr.io +kind: ClusterConfiguration +kubernetesVersion: v1.21.2 +networking: + dnsDomain: k8s.pheros.local + podSubnet: 10.244.0.0/16 + serviceSubnet: 10.244.0.0/16 +scheduler: {}