changes done to enable br_filter and ip_forward for debian packages

This commit is contained in:
Ashwani Khemani 2018-09-27 20:11:45 -05:00
parent f4bf0e8d33
commit b929ba01ef
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,2 @@
# The file is provided as part of the kubeadm package
net.ipv4.ip_forward = 1

View File

@ -78,6 +78,16 @@ deb_data(
"mode": "644",
"dir": "/etc/systemd/system/kubelet.service.d",
},
{
"files": ["kubeadm.conf"],
"mode": "644",
"dir": "/usr/lib/modules-load.d",
},
{
"files": ["50-kubeadm.conf"],
"mode": "644",
"dir": "/etc/sysctl.d/50-kubeadm.conf",
}
],
)

2
build/debs/kubeadm.conf Normal file
View File

@ -0,0 +1,2 @@
# Load br_netfilter module at boot
br_netfilter