Commit 80ccbbb
committed
kernel: enable ipset hash:netport set type
kube-router NetworkPolicy enforcement in k3s requires the netfilter
ipset set types it creates at startup. The kernel config already
enables ipset core, xt_set and most hash/bitmap set types as modules
installed into the rootfs, but hash:netport was missing, causing
`ipset save` to fail and kube-router to silently skip policy
enforcement.
Enable CONFIG_IP_SET_HASH_NETPORT=m and install the module into the
rootfs image.
Closes #7921 parent 35a5ef5 commit 80ccbbb
2 files changed
Lines changed: 2 additions & 0 deletions
File tree
- os/yocto/layers/meta-dstack
- recipes-core/images
- recipes-kernel/linux/files
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
0 commit comments