Skip to content

Network Plugin Kubeconfig Rotation fails silently #727

Description

@adracus

Describe the bug
If the network plugin kubeconfig rotation fails, the machine pool cannot progress in creating machines. This is due to the kubeconfig rotation being dispatched in the Init function of the network interface plugin (

if err := p.startWatcher(ctx); err != nil {
) without any health or readiness check.

The contract of the network interface plugin is also not quite well-formed here: We should research how e.g. k8s with the network interface plugin does both authentication and watching to make failures more visible and to be able to react on them. Example would be Calico to look at, as it also does api server communication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status
    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions