Lets not forget that the health checks can be more complicated, returning a 200 is ok I guess but it can be so much better.
Also, I think the first deployment.yml code should point to /healtz
The health check can definitely be more complicated, but the requirement is that it returns a Status Code which is 200 < status code < 400 so I went for the most basic one!
Also, good catch, my copy-pasting skills are getting rusty.
Have a great day! :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.