sync current state
This commit is contained in:
28
ansible/playbooks/templates/kubeadm-config.yaml.j2
Normal file
28
ansible/playbooks/templates/kubeadm-config.yaml.j2
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: kubeadm-config
|
||||
namespace: kube-system
|
||||
data:
|
||||
ClusterConfiguration: |
|
||||
apiServer: {}
|
||||
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: {{ kubernetes_version | default('v1.33.4') }}
|
||||
networking:
|
||||
dnsDomain: cluster.local
|
||||
serviceSubnet: {{ service_cidr | default('10.96.0.0/12') }}
|
||||
proxy: {}
|
||||
scheduler: {}
|
||||
controlPlaneEndpoint: {{ control_plane_endpoint | default('fastpass.local.mk-labs.cloud') }}:{{ control_plane_port | default('6443') }}
|
||||
Reference in New Issue
Block a user