Skip to content

Commit

Permalink
Added readiness probe in OpenShift deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Stritzke committed Dec 4, 2017
1 parent 7b5ee43 commit 44ccdfc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ oc patch dc money-tracker -p '{
"memory": "256Mi"
}
},
"readinessProbe": {
"httpGet": {
"path": "/api",
"port": 8080,
"scheme": "HTTP"
}
},
"env": [{
"name":"SPRING_DATASOURCE_URL",
"value":"jdbc:postgresql://postgresql:5432/moneytracker"
Expand Down

0 comments on commit 44ccdfc

Please sign in to comment.