Steps:
bazel run sample/helloworld:everything.create
while true; do curl -is --header 'Host:demo.myhost.net' -w "%{http_code}\n" -o /dev/null http://${SERVICE_IP}; done | grep 503
bazel run sample/helloworld:updated_everything.apply
Expected:
App stays available, i.e. command from 3. stays quiet
Actual:
App is partially unavailable.
We should add a readiness check to the configuration.
Steps:
bazel run sample/helloworld:everything.createwhile true; do curl -is --header 'Host:demo.myhost.net' -w "%{http_code}\n" -o /dev/null http://${SERVICE_IP}; done | grep 503bazel run sample/helloworld:updated_everything.applyExpected:
App stays available, i.e. command from 3. stays quiet
Actual:
App is partially unavailable.
We should add a readiness check to the configuration.