Skip to content

Commit

Permalink
contrib: Use the readyz endpoint in startup probes
Browse files Browse the repository at this point in the history
Fixes quay#1488

Signed-off-by: Iain Duncan <iain.duncan@uk.ibm.com>
  • Loading branch information
iainduncani committed Feb 10, 2022
1 parent 45fae9f commit 2ade5a3
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions contrib/openshift/manifests/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ objects:
port: ${{HEALTH_PORT}}
readinessProbe:
httpGet:
path: ${{HEALTH_PATH}}
path: ${{READY_PATH}}
port: ${{HEALTH_PORT}}
startupProbe:
httpGet:
path: ${{HEALTH_PATH}}
path: ${{READY_PATH}}
port: ${{HEALTH_PORT}}
volumeMounts:
- name: clair-config
Expand Down Expand Up @@ -144,11 +144,11 @@ objects:
port: ${{HEALTH_PORT}}
readinessProbe:
httpGet:
path: ${{HEALTH_PATH}}
path: ${{READY_PATH}}
port: ${{HEALTH_PORT}}
startupProbe:
httpGet:
path: ${{HEALTH_PATH}}
path: ${{READY_PATH}}
port: ${{HEALTH_PORT}}
volumeMounts:
- name: clair-config
Expand Down Expand Up @@ -207,11 +207,11 @@ objects:
port: ${{HEALTH_PORT}}
readinessProbe:
httpGet:
path: ${{HEALTH_PATH}}
path: ${{READY_PATH}}
port: ${{HEALTH_PORT}}
startupProbe:
httpGet:
path: ${{HEALTH_PATH}}
path: ${{READY_PATH}}
port: ${{HEALTH_PORT}}
volumeMounts:
- name: clair-config
Expand Down Expand Up @@ -373,6 +373,9 @@ parameters:
- name: HEALTH_PATH
value: "/healthz"
displayName: the http path to clair's health check endpoint
- name: READY_PATH
value: "/readyz"
displayName: the http path to clair's ready endpoint
- name: HEALTH_PORT
value: "8089"
displayName: the port to clair's health check endpoint
Expand Down

0 comments on commit 2ade5a3

Please sign in to comment.