Skip to content

Commit

Permalink
Use new Calico images using ipset 7.17
Browse files Browse the repository at this point in the history
On kernels >= 6.2, there's a new bitmask parameter for ipset. Newer
ipset versions support and use that, leading to the effect that older
ipset versions won't be able to cope with that. The error message is:

    Kernel and userspace incompatible: settype hash:ip with revision 6 not supported by userspace.

K0s's current kube-proxy image ships ipset v7.17, whereas K0s's current
calico-node image ships ipset v7.15. That fails on newer kernels, if
kube-proxy uses IPVS.

Fix this by updating to new Calico images that ship v7.17, too.

See: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e9374524950512a1769f610a868fcdf89ea59b8e
Signed-off-by: Tom Wieczorek <[email protected]>
  • Loading branch information
twz123 committed Sep 21, 2023
1 parent f22108f commit 8f13f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/constant/constant_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const (
EnvoyProxyImage = "quay.io/k0sproject/envoy-distroless"
EnvoyProxyImageVersion = "v1.24.1"
CalicoImage = "quay.io/k0sproject/calico-cni"
CalicoComponentImagesVersion = "v3.26.1-0"
CalicoComponentImagesVersion = "v3.26.1-1"
CalicoNodeImage = "quay.io/k0sproject/calico-node"
KubeControllerImage = "quay.io/k0sproject/calico-kube-controllers"
KubeRouterCNIImage = "quay.io/k0sproject/kube-router"
Expand Down

0 comments on commit 8f13f13

Please sign in to comment.