Skip to content

Commit

Permalink
updated probles for gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
siamaksade committed Mar 2, 2018
1 parent 5f7fe4c commit fc61391
Showing 1 changed file with 9 additions and 19 deletions.
28 changes: 9 additions & 19 deletions openshift/coolstore-deployment-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,29 +157,19 @@ objects:
value: "true"
image: ' '
livenessProbe:
exec:
command:
- curl
- '-f'
- 'http://localhost:8081/health'
initialDelaySeconds: 30
failureThreshold: 10
periodSeconds: 10
timeoutSeconds: 5
httpGet:
path: /health
port: 8080
initialDelaySeconds: 60
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 10
name: coolstore-gw
ports:
- containerPort: 8778
name: jolokia
readinessProbe:
exec:
command:
- curl
- '-f'
- 'http://localhost:8081/health'
initialDelaySeconds: 30
failureThreshold: 10
periodSeconds: 10
timeoutSeconds: 5
resources:
limits:
cpu: 1
Expand Down

0 comments on commit fc61391

Please sign in to comment.