Closed Neha130 closed 2 weeks ago
Hi @Neha130 - the errors you are experiencing indicate an issue with your Kubernetes control plane. Based on the logs, the Kubernetes API server appears to be timing out when the sidecars are attempting to update the lease.
In particular, these errors indicate a likely issue with your cluster's etcd
installation:
[Aug 18 2024 23:56:45 GMT+0530] ebs-csi-controller-5c7698687-mqxfp: E0818 18:26:45.933586 1 leaderelection.go:367] Failed to update lock: etcdserver: request timed out
[Aug 18 2024 23:56:46 GMT+0530] ebs-csi-controller-5c7698687-mqxfp: E0818 18:26:46.780871 1 leaderelection.go:367] Failed to update lock: etcdserver: request timed out
You will need to rectify this issue for the EBS CSI Driver to function properly. The EBS CSI Driver (and the Kubernetes CSI sidecars it uses) are not designed to work in an environment where the Kubernetes API server is failing or timing out requests, and may experience abnormal behavior such as the restarts you are seeing in such an environment.
I would recommend reaching out for support from whoever operates your Kubernetes cluster or provides your Kubernetes distro, if applicable, for assistance.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/close
Closing this issue out due to inactivity. If you need further assistance please reopen this issue or open a new one.
@ConnorJC3: Closing this issue.
/kind bug
What happened?
There have been multiple intermittent restarts in almost all ebs-csi-controller containers, attaching previous container logs below :
container :
csi-provisioner
container :
csi-attacher
container :
csi-resizer
container :
csi-snapshotter
Environment
Kubernetes version (use
kubectl version
): v1.30.0Driver version: images version we are using : csi-attacher: v4.5.1-eks-1-30-2 csi-provisioner: v4.0.1-eks-1-30-2 csi-snapshotter: v7.0.2-eks-1-30-2 csi-resizer: v1.10.1-eks-1-30-2