forked from kubernetes/cloud-provider-alibaba-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kubeadm-new.conf
35 lines (35 loc) · 945 Bytes
/
kubeadm-new.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
apiVersion: kubeadm.k8s.io/v1alpha3
kind: InitConfiguration
bootstrapTokens:
- token: zlrecy.1umn2p8qhjuh5bwk
nodeRegistration:
kubeletExtraArgs:
cloud-provider: external
name: cn-hongkong.i-j6c0zd30oi7a5el8au1m
---
apiVersion: kubeadm.k8s.io/v1alpha3
kind: ClusterConfiguration
imageRepository: registry-vpc.${region}.aliyuncs.com/acs
apiServerExtraArgs:
cloud-provider: external
clusterName: kubernetes
controllerManagerExtraArgs:
cloud-provider: external
horizontal-pod-autoscaler-use-rest-clients: "false"
node-cidr-mask-size: "20"
networking:
dnsDomain: cluster.local
podSubnet: 172.16.0.0/16
serviceSubnet: 172.19.0.0/20
apiServerExtraVolumes:
- hostPath: /etc/localtime
mountPath: /etc/localtime
name: localtime
controllerManagerExtraVolumes:
- hostPath: /etc/localtime
mountPath: /etc/localtime
name: localtime
schedulerExtraVolumes:
- hostPath: /etc/localtime
mountPath: /etc/localtime
name: localtime