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
|
mountPath: /tmp/etc
|
||||||
- name: host
|
- name: host
|
||||||
mountPath: /host
|
mountPath: /host
|
||||||
|
- name: pod-tmp
|
||||||
|
mountPath: /tmp
|
||||||
volumes:
|
volumes:
|
||||||
- name: haproxy-bin
|
- name: haproxy-bin
|
||||||
configMap:
|
configMap:
|
||||||
|
|
Loading…
Reference in New Issue