Skip to content

Commit

Permalink
Merge pull request #408 from SeanMooney/Probes
Browse files Browse the repository at this point in the history
Bump keystone probe timeouts
  • Loading branch information
openshift-merge-bot[bot] committed Apr 25, 2024
2 parents 9546ece + 44422ef commit 07c6570
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions pkg/keystone/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ func Deployment(

livenessProbe := &corev1.Probe{
// TODO might need tuning
TimeoutSeconds: 5,
PeriodSeconds: 3,
InitialDelaySeconds: 3,
TimeoutSeconds: 30,
PeriodSeconds: 30,
InitialDelaySeconds: 5,
}
readinessProbe := &corev1.Probe{
// TODO might need tuning
TimeoutSeconds: 5,
PeriodSeconds: 5,
TimeoutSeconds: 30,
PeriodSeconds: 30,
InitialDelaySeconds: 5,
}

Expand Down
10 changes: 5 additions & 5 deletions tests/kuttl/common/assert_sample_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ spec:
path: /v3
port: 5000
scheme: HTTP
initialDelaySeconds: 3
periodSeconds: 3
initialDelaySeconds: 5
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 5
timeoutSeconds: 30
name: keystone-api
readinessProbe:
failureThreshold: 3
Expand All @@ -83,9 +83,9 @@ spec:
port: 5000
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 5
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 5
timeoutSeconds: 30
resources:
requests:
cpu: "1"
Expand Down

0 comments on commit 07c6570

Please sign in to comment.