[usage] Configure DB credentials and connect#10295
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
usagecomponent starts in Preview Env k8sRelease Notes
Documentation
NONE