Skip to content

CFP: Option to configure timeout for lease lock acquisition in cilium operator. #38144

@akash-gautam

Description

@akash-gautam

Cilium Feature Proposal

Is your proposed feature related to a problem?

I have a k8s cluster with a remote control plane in a region different from the worker nodes in my cloud provider. When I install Cilium, the Cilium operator can't always acquire the lease lock in the set timeout of 5s. This works sometimes but fails more often.

level=error msg="error retrieving resource lock kube-system/cilium-operator-resource-lock: Get \"https://<api-server>:30071/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/cilium-operator-resource-lock?timeout=5s\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" subsys=klog

Describe the feature you'd like

There should be an option to configure the timeout of lease acquisition in Cilium operator so that admins can increase it if the latency between the worker nodes and the control plane is higher & the operation doesn't always conclude in 5s.

(Optional) Describe your proposed solution

Introduce a flag in the cilium operator that allows configuring the timeout for acquiring the lease lock.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/cfpCilium Feature Proposalkind/featureThis introduces new functionality.staleThe stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions