-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Default PodSpec.enableServiceLinks to false #92226
Comments
Dunno where PodSpec falls - best guess is /sig api-machinery |
/remove-sig api-machinery Thanks for the request, but changing defaults in an existing API is not backwards compatible, and changing this particular default would break many existing users. Our compatibility guarantees are intended to keep existing API versions operating in backwards compatible ways. |
Is there an umbrella PodSpec v2 issue that's tracking potential future changes? |
#8190 is the closest thing I know of |
@liggitt Can we re-open this issue - it seems like service links will degrade pod start time even when there's a modest # of services in a namespace. Context: knative/serving#8498 (comment) |
It's actually worse than that. Above a certain number of services new pods will fail to start altogether. |
A distinct issue tracking performance problems or startup issues (and mitigations with very large numbers of services) would be fine, but changing the default for core/v1 isn't really an option... it would break far more current users. |
Sounds good |
What would you like to be added:
I would like the default for
enableServiceLinks
to be changed fromtrue
tofalse
Why is this needed:
I think the default behaviour is unexpected for new users. Having this be an opt-in feature may be more predictable.
References:
#60099
elastic/cloud-on-k8s#2030
knative/serving#6074
https://stackoverflow.com/questions/45323958/is-it-possible-to-disable-service-discovery-with-environment-variables-in-kubern
https://twitter.com/fredbrancz/status/1201937181230686208
The text was updated successfully, but these errors were encountered: