Skip to content

Network plugin returns error: cni plugin not initialized #147

@stoica353

Description

@stoica353

Hello,

I try to use the vagrant scripts but is not working well.
The nodes are up but not ready:

MemoryPressure False Tue, 12 Nov 2024 09:41:48 +0000 Tue, 12 Nov 2024 09:41:48 +0000 KubeletHasSufficientMemory kubelet has sufficient memory available
DiskPressure False Tue, 12 Nov 2024 09:41:48 +0000 Tue, 12 Nov 2024 09:41:48 +0000 KubeletHasNoDiskPressure kubelet has no disk pressure
PIDPressure False Tue, 12 Nov 2024 09:41:48 +0000 Tue, 12 Nov 2024 09:41:48 +0000 KubeletHasSufficientPID kubelet has sufficient PID available
Ready False Tue, 12 Nov 2024 09:41:48 +0000 Tue, 12 Nov 2024 09:41:48 +0000 KubeletNotReady container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized

My local subnet : 192.168.1.0/24

And I use:
kubeadm init --apiserver-advertise-address=172.16.16.100 --pod-network-cidr=172.18.0.0/16
or
kubeadm init --apiserver-advertise-address=172.16.16.100 --pod-network-cidr=192.169.0.0/16

Should I include one of the interface to my localsubnet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions