30 lines
718 B
Plaintext
30 lines
718 B
Plaintext
apiVersion: kubeadm.k8s.io/v1alpha3
|
|
kind: InitConfiguration
|
|
apiEndpoint:
|
|
advertiseAddress: <%= @apiserver_advertise_address %>
|
|
---
|
|
apiVersion: kubeadm.k8s.io/v1alpha3
|
|
kind: ClusterConfiguration
|
|
kubernetesVersion: 1.12.3
|
|
etcd:
|
|
external:
|
|
endpoints:
|
|
- <%= @etcd_endpoint %>
|
|
apiServerCertSANs:
|
|
- "<%= @apiserver_advertise_address %>"
|
|
- "127.0.0.1"
|
|
networking:
|
|
podSubnet: <%= @pod_network_cidr %>
|
|
controllerManagerExtraArgs:
|
|
node-monitor-period: "2s"
|
|
node-monitor-grace-period: "20s"
|
|
pod-eviction-timeout: "30s"
|
|
---
|
|
kind: KubeletConfiguration
|
|
apiVersion: kubelet.config.k8s.io/v1beta1
|
|
nodeStatusUpdateFrequency: "4s"
|
|
failSwapOn: false
|
|
featureGates:
|
|
HugePages: false
|
|
resolvConf: "/etc/resolv.conf.k8s"
|