Skip to content

Commit

Permalink
Speed up Kafka Deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
psav committed Feb 22, 2021
1 parent 10a2340 commit 8f74fc4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions bundle/tests/scorecard/kuttl/test-local-kafka/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ spec:
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 15
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
tcpSocket:
Expand All @@ -92,7 +92,7 @@ spec:
protocol: TCP
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 45
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
tcpSocket:
Expand Down Expand Up @@ -215,7 +215,7 @@ spec:
- grep
- imok
failureThreshold: 3
initialDelaySeconds: 15
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
Expand Down Expand Up @@ -243,7 +243,7 @@ spec:
- grep
- imok
failureThreshold: 3
initialDelaySeconds: 45
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
Expand Down
8 changes: 4 additions & 4 deletions controllers/cloud.redhat.com/providers/kafka/localkafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@ func makeLocalKafka(o obj.ClowdObject, dd *apps.Deployment, svc *core.Service, p

livenessProbe := core.Probe{
Handler: probeHandler,
InitialDelaySeconds: 15,
InitialDelaySeconds: 10,
TimeoutSeconds: 2,
}
readinessProbe := core.Probe{
Handler: probeHandler,
InitialDelaySeconds: 45,
InitialDelaySeconds: 15,
TimeoutSeconds: 2,
}

Expand Down Expand Up @@ -316,12 +316,12 @@ func makeLocalZookeeper(o obj.ClowdObject, dd *apps.Deployment, svc *core.Servic

livenessProbe := core.Probe{
Handler: probeHandler,
InitialDelaySeconds: 15,
InitialDelaySeconds: 10,
TimeoutSeconds: 2,
}
readinessProbe := core.Probe{
Handler: probeHandler,
InitialDelaySeconds: 45,
InitialDelaySeconds: 15,
TimeoutSeconds: 2,
}

Expand Down

0 comments on commit 8f74fc4

Please sign in to comment.