mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
changes done to enable br_filter and ip_forward for debian packages
This commit is contained in:
parent
f4bf0e8d33
commit
b929ba01ef
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/50-kubeadm.conf",
|
||||
}
|
||||
],
|
||||
)
|
||||
|
||||
|
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