@@ -102,165 +102,17 @@ configuration file options. This file is passed in the `--config` option.
102102
103103In Kubernetes 1.11 and later, the default configuration can be printed out using the
104104[ kubeadm config print-default] ( /docs/reference/setup-tools/kubeadm/kubeadm-config/ ) command.
105- It is ** recommended** that you migrate your old ` v1alpha1 ` configuration to ` v1alpha2 ` using
105+ It is ** recommended** that you migrate your old ` v1alpha2 ` configuration to ` v1alpha3 ` using
106106the [ kubeadm config migrate] ( /docs/reference/setup-tools/kubeadm/kubeadm-config/ ) command,
107- because ` v1alpha1 ` will be removed in Kubernetes 1.12 .
107+ because ` v1alpha2 ` will be removed in Kubernetes 1.13 .
108108
109109For more details on each field in the configuration you can navigate to our
110- [ API reference pages.] (https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm#MasterConfiguration )
111-
112- Example of the kubeadm MasterConfiguration version ` v1alpha2 ` :
113-
114- ``` yaml
115- apiVersion : kubeadm.k8s.io/v1alpha2
116- kind : MasterConfiguration
117- kubernetesVersion : v1.11.0
118- api :
119- advertiseAddress : 192.168.0.102
120- bindPort : 6443
121- controlPlaneEndpoint : " "
122- auditPolicy :
123- logDir : /var/log/kubernetes/audit
124- logMaxAge : 2
125- path : " "
126- bootstrapTokens :
127- - groups :
128- - system:bootstrappers:kubeadm:default-node-token
129- token : abcdef.0123456789abcdef
130- ttl : 24h0m0s
131- usages :
132- - signing
133- - authentication
134- certificatesDir : /etc/kubernetes/pki
135- clusterName : kubernetes
136- etcd :
137- local :
138- dataDir : /var/lib/etcd
139- image : " "
140- imageRepository : k8s.gcr.io
141- kubeProxy :
142- config :
143- bindAddress : 0.0.0.0
144- clientConnection :
145- acceptContentTypes : " "
146- burst : 10
147- contentType : application/vnd.kubernetes.protobuf
148- kubeconfig : /var/lib/kube-proxy/kubeconfig.conf
149- qps : 5
150- clusterCIDR : " "
151- configSyncPeriod : 15m0s
152- conntrack :
153- max : null
154- maxPerCore : 32768
155- min : 131072
156- tcpCloseWaitTimeout : 1h0m0s
157- tcpEstablishedTimeout : 24h0m0s
158- enableProfiling : false
159- healthzBindAddress : 0.0.0.0:10256
160- hostnameOverride : " "
161- iptables :
162- masqueradeAll : false
163- masqueradeBit : 14
164- minSyncPeriod : 0s
165- syncPeriod : 30s
166- ipvs :
167- ExcludeCIDRs : null
168- minSyncPeriod : 0s
169- scheduler : " "
170- syncPeriod : 30s
171- metricsBindAddress : 127.0.0.1:10249
172- mode : " "
173- nodePortAddresses : null
174- oomScoreAdj : -999
175- portRange : " "
176- resourceContainer : /kube-proxy
177- udpIdleTimeout : 250ms
178- kubeletConfiguration :
179- baseConfig :
180- address : 0.0.0.0
181- authentication :
182- anonymous :
183- enabled : false
184- webhook :
185- cacheTTL : 2m0s
186- enabled : true
187- x509 :
188- clientCAFile : /etc/kubernetes/pki/ca.crt
189- authorization :
190- mode : Webhook
191- webhook :
192- cacheAuthorizedTTL : 5m0s
193- cacheUnauthorizedTTL : 30s
194- cgroupDriver : cgroupfs
195- cgroupsPerQOS : true
196- clusterDNS :
197- - 10.96.0.10
198- clusterDomain : cluster.local
199- containerLogMaxFiles : 5
200- containerLogMaxSize : 10Mi
201- contentType : application/vnd.kubernetes.protobuf
202- cpuCFSQuota : true
203- cpuManagerPolicy : none
204- cpuManagerReconcilePeriod : 10s
205- enableControllerAttachDetach : true
206- enableDebuggingHandlers : true
207- enforceNodeAllocatable :
208- - pods
209- eventBurst : 10
210- eventRecordQPS : 5
211- evictionHard :
212- imagefs.available : 15%
213- memory.available : 100Mi
214- nodefs.available : 10%
215- nodefs.inodesFree : 5%
216- evictionPressureTransitionPeriod : 5m0s
217- failSwapOn : true
218- fileCheckFrequency : 20s
219- hairpinMode : promiscuous-bridge
220- healthzBindAddress : 127.0.0.1
221- healthzPort : 10248
222- httpCheckFrequency : 20s
223- imageGCHighThresholdPercent : 85
224- imageGCLowThresholdPercent : 80
225- imageMinimumGCAge : 2m0s
226- iptablesDropBit : 15
227- iptablesMasqueradeBit : 14
228- kubeAPIBurst : 10
229- kubeAPIQPS : 5
230- makeIPTablesUtilChains : true
231- maxOpenFiles : 1000000
232- maxPods : 110
233- nodeStatusUpdateFrequency : 10s
234- oomScoreAdj : -999
235- podPidsLimit : -1
236- port : 10250
237- registryBurst : 10
238- registryPullQPS : 5
239- resolvConf : /etc/resolv.conf
240- rotateCertificates : true
241- runtimeRequestTimeout : 2m0s
242- serializeImagePulls : true
243- staticPodPath : /etc/kubernetes/manifests
244- streamingConnectionIdleTimeout : 4h0m0s
245- syncFrequency : 1m0s
246- volumeStatsAggPeriod : 1m0s
247- networking :
248- dnsDomain : cluster.local
249- podSubnet : " "
250- serviceSubnet : 10.96.0.0/12
251- nodeRegistration :
252- criSocket : /var/run/dockershim.sock
253- name : your-host-name
254- taints :
255- - effect : NoSchedule
256- key : node-role.kubernetes.io/master
257- unifiedControlPlaneImage : " "
258- ` ` `
110+ [ API reference pages.] (https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm )
259111
260112### Adding kube-proxy parameters {#kube-proxy}
261113
262- For information about kube-proxy parameters in the MasterConfiguration see:
263- - [kube-proxy](https://godoc.org/k8s.io/kubernetes/pkg/proxy/apis/kubeproxyconfig/v1alpha1 #KubeProxyConfiguration)
114+ For information about kube-proxy parameters in the kubeadm configuration see:
115+ - [ kube-proxy] ( https://godoc.org/k8s.io/kubernetes/pkg/proxy/apis/config #KubeProxyConfiguration )
264116
265117### Passing custom flags to control plane components {#control-plane-flags}
266118
0 commit comments