hashicorp / waypoint-helm

Helm chart to install Waypoint and other associated components.
Mozilla Public License 2.0
29 stars 14 forks source link

Increase runner liveness probe failure threshold #46

Closed izaaklauer closed 2 years ago

izaaklauer commented 2 years ago

What problem does this address?

Lets say a user runs the following command:

waypoint runner install -platform=kubernetes -server-addr=10.0.0.10:9711 -server-tls=false

But 10.0.0.10 is the wrong address.

What currently happens is that the runner attempts to connect, but it's killed by kubernetes due to not passing liveness before it can report a context deadline exceeded error. It doesn't log anything - it just crashloops. This gives the user no indication as to what the problem could be.

How does this fix it?

With this change, kubernetes won't kill the pod until after the client's default connection timeout window has passed, giving the runner a chance to log the fact that it couldn't reach the server.