squat / kilo

Kilo is a multi-cloud network overlay built on WireGuard and designed for Kubernetes (k8s + wg = kg)
https://kilo.squat.ai
Apache License 2.0
2.01k stars 120 forks source link

在k3s上运行失败 #335

Open rangdengdashi opened 1 year ago

rangdengdashi commented 1 year ago

hello,我在k3s上安装部署kilo,发现kilo的pod能够正常运行,其他的pod均不能正常运行,状态一直为ContainerCreating,查看pod log如下:

Warning  FailedCreatePodSandBox  76s (x1301 over 4h44m)  kubelet  (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "7089d29c2a79970153eab67d9ff3a3228b77b50e72ac0940c3a96a550c58d592": plugin type="bridge" name="kubernetes" failed (add): no IP ranges specified

烦请支持,使用的K3s版本为1.22,kilo版本为0.5

squat commented 1 year ago

Hmm, this seems like a Kubelet / node issue or possible a Kuberentes configuration issue. Is your cluster able to create any pods at all or do they all fail?

rangdengdashi commented 1 year ago

hello,我测试了无法创建任何pod,报错和上面贴的一样。kilo的pod能够正常运行应该是因为使用了hostnetwork模式,其他的依赖cni的都不行。