-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow setting enableServiceLinks to false in etcd and syncer #1708
Comments
@cezar-guimaraes thanks for creating this issue! Yes I think we can add that option |
This was referenced May 22, 2024
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
We are experimenting using vcluster to shard a cluster with 10K+ services between multiple vclusters.
It has been working perfectly for 2 weeks but we hit the first issue today: the etcd statefulset and the syncer deployment died and failed to start up due to there being too many environment variables. This is a known issue in clusters with too many services, and the workaround we usually employ is to disable pod's service links, as each service ends up as another environment variable to a pod.
Currently, however, there is no way to disable service links in the k8s chart
https://github.com/loft-sh/vcluster/blob/v0.19/charts/k8s/templates/etcd-statefulset.yaml
Edit to add: we have disabled service links manually in the etcd statefulset and syncer deployment and everything seems to be working.
What did you expect to happen?
Either:
How can we reproduce it (as minimally and precisely as possible)?
Create 10K+ services in a cluster.
Anything else we need to know?
I could open a PR for this (or for the related #1622 which would also fix this issue for us). I just see the charts on the v0.19 branch, is that the branch a potential PR should target?
Host cluster Kubernetes version
Host cluster Kubernetes distribution
vlcuster version
Vcluster Kubernetes distribution(k3s(default)), k8s, k0s)
OS and Arch
The text was updated successfully, but these errors were encountered: