@@ -116,7 +116,7 @@ The ClusterConfiguration type should be used to configure cluster-wide settings,
116
116
including settings for:
117
117
118
118
- Networking, that holds configuration for the networking topology of the cluster; use it e.g. to customize
119
- node subnet or services subnet.
119
+ pod subnet or services subnet.
120
120
- Etcd configurations; use it e.g. to customize the local etcd or to configure the API server
121
121
for using an external etcd cluster.
122
122
- kube-apiserver, kube-scheduler, kube-controller-manager configurations; use it to customize control-plane
@@ -164,79 +164,79 @@ bootstrapTokens:
164
164
groups :
165
165
- system:bootstrappers:kubeadm:default-node-token
166
166
nodeRegistration :
167
- name: "ec2-10-100-0-1"
168
- criSocket: "/var/run/dockershim.sock"
169
- taints:
170
- - key: "kubeadmNode"
171
- value: "master"
172
- effect: "NoSchedule"
173
- kubeletExtraArgs:
174
- cgroup-driver: "cgroupfs"
175
- ignorePreflightErrors:
176
- - IsPrivilegedUser
167
+ name : " ec2-10-100-0-1"
168
+ criSocket : " /var/run/dockershim.sock"
169
+ taints :
170
+ - key : " kubeadmNode"
171
+ value : " master"
172
+ effect : " NoSchedule"
173
+ kubeletExtraArgs :
174
+ cgroup-driver : " cgroupfs"
175
+ ignorePreflightErrors :
176
+ - IsPrivilegedUser
177
177
localAPIEndpoint :
178
- advertiseAddress: "10.100.0.1"
179
- bindPort: 6443
178
+ advertiseAddress : " 10.100.0.1"
179
+ bindPort : 6443
180
180
certificateKey : " e6a2eb8581237ab72a4f494f30285ec12a9694d750b9785706a83bfcbbbd2204"
181
181
---
182
182
apiVersion : kubeadm.k8s.io/v1beta2
183
183
kind : ClusterConfiguration
184
184
etcd :
185
185
# one of local or external
186
186
local :
187
- imageRepository: "k8s.gcr.io"
188
- imageTag: "3.2.24"
189
- dataDir: "/var/lib/etcd"
190
- extraArgs:
191
- listen-client-urls: "http://10.100.0.1:2379"
192
- serverCertSANs:
193
- - "ec2-10-100-0-1.compute-1.amazonaws.com"
194
- peerCertSANs:
195
- - "10.100.0.1"
196
- # external:
197
- # endpoints:
198
- # - "10.100.0.1:2379"
199
- # - "10.100.0.2:2379"
200
- # caFile: "/etcd/kubernetes/pki/etcd/etcd-ca.crt"
201
- # certFile: "/etcd/kubernetes/pki/etcd/etcd.crt"
202
- # keyFile: "/etcd/kubernetes/pki/etcd/etcd.key"
203
- networking:
204
- serviceSubnet: "10.96.0.0/12"
205
- podSubnet: "10.100.0.1/24"
206
- dnsDomain: "cluster.local"
207
- kubernetesVersion: "v1.12.0"
208
- controlPlaneEndpoint: "10.100.0.1:6443"
209
- apiServer:
210
- extraArgs:
211
- authorization-mode: "Node,RBAC"
212
- extraVolumes:
213
- - name: "some-volume"
214
- hostPath: "/etc/some-path"
215
- mountPath: "/etc/some-pod-path"
216
- readOnly: false
217
- pathType: File
218
- certSANs:
219
- - "10.100.1.1"
220
- - "ec2-10-100-0-1.compute-1.amazonaws.com"
221
- timeoutForControlPlane: 4m0s
222
- controllerManager:
223
- extraArgs:
224
- " node-cidr-mask-size" : "20"
225
- extraVolumes:
226
- - name: "some-volume"
227
- hostPath: "/etc/some-path"
228
- mountPath: "/etc/some-pod-path"
229
- readOnly: false
230
- pathType: File
231
- scheduler:
232
- extraArgs:
233
- address: "10.100.0.1"
234
- extraVolumes:
235
- - name: "some-volume"
236
- hostPath: "/etc/some-path"
237
- mountPath: "/etc/some-pod-path"
238
- readOnly: false
239
- pathType: File
187
+ imageRepository : " k8s.gcr.io"
188
+ imageTag : " 3.2.24"
189
+ dataDir : " /var/lib/etcd"
190
+ extraArgs :
191
+ listen-client-urls : " http://10.100.0.1:2379"
192
+ serverCertSANs :
193
+ - " ec2-10-100-0-1.compute-1.amazonaws.com"
194
+ peerCertSANs :
195
+ - " 10.100.0.1"
196
+ # external:
197
+ # endpoints:
198
+ # - "10.100.0.1:2379"
199
+ # - "10.100.0.2:2379"
200
+ # caFile: "/etcd/kubernetes/pki/etcd/etcd-ca.crt"
201
+ # certFile: "/etcd/kubernetes/pki/etcd/etcd.crt"
202
+ # keyFile: "/etcd/kubernetes/pki/etcd/etcd.key"
203
+ networking :
204
+ serviceSubnet : " 10.96.0.0/12"
205
+ podSubnet : " 10.100.0.1/24"
206
+ dnsDomain : " cluster.local"
207
+ kubernetesVersion : " v1.12.0"
208
+ controlPlaneEndpoint : " 10.100.0.1:6443"
209
+ apiServer :
210
+ extraArgs :
211
+ authorization-mode : " Node,RBAC"
212
+ extraVolumes :
213
+ - name : " some-volume"
214
+ hostPath : " /etc/some-path"
215
+ mountPath : " /etc/some-pod-path"
216
+ readOnly : false
217
+ pathType : File
218
+ certSANs :
219
+ - " 10.100.1.1"
220
+ - " ec2-10-100-0-1.compute-1.amazonaws.com"
221
+ timeoutForControlPlane : 4m0s
222
+ controllerManager :
223
+ extraArgs :
224
+ " node-cidr-mask-size " : " 20"
225
+ extraVolumes :
226
+ - name : " some-volume"
227
+ hostPath : " /etc/some-path"
228
+ mountPath : " /etc/some-pod-path"
229
+ readOnly : false
230
+ pathType : File
231
+ scheduler :
232
+ extraArgs :
233
+ address : " 10.100.0.1"
234
+ extraVolumes :
235
+ - name : " some-volume"
236
+ hostPath : " /etc/some-path"
237
+ mountPath : " /etc/some-pod-path"
238
+ readOnly : false
239
+ pathType : File
240
240
certificatesDir : " /etc/kubernetes/pki"
241
241
imageRepository : " k8s.gcr.io"
242
242
useHyperKubeImage : false
@@ -663,7 +663,7 @@ APIServer holds settings necessary for API server deployments in the cluster
663
663
664
664
665
665
<tr ><td ><code >timeoutForControlPlane</code > <B >[Required]</B ><br />
666
- <code >invalid type </code >
666
+ <a href = " https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration " >< code >meta/v1.Duration </code ></ a >
667
667
</td >
668
668
<td >
669
669
` timeoutForControlPlane ` controls the timeout that we use for API server to appear</td >
@@ -712,7 +712,7 @@ for, so other administrators can know its purpose.</td>
712
712
713
713
714
714
<tr ><td ><code >ttl</code > <B >[Required]</B ><br />
715
- <code >invalid type </code >
715
+ <a href = " https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration " >< code >meta/v1.Duration </code ></ a >
716
716
</td >
717
717
<td >
718
718
` ttl ` defines the time to live for this token. Defaults to "24h".
@@ -721,7 +721,7 @@ for, so other administrators can know its purpose.</td>
721
721
722
722
723
723
<tr ><td ><code >expires</code > <B >[Required]</B ><br />
724
- <code >invalid type </code >
724
+ <a href = " https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta " >< code >meta/v1.Time </code ></ a >
725
725
</td >
726
726
<td >
727
727
` expires ` specifies the timestamp when this token expires. Defaults to being set
@@ -1004,7 +1004,7 @@ not contain any other authentication information</td>
1004
1004
1005
1005
1006
1006
<tr ><td ><code >timeout</code > <B >[Required]</B ><br />
1007
- <code >invalid type </code >
1007
+ <a href = " https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration " >< code >meta/v1.Duration </code ></ a >
1008
1008
</td >
1009
1009
<td >
1010
1010
` timeout ` modifies the discovery timeout.</td >
@@ -1199,7 +1199,7 @@ HostPathMount contains elements describing volumes that are mounted from the hos
1199
1199
1200
1200
1201
1201
<tr ><td ><code >pathType</code > <B >[Required]</B ><br />
1202
- <code >invalid type </code >
1202
+ <a href = " https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#hostpathtype-v1-core " >< code >core/v1.HostPathType </code ></ a >
1203
1203
</td >
1204
1204
<td >
1205
1205
` pathType ` is the type of the ` hostPath ` volume.</td >
@@ -1451,7 +1451,7 @@ annotated to the Node API object, for later re-use.</td>
1451
1451
1452
1452
1453
1453
<tr ><td ><code >taints</code > <B >[Required]</B ><br />
1454
- <code >[ ] invalid type </code >
1454
+ <a href = " https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#taint-v1-core " >< code >[ ] core/v1.Taint </code ></ a >
1455
1455
</td >
1456
1456
<td >
1457
1457
` taints ` specifies the taints the Node API object should be registered with. If
0 commit comments