defaulted.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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/criruntime.sock
  16. name: control-plane-1
  17. taints:
  18. - effect: NoSchedule
  19. key: node-role.kubernetes.io/master
  20. ---
  21. apiServer:
  22. timeoutForControlPlane: 4m0s
  23. apiVersion: kubeadm.k8s.io/v1beta1
  24. certificatesDir: /var/lib/kubernetes/pki
  25. clusterName: kubernetes
  26. controlPlaneEndpoint: ""
  27. controllerManager: {}
  28. dns:
  29. type: CoreDNS
  30. etcd:
  31. local:
  32. dataDir: /var/lib/etcd
  33. imageRepository: my-company.com
  34. kind: ClusterConfiguration
  35. kubernetesVersion: v1.13.0
  36. networking:
  37. dnsDomain: cluster.global
  38. podSubnet: 10.148.0.0/16
  39. serviceSubnet: 10.196.0.0/12
  40. scheduler: {}
  41. ---
  42. apiVersion: kubeproxy.config.k8s.io/v1alpha1
  43. bindAddress: 0.0.0.0
  44. clientConnection:
  45. acceptContentTypes: ""
  46. burst: 10
  47. contentType: application/vnd.kubernetes.protobuf
  48. kubeconfig: /var/lib/kube-proxy/kubeconfig.conf
  49. qps: 5
  50. clusterCIDR: 10.148.0.0/16
  51. configSyncPeriod: 15m0s
  52. conntrack:
  53. maxPerCore: 32768
  54. min: 131072
  55. tcpCloseWaitTimeout: 1h0m0s
  56. tcpEstablishedTimeout: 24h0m0s
  57. enableProfiling: false
  58. healthzBindAddress: 0.0.0.0:10256
  59. hostnameOverride: ""
  60. iptables:
  61. masqueradeAll: false
  62. masqueradeBit: 14
  63. minSyncPeriod: 0s
  64. syncPeriod: 30s
  65. ipvs:
  66. excludeCIDRs: null
  67. minSyncPeriod: 0s
  68. scheduler: ""
  69. syncPeriod: 30s
  70. kind: KubeProxyConfiguration
  71. metricsBindAddress: 127.0.0.1:10249
  72. mode: ""
  73. nodePortAddresses: null
  74. oomScoreAdj: -999
  75. portRange: ""
  76. udpIdleTimeout: 250ms
  77. winkernel:
  78. enableDSR: false
  79. networkName: ""
  80. sourceVip: ""
  81. ---
  82. address: 0.0.0.0
  83. apiVersion: kubelet.config.k8s.io/v1beta1
  84. authentication:
  85. anonymous:
  86. enabled: false
  87. webhook:
  88. cacheTTL: 2m0s
  89. enabled: true
  90. x509:
  91. clientCAFile: /etc/kubernetes/pki/ca.crt
  92. authorization:
  93. mode: Webhook
  94. webhook:
  95. cacheAuthorizedTTL: 5m0s
  96. cacheUnauthorizedTTL: 30s
  97. cgroupDriver: cgroupfs
  98. cgroupsPerQOS: true
  99. clusterDNS:
  100. - 10.192.0.10
  101. clusterDomain: cluster.global
  102. configMapAndSecretChangeDetectionStrategy: Watch
  103. containerLogMaxFiles: 5
  104. containerLogMaxSize: 10Mi
  105. contentType: application/vnd.kubernetes.protobuf
  106. cpuCFSQuota: true
  107. cpuCFSQuotaPeriod: 100ms
  108. cpuManagerPolicy: none
  109. cpuManagerReconcilePeriod: 10s
  110. enableControllerAttachDetach: true
  111. enableDebuggingHandlers: true
  112. enforceNodeAllocatable:
  113. - pods
  114. eventBurst: 10
  115. eventRecordQPS: 5
  116. evictionHard:
  117. imagefs.available: 15%
  118. memory.available: 100Mi
  119. nodefs.available: 10%
  120. nodefs.inodesFree: 5%
  121. evictionPressureTransitionPeriod: 5m0s
  122. failSwapOn: true
  123. fileCheckFrequency: 20s
  124. hairpinMode: promiscuous-bridge
  125. healthzBindAddress: 127.0.0.1
  126. healthzPort: 10248
  127. httpCheckFrequency: 20s
  128. imageGCHighThresholdPercent: 85
  129. imageGCLowThresholdPercent: 80
  130. imageMinimumGCAge: 2m0s
  131. iptablesDropBit: 15
  132. iptablesMasqueradeBit: 14
  133. kind: KubeletConfiguration
  134. kubeAPIBurst: 10
  135. kubeAPIQPS: 5
  136. makeIPTablesUtilChains: true
  137. maxOpenFiles: 1000000
  138. maxPods: 110
  139. nodeLeaseDurationSeconds: 40
  140. nodeStatusReportFrequency: 1m0s
  141. nodeStatusUpdateFrequency: 10s
  142. oomScoreAdj: -999
  143. podPidsLimit: -1
  144. port: 10250
  145. registryBurst: 10
  146. registryPullQPS: 5
  147. resolvConf: /etc/resolv.conf
  148. rotateCertificates: true
  149. runtimeRequestTimeout: 2m0s
  150. serializeImagePulls: true
  151. staticPodPath: /etc/kubernetes/manifests
  152. streamingConnectionIdleTimeout: 4h0m0s
  153. syncFrequency: 1m0s
  154. volumeStatsAggPeriod: 1m0s