When running a netbird server and operator on the same cluster, the CNI plugin (calico in my case) may fail to start because of a webhook.
Because the webhook is calling the operator, this may also be a problem when just running the operator on said cluster.
This has been tested on a single node cluster - not sure if the behaviour would be different with multiple nodes.
From calico-kube-controllers:
Error creating: Internal error occurred: failed calling webhook "mpod-v1.netbird.io": failed to call webhook: Post "https://netbird-operator-kubernetes-operator-webhook-service.netbird-operator.svc:443/mutate--v1-pod?timeout=10s": dial tcp XXX.XXX.XXX.XXX:443: connect: connection refused
As I understand, because the CNI can't start, reaching the operator will be impossible.
kubectl edit MutatingWebhookConfiguration and setting failurePolicy: Ignore temporarily fixed the problem for me - but it may not be acceptable to set it to Ignore permanently.
When running a netbird server and operator on the same cluster, the CNI plugin (calico in my case) may fail to start because of a webhook.
Because the webhook is calling the operator, this may also be a problem when just running the operator on said cluster.
This has been tested on a single node cluster - not sure if the behaviour would be different with multiple nodes.
From
calico-kube-controllers:As I understand, because the CNI can't start, reaching the operator will be impossible.
kubectl edit MutatingWebhookConfigurationand settingfailurePolicy: Ignoretemporarily fixed the problem for me - but it may not be acceptable to set it toIgnorepermanently.