Skip to content

Commit

Permalink
Update api version in kubeadm.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpeng committed Mar 4, 2023
1 parent 1d44bc1 commit 8430df7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions kubernetes-playbook/version/template/kubeadm.conf.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubeadm.k8s.io/v1beta2
apiVersion: kubeadm.k8s.io/v1beta3
bootstrapTokens:
- groups:
- system:bootstrappers:kubeadm:default-node-token
Expand All @@ -23,15 +23,14 @@ apiServer:
extraArgs:
feature-gates: LocalStorageCapacityIsolation=true
timeoutForControlPlane: 4m0s
apiVersion: kubeadm.k8s.io/v1beta2
apiVersion: kubeadm.k8s.io/v1beta3
certificatesDir: /etc/kubernetes/pki
clusterName: kubernetes
controlPlaneEndpoint: {{ endpoint }}
controllerManager:
extraArgs:
feature-gates: LocalStorageCapacityIsolation=true
dns:
type: CoreDNS
dns: {}
etcd:
external:
caFile: /etc/etcd/pki/ca.pem
Expand Down

0 comments on commit 8430df7

Please sign in to comment.