-
Notifications
You must be signed in to change notification settings - Fork 64
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
Set CF_INSTANCE_INDEX
env variable with downward API
#3483
Set CF_INSTANCE_INDEX
env variable with downward API
#3483
Conversation
036ad05
to
67a76aa
Compare
E2E tests fail when pushing apps (logs are unfortunately not public). It seems that getting process stats fails:
I have not looked into the code yet but it seems that the value is set to an empty string. According to https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-index-label, we need to enable the |
Just checked on our GKE cluster,
Apparently this function needs to be reimplemented to handle the downward API way of setting the index |
docker build on controllers fails:
The reason is that controllers now reference the |
98d8978
to
28cd4d6
Compare
Is there a related GitHub Issue?
no
What is this change about?
Removes redundant webhook for setting
CF_INSTANCE_INDEX
environment variablehttps://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-index-label
https://kubernetes.io/docs/reference/labels-annotations-taints/#apps-kubernetes.io-pod-index
Does this PR introduce a breaking change?
no
Acceptance Steps
Everything should work as before
Tag your pair, your PM, and/or team