promenade/charts/haproxy/templates
Matt McEuen fcaacf94a3 Add -e to pre_stop hooks
This adds -e to the pre_stop scripts, so that they fail out if
any of their commands fail.  This is required, since it's the only
way to communicate whether there is an issue during pre_hook
execution.

"The logs for a Hook handler are not exposed in Pod events.
If a handler fails for some reason, it broadcasts an event."
https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks

As an example, this issue was discovered when "touch /tmp/stop"
was failing silently due to a readOnlyRootFilesystem setting,
resulting in pods that would not successfully Terminate until
the grace period was exhausted.

Change-Id: Ic9a228230d944530e31ed61f4239fd434cbb6187
2019-11-07 17:31:50 -06:00
..
bin Add -e to pre_stop hooks 2019-11-07 17:31:50 -06:00
etc (haproxy) Fix syntax error in haproxy anchor 2019-09-27 16:02:13 -05:00
tests Add node selector to test pods 2019-06-21 10:04:38 -04:00
configmap-bin.yaml Run haproxy pod with the nobody user (65534) 2019-09-11 16:18:30 -05:00
configmap-etc.yaml Use HAProxy for apiserver discovery 2018-02-08 14:30:35 -06:00
daemonset.yaml fix haproxy anchor pre-stop not working 2019-09-30 13:35:23 +00:00
rbac.yaml Use HAProxy for apiserver discovery 2018-02-08 14:30:35 -06:00