Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
HAPROXY: use retry instead of fixed timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
MalloZup committed Feb 22, 2019
1 parent e38c039 commit bd9db97
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion salt/haproxy/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ haproxy-restart:
caasp_cri.stop_container_and_wait:
- name: haproxy
- namespace: kube-system
- timeout: 60
- retry:
attempts: 10
until: True
interval: 20
splay: 10
- onchanges:
- file: haproxy
- file: /etc/caasp/haproxy/haproxy.cfg
Expand Down

0 comments on commit bd9db97

Please sign in to comment.