From a02eaa64f95f2fba3bc35794caac64152125975e Mon Sep 17 00:00:00 2001 From: "anthony.bellino" Date: Mon, 30 Sep 2019 13:35:23 +0000 Subject: [PATCH] fix haproxy anchor pre-stop not working The pre-stop script tries to touch /tmp/stop, however because of a rofs, fails with permission denied resulting in the anchor pod getting stuck in Terminating. This PS adds the mount path /tmp to the anchor container to resolve the issue. Change-Id: I3380e4a62b20ae8fdc5da1a72e6794e7cc357218 --- charts/haproxy/templates/daemonset.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/haproxy/templates/daemonset.yaml b/charts/haproxy/templates/daemonset.yaml index 53dddff4..a5facb3c 100644 --- a/charts/haproxy/templates/daemonset.yaml +++ b/charts/haproxy/templates/daemonset.yaml @@ -99,6 +99,8 @@ spec: mountPath: /tmp/etc - name: host mountPath: /host + - name: pod-tmp + mountPath: /tmp volumes: - name: haproxy-bin configMap: