v1beta1.yaml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. apiVersion: kubeadm.k8s.io/v1beta1
  2. bootstrapTokens:
  3. - groups:
  4. - system:bootstrappers:kubeadm:default-node-token
  5. token: s73ybu.6tw6wnqgp5z0wb77
  6. ttl: 24h0m0s
  7. usages:
  8. - signing
  9. - authentication
  10. kind: InitConfiguration
  11. localAPIEndpoint:
  12. advertiseAddress: 192.168.2.2
  13. bindPort: 6443
  14. nodeRegistration:
  15. criSocket: /var/run/dockershim.sock
  16. name: control-plane-1
  17. taints:
  18. - effect: NoSchedule
  19. key: node-role.kubernetes.io/master
  20. ---
  21. apiServer:
  22. extraArgs:
  23. authorization-mode: Node,RBAC,Webhook
  24. extraVolumes:
  25. - hostPath: /host/read-only
  26. mountPath: /mount/read-only
  27. name: ReadOnlyVolume
  28. readOnly: true
  29. - hostPath: /host/writable
  30. mountPath: /mount/writable
  31. name: WritableVolume
  32. timeoutForControlPlane: 4m0s
  33. apiVersion: kubeadm.k8s.io/v1beta1
  34. certificatesDir: /etc/kubernetes/pki
  35. clusterName: kubernetes
  36. controlPlaneEndpoint: ""
  37. controllerManager: {}
  38. dns:
  39. type: CoreDNS
  40. etcd:
  41. local:
  42. dataDir: /var/lib/etcd
  43. imageRepository: k8s.gcr.io
  44. kind: ClusterConfiguration
  45. kubernetesVersion: v1.12.2
  46. networking:
  47. dnsDomain: cluster.local
  48. podSubnet: ""
  49. serviceSubnet: 10.96.0.0/12
  50. scheduler: {}
  51. useHyperKubeImage: true
  52. ---
  53. apiVersion: kubeproxy.config.k8s.io/v1alpha1
  54. bindAddress: 0.0.0.0
  55. clientConnection:
  56. acceptContentTypes: ""
  57. burst: 10
  58. contentType: application/vnd.kubernetes.protobuf
  59. kubeconfig: /var/lib/kube-proxy/kubeconfig.conf
  60. qps: 5
  61. clusterCIDR: ""
  62. configSyncPeriod: 15m0s
  63. conntrack:
  64. maxPerCore: 32768
  65. min: 131072
  66. tcpCloseWaitTimeout: 1h0m0s
  67. tcpEstablishedTimeout: 24h0m0s
  68. enableProfiling: false
  69. featureGates:
  70. ServiceNodeExclusion: true
  71. SupportIPVSProxyMode: true
  72. healthzBindAddress: 0.0.0.0:10256
  73. hostnameOverride: ""
  74. iptables:
  75. masqueradeAll: false
  76. masqueradeBit: 14
  77. minSyncPeriod: 0s
  78. syncPeriod: 30s
  79. ipvs:
  80. excludeCIDRs: null
  81. minSyncPeriod: 0s
  82. scheduler: ""
  83. syncPeriod: 30s
  84. kind: KubeProxyConfiguration
  85. metricsBindAddress: 127.0.0.1:10249
  86. mode: iptables
  87. nodePortAddresses: null
  88. oomScoreAdj: -999
  89. portRange: ""
  90. udpIdleTimeout: 250ms
  91. winkernel:
  92. enableDSR: false
  93. networkName: ""
  94. sourceVip: ""
  95. ---
  96. address: 1.2.3.4
  97. apiVersion: kubelet.config.k8s.io/v1beta1
  98. authentication:
  99. anonymous:
  100. enabled: false
  101. webhook:
  102. cacheTTL: 2m0s
  103. enabled: true
  104. x509:
  105. clientCAFile: /etc/kubernetes/pki/ca.crt
  106. authorization:
  107. mode: Webhook
  108. webhook:
  109. cacheAuthorizedTTL: 5m0s
  110. cacheUnauthorizedTTL: 30s
  111. cgroupDriver: cgroupfs
  112. cgroupsPerQOS: true
  113. clusterDNS:
  114. - 10.96.0.10
  115. clusterDomain: cluster.local
  116. configMapAndSecretChangeDetectionStrategy: Watch
  117. containerLogMaxFiles: 5
  118. containerLogMaxSize: 10Mi
  119. contentType: application/vnd.kubernetes.protobuf
  120. cpuCFSQuota: true
  121. cpuCFSQuotaPeriod: 0s
  122. cpuManagerPolicy: none
  123. cpuManagerReconcilePeriod: 10s
  124. enableControllerAttachDetach: true
  125. enableDebuggingHandlers: true
  126. enforceNodeAllocatable:
  127. - pods
  128. eventBurst: 10
  129. eventRecordQPS: 5
  130. evictionHard:
  131. imagefs.available: 15%
  132. memory.available: 100Mi
  133. nodefs.available: 10%
  134. nodefs.inodesFree: 5%
  135. evictionPressureTransitionPeriod: 5m0s
  136. failSwapOn: true
  137. fileCheckFrequency: 20s
  138. hairpinMode: promiscuous-bridge
  139. healthzBindAddress: 127.0.0.1
  140. healthzPort: 10248
  141. httpCheckFrequency: 20s
  142. imageGCHighThresholdPercent: 85
  143. imageGCLowThresholdPercent: 80
  144. imageMinimumGCAge: 2m0s
  145. iptablesDropBit: 15
  146. iptablesMasqueradeBit: 14
  147. kind: KubeletConfiguration
  148. kubeAPIBurst: 10
  149. kubeAPIQPS: 5
  150. makeIPTablesUtilChains: true
  151. maxOpenFiles: 1000000
  152. maxPods: 110
  153. nodeLeaseDurationSeconds: 40
  154. nodeStatusReportFrequency: 1m0s
  155. nodeStatusUpdateFrequency: 10s
  156. oomScoreAdj: -999
  157. podPidsLimit: -1
  158. port: 10250
  159. registryBurst: 10
  160. registryPullQPS: 5
  161. resolvConf: /etc/resolv.conf
  162. rotateCertificates: true
  163. runtimeRequestTimeout: 2m0s
  164. serializeImagePulls: true
  165. staticPodPath: /etc/kubernetes/manifests
  166. streamingConnectionIdleTimeout: 4h0m0s
  167. syncFrequency: 1m0s
  168. volumeStatsAggPeriod: 1m0s
  169. allowedUnsafeSysctls: []