Añadir 'config-kubectr01.yaml.tpl'
This commit is contained in:
48
config-kubectr01.yaml.tpl
Normal file
48
config-kubectr01.yaml.tpl
Normal file
@ -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: {}
|
Reference in New Issue
Block a user