add mysql

This commit is contained in:
kimscott
2020-01-09 11:56:02 +09:00
parent df5b4df864
commit 8370588b2e
2 changed files with 25 additions and 1 deletions

View File

@@ -79,6 +79,22 @@ steps:
image: gcr.io/$PROJECT_ID/$_PROJECT_NAME:$COMMIT_SHA
ports:
- containerPort: 8080
readinessProbe:
httpGet:
path: /actuator/health
port: 8080
initialDelaySeconds: 10
timeoutSeconds: 2
periodSeconds: 5
failureThreshold: 5
livenessProbe:
httpGet:
path: /products/1
port: 8080
initialDelaySeconds: 40
timeoutSeconds: 2
periodSeconds: 5
failureThreshold: 5
EOF
substitutions:
_PROJECT_NAME: products