Skip to content

MutatingWebhookConfiguration can lock you out #168

Description

@Rudi3

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions