Skip to content

Commit

Permalink
readiness probe debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulGarewal committed Feb 7, 2025
1 parent a262b97 commit dfdf734
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions database/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,11 @@ objects:
- bash
- '-c'
- >-
psql -q -d
$PG_DATABASE -c 'SELECT 1'
failureThreshold: 5
initialDelaySeconds: 30
periodSeconds: 15
successThreshold: 1
timeoutSeconds: 1
PGPASSWORD=$PG_PASSWORD psql -h localhost -U $PG_USER -d $PG_DATABASE -c 'SELECT 1'
initialDelaySeconds: 60
periodSeconds: 20
failureThreshold: 6
timeoutSeconds: 5
resources:
requests:
cpu: ${REQUEST_CPU}
Expand All @@ -253,8 +251,11 @@ objects:
cpu: ${LIMIT_CPU}
memory: ${LIMIT_MEMORY}
securityContext:
capabilities: {}
privileged: false
# capabilities: {}
# privileged: false
runAsUser: 26
runAsGroup: 26
fsGroup: 26
terminationMessagePath: /dev/termination-log
volumeMounts:
- mountPath: /pgdata
Expand All @@ -274,3 +275,6 @@ objects:
- configMap:
name: ${REPO}-${ZONE}-${COMPONENT}-setupcfg
name: ${REPO}-${ZONE}-${COMPONENT}-setupcfg
securityContext:
fsGroup: 26
supplementalGroups: [26]

0 comments on commit dfdf734

Please sign in to comment.