mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-18 19:10:39 +01:00
14 lines
387 B
YAML
14 lines
387 B
YAML
|
---
|
||
|
# See: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#letting-iptables-see-bridged-traffic
|
||
|
- name: Set sysctl for IPv4 bridges
|
||
|
sysctl:
|
||
|
name: net.bridge.bridge-nf-call-iptables
|
||
|
value: '1'
|
||
|
state: present
|
||
|
|
||
|
- name: Set sysctl for IPv6 bridges
|
||
|
sysctl:
|
||
|
name: net.bridge.bridge-nf-call-ip6tables
|
||
|
value: '1'
|
||
|
state: present
|