canonical / microk8s

MicroK8s is a small, fast, single-package Kubernetes for datacenters and the edge.

Home Page:https://microk8s.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ipset v7.11: Kernel and userspace incompatible

xiaobaowan1988 opened this issue · comments

Summary

The calico node pod reports the following issue and failed to be ready
ipset v7.11: Kernel and userspace incompatible: settype hash:ip with revision 7 not supported by userspace.

What Should Happen Instead?

The calico node should be ready and don't have the above issue.

Reproduction Steps

  1. sudo snap install microk8s --classic --channel=1.30(on ubuntu 24.04 amd64)
  2. add --proxy-mode=ipvs to /var/snap/microk8s/current/args/kube-proxy
  3. microk8s stop
  4. microk8s start

Can you suggest a fix?

change the calico node image from 3.25.1 to 3.27.4 fixed this issue.

Are you interested in contributing with a fix?