Merge pull request #70152 from ashwanikhemani/myfeature

changes done to enable br_netfilter and ip_forward for debian packages
This commit is contained in:
k8s-ci-robot 2018-10-26 12:22:19 -07:00 committed by GitHub
commit c23e94a7ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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",
},
],
)

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

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