summaryrefslogtreecommitdiff
path: root/roles/kubernetes/standalone/base/templates/kubelet-config.yml.j2
blob: c90efd9ec597ef0b965940c5cae4c1f1c45d6c3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{# https://godoc.org/k8s.io/kubelet/config/v1beta1#KubeletConfiguration #}
{#  #}
kind: KubeletConfiguration
apiVersion: kubelet.config.k8s.io/v1beta1
containerRuntimeEndpoint: {{ kubernetes_cri_socket }}
staticPodPath: /etc/kubernetes/manifests
address: {{ kubernetes_standalone_address }}
port: {{ kubernetes_standalone_port }}
readOnlyPort: {{ kubernetes_standalone_readonly_port }}
healthzBindAddress: {{ kubernetes_standalone_healthz_address }}
healthzPort: {{ kubernetes_standalone_healthz_port }}
tlsCertFile: /etc/ssl/standalone-kubelet/server/crt.pem
tlsPrivateKeyFile: /etc/ssl/standalone-kubelet/server/key.pem
authentication:
  anonymous:
    enabled: false
  webhook:
    enabled: false
  x509:
    clientCAFile: /etc/ssl/standalone-kubelet/ca-crt.pem
authorization:
  mode: AlwaysAllow
maxPods: {{ kubernetes_standalone_max_pods }}
makeIPTablesUtilChains: false
hairpinMode: none
resolvConf: {{ kubernetes_standalone_resolv_conf }}
cgroupDriver: systemd
enableControllerAttachDetach: false