-
Notifications
You must be signed in to change notification settings - Fork 3.7k
CFP: Option to configure timeout for lease lock acquisition in cilium operator. #38144
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
kind/cfpCilium Feature ProposalCilium Feature Proposalkind/featureThis introduces new functionality.This introduces new functionality.staleThe stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/cfpCilium Feature ProposalCilium Feature Proposalkind/featureThis introduces new functionality.This introduces new functionality.staleThe stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.