Skip to content

Unable to start minikube with none driver with Cilium on Ubuntu 21.10 #12762

@matihost

Description

@matihost

Pointing here, but maybe it is something related to Cilium..

After upgrading to Ubuntu 21.10 (from 21.04)

sudo -E minikube start --vm-driver=none --apiserver-ips 127.0.0.1 --apiserver-name localhost --kubernetes-version=stable --extra-config=apiserver.enable-admission-plugins=NamespaceExists --extra-config=kubelet.resolv-conf=/tmp/resolv.conf --extra-config=kubelet.cgroup-driver=systemd --addons=pod-security-policy --network-plugin=cni

helm install cilium cilium/cilium --namespace kube-system --set operator.replicas=1

(where /tmp/resolv.conf contains nameserver 8.8.8.8 only)

After cilium start, the coredns pod is unable to reach forwarding dns:

 [ERROR] plugin/errors: 2 3613863210877316009.6342293437640210488. HINFO: read udp 172.26.0.153:56484->8.8.8.8:53: i/o timeout 

and indeed no pod from managed by Cilium is unable to reach anything. Pod cilium and any hostNetwork pod is fine.

Routing table and iptables seems fine.
Custom pod cidr --set ipam.operator.clusterPoolIPv4PodCIDR="172.26.0.0/16" or use some previous version dint hepl --version 1.10.1

Also under minikube containerd (--container-runtime=containerd --network-plugin=cilium added to minikube cmd) - is not working, but there cilium is failing and ability to connect to k8s api server is lost.

Running minikube w/ none /w docker but w/o --network-plugin=cni works fine.

Attached minikube logs for minikube_with_docker_with_cni_cilium.logs.txt
and
minikube_with_containerd_with_cilium.logs.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cniCNI supportco/none-driverhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/supportCategorizes issue or PR as a support question.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.priority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions