Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTA-1375: make readiness and liveness probe for cincinnati configurable #991

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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