Hey all, I have an edge k3s cluster setup currentl...
# k3s
b
Hey all, I have an edge k3s cluster setup currently where there are several network cameras UDP multicasting on the network. My use case is to consume them and do some computer vision on an Nvidia Jetson. Currently we are using a default flannel configurations with multus cni plugin. I have deployed the following resource
Copy code
apiVersion: <http://k8s.cni.cncf.io/v1|k8s.cni.cncf.io/v1>
kind: NetworkAttachmentDefinition
metadata:
  name: multus-default
  namespace: kube-system
spec:
  config: '{ 
    "cniVersion": "0.3.1", 
    "type": "bridge",
    "bridge": "br-multicast", 
    "isGateway": true, 
    "hairpinMode": true,
    "isMasq": false, 
    "ipam": { 
      "type": "host-local", 
      "subnet": "10.100.0.0/16" 
     } 
    }'
And annotating my pods correctly. I can confirm that multus is adding the interface to my pod and I can verify it running a shell on the pod. I have a simple camera running broadcasting on
<udp://239.255.0.1:1234>
but I am unable to see any traffic inside the pod (confirmed via
tcpdump
inside pod) but I can see traffic on the host. Has anyone had any success with k3s, multus and multicasting?