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
This commit is contained in:
parent
b77002339c
commit
a02eaa64f9
|
@ -99,6 +99,8 @@ spec:
|
|||
mountPath: /tmp/etc
|
||||
- name: host
|
||||
mountPath: /host
|
||||
- name: pod-tmp
|
||||
mountPath: /tmp
|
||||
volumes:
|
||||
- name: haproxy-bin
|
||||
configMap:
|
||||
|
|
Loading…
Reference in New Issue