-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[usage] Configure DB credentials and connect #10295
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
Conversation
/werft run 👍 started the job as gitpod-build-mp-db-conn-config.3 |
The component is up and running. But I noticed that it's the only component with container restarts, and it seems because the DB was not up, yet:
Other DB dependent pods use the One could argue that "failing fast" is Kubernetes best practice, and that's true to some degree. But experience showed that it's very valuable to be able to quickly tell if "everything is fine", and that's not possible when there's too much noise. |
@geropl Yep aware. Wanted to see if this becomes a problem or not. I can add the waiter in a follow-up PR. As it stands, it's only really a problem in preview after a fresh deploy. And absolutely agree, in an ideal world this is already self-healing in k8s envs. |
Description
Configures usage component to receive DB connection details and attempts to establish a connection to ensure it works.
Related Issue(s)
How to test
usage
component starts in Preview Env k8sRelease Notes
Documentation
NONE