Skip to content

Commit

Permalink
Merge pull request #1724 from cybertron/haproxy-readyz
Browse files Browse the repository at this point in the history
Bug 1823950: [baremetal] Switch to /readyz for haproxy healthchecking
  • Loading branch information
openshift-merge-robot committed May 14, 2020
2 parents 010ac67 + 022933c commit ce9eadd
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ contents:
listen health_check_http_url
bind :::50936 v4v6
mode http
monitor-uri /healthz
monitor-uri /readyz
option dontlognull
listen stats
bind localhost:{{`{{ .LBConfig.StatPort }}`}}
Expand All @@ -32,7 +32,7 @@ contents:
stats refresh 30s
stats auth Username:Password
backend masters
option httpchk GET /healthz HTTP/1.0
option httpchk GET /readyz HTTP/1.0
option log-health-checks
balance roundrobin
{{`{{- range .LBConfig.Backends }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ contents:
livenessProbe:
initialDelaySeconds: 10
httpGet:
path: /healthz
path: /readyz
port: 50936
terminationMessagePolicy: FallbackToLogsOnError
imagePullPolicy: IfNotPresent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ contents:
listen health_check_http_url
bind :::50936 v4v6
mode http
monitor-uri /healthz
monitor-uri /readyz
option dontlognull
listen stats
bind localhost:{{`{{ .LBConfig.StatPort }}`}}
Expand All @@ -33,7 +33,7 @@ contents:
stats refresh 30s
stats auth Username:Password
backend masters
option httpchk GET /healthz HTTP/1.0
option httpchk GET /readyz HTTP/1.0
option log-health-checks
balance roundrobin
{{`{{- range .LBConfig.Backends }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ contents:
livenessProbe:
initialDelaySeconds: 10
httpGet:
path: /healthz
path: /readyz
port: 50936
terminationMessagePolicy: FallbackToLogsOnError
imagePullPolicy: IfNotPresent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ contents:
listen health_check_http_url
bind :::50936 v4v6
mode http
monitor-uri /healthz
monitor-uri /readyz
option dontlognull
listen stats
bind 127.0.0.1:{{`{{ .LBConfig.StatPort }}`}}
Expand All @@ -32,7 +32,7 @@ contents:
stats refresh 30s
stats auth Username:Password
backend masters
option httpchk GET /healthz HTTP/1.0
option httpchk GET /readyz HTTP/1.0
option log-health-checks
balance roundrobin
{{`{{- range .LBConfig.Backends }}
Expand Down
2 changes: 1 addition & 1 deletion templates/master/00-master/ovirt/files/ovirt-haproxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ contents:
livenessProbe:
initialDelaySeconds: 10
httpGet:
path: /healthz
path: /readyz
port: 50936
terminationMessagePolicy: FallbackToLogsOnError
imagePullPolicy: IfNotPresent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ contents:
listen health_check_http_url
bind :::50936 v4v6
mode http
monitor-uri /healthz
monitor-uri /readyz
option dontlognull
listen stats
bind localhost:{{`{{ .LBConfig.StatPort }}`}}
Expand All @@ -36,7 +36,7 @@ contents:
stats refresh 30s
stats auth Username:Password
backend masters
option httpchk GET /healthz HTTP/1.0
option httpchk GET /readyz HTTP/1.0
option log-health-checks
balance roundrobin
{{`{{- range .LBConfig.Backends }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ contents:
livenessProbe:
initialDelaySeconds: 10
httpGet:
path: /healthz
path: /readyz
port: 50936
terminationMessagePolicy: FallbackToLogsOnError
imagePullPolicy: IfNotPresent
Expand Down

0 comments on commit ce9eadd

Please sign in to comment.