summaryrefslogtreecommitdiff
path: root/roles/kubernetes/base/templates/50-extra.conf.j2
blob: c722ade66c9fd45aa3bc6a309f5809f592748bcb (plain) (blame)
1
2
3
{% set br_net = kubernetes.pod_ip_range | ipsubnet(kubernetes.pod_ip_range_size, kubernetes.net_index[inventory_hostname]) -%}
[Service]
Environment="KUBELET_EXTRA_ARGS=--node-ip={{ br_net | ipaddr(1) | ipaddr('address') }}"