summaryrefslogtreecommitdiff
path: root/roles/kubernetes/standalone/base/templates/kubelet-config.yml.j2
blob: c4395631d4a48c0a9a67815313e17b17b2907dae (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
{# https://godoc.org/k8s.io/kubelet/config/v1beta1#KubeletConfiguration #}
{#  #}
kind: KubeletConfiguration
apiVersion: kubelet.config.k8s.io/v1beta1
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 }}
authentication:
  anonymous:
    enabled: true
  webhook:
    enabled: false
authorization:
  mode: AlwaysAllow
maxPods: {{ kubernetes_standalone_max_pods }}
makeIPTablesUtilChains: false
hairpinMode: none
resolvConf: {{ kubernetes_standalone_resolv_conf }}
cgroupDriver: systemd
enableControllerAttachDetach: false