Skip to content

Commit

Permalink
make readiness and liveness probe for cincinnati configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
PratikMahajan committed Nov 25, 2024
1 parent 6544cfd commit 47593f5
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions dist/openshift/cincinnati-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ objects:
httpGet:
path: /liveness
port: ${{GB_STATUS_PORT}}
initialDelaySeconds: 150
initialDelaySeconds: ${{LIVENESS_DELAY}}
periodSeconds: 30
timeoutSeconds: 3
readinessProbe:
httpGet:
path: /readiness
port: ${{GB_STATUS_PORT}}
initialDelaySeconds: 150
initialDelaySeconds: ${{READINESS_DELAY}}
periodSeconds: 30
timeoutSeconds: 3
resources:
Expand Down Expand Up @@ -148,14 +148,14 @@ objects:
httpGet:
path: /livez
port: ${{PE_STATUS_PORT}}
initialDelaySeconds: 300
initialDelaySeconds: ${{LIVENESS_DELAY}}
periodSeconds: 30
timeoutSeconds: 3
readinessProbe:
httpGet:
path: /readyz
port: ${{PE_STATUS_PORT}}
initialDelaySeconds: 300
initialDelaySeconds: ${{READINESS_DELAY}}
periodSeconds: 30
timeoutSeconds: 3
resources:
Expand Down Expand Up @@ -342,6 +342,12 @@ parameters:
value: "350m"
displayName: "Policy-engine CPU request"
description: "Requested amount of CPU (millicores) allowed for policy-engine (default: 350m)"
- name: READINESS_DELAY
value: "700"
displayName: Time to wait before we start querying containers for readiness
- name: LIVENESS_DELAY
value: "700"
displayName: Time to wait before we start querying containers for liveness
- name: GB_SCRAPE_TIMEOUT_SECS
value: "300"
displayName: Graph-builder scrape timeout in seconds
Expand Down

0 comments on commit 47593f5

Please sign in to comment.