Deployment order
Is there a way to configure a deployment order so that service A only starts when service B has started and is healthy?
15 Replies
Project ID:
120b5ec5-59d8-4087-84ae-4e0b3d934aa7
120b5ec5-59d8-4087-84ae-4e0b3d934aa7
Pretty standard k8 feature but I couldn't find it
there is not, railway also does not use k8s
I see
you would need to have your app wait for the other service to come online
With a start script or something right?
I see
what kind of service do you need to be online first?
The Datadog client
you can just wait on a dial conn then once that connects you start your app
It would be nice if there's a util function that takes the internal host name as argument and checks for that
I mean I'll have to write it but if it was provided somewhere haha
It's just annoying to keep track of the correct api for IPV6 UDP
there definitely exists such a thing
So for us it's
datadog.railway.internal
- is there a cli command that loops to check if it existsthats a google question
looks like it does what you want