mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #70152 from ashwanikhemani/myfeature
changes done to enable br_netfilter and ip_forward for debian packages
This commit is contained in:
commit
c23e94a7ff
2
build/debs/50-kubeadm.conf
Normal file
2
build/debs/50-kubeadm.conf
Normal file
@ -0,0 +1,2 @@
|
||||
# The file is provided as part of the kubeadm package
|
||||
net.ipv4.ip_forward = 1
|
@ -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
2
build/debs/kubeadm.conf
Normal file
@ -0,0 +1,2 @@
|
||||
# Load br_netfilter module at boot
|
||||
br_netfilter
|
Loading…
Reference in New Issue
Block a user