This message was deleted.
# k3s
a
This message was deleted.
s
I could force-delete it, but I'm afraid that might hide a bigger problem?
b
it is apparently complaining about the JSON file describing the CNI plugin
You did not see any problem when creating the pod?
Could you
sudo cat /var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist
please?
s
The pod is created by a deployment, which is created by a helm chart. I did not see any issues.
It was quite urgent, so I force deleted the pod before your message arrived. Before I did that, I checked to see if the container was running on the server, using
k3s crictl ps
. It was not running.
Contents of `/var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist`:
Copy code
{
  "name": "cbr0",
  "cniVersion": "1.0.0",
  "plugins": [
    {
      "type": "flannel",
      "delegate": {
        "hairpinMode": true,
        "forceAddress": true,
        "isDefaultGateway": true
      }
    },
    {
      "type": "portmap",
      "capabilities": {
        "portMappings": true
      }
    }
  ]
}
My problem is solved now, but I'll be glad to provide more info if you want to dig into this.
b
the JSON seems correct, I wonder why it was complaining
If you are ever able to reproduce the problem, yes please, any extra info would be super helpful
s
OK, I'll try to remember 🙂
b
thanks Rudolf! 🙂
1367 Views