add request response

This commit is contained in:
kimscott
2020-02-06 16:14:27 +09:00
parent c8c81c2842
commit da89746eeb
5 changed files with 35 additions and 1 deletions

View File

@@ -118,6 +118,22 @@ stages:
image: $(containerRegistry)/$(imageRepository):$(tag)
ports:
- containerPort: 8080
readinessProbe:
httpGet:
path: /actuator/health
port: 8080
initialDelaySeconds: 10
timeoutSeconds: 2
periodSeconds: 5
failureThreshold: 10
livenessProbe:
httpGet:
path: /products/1
port: 8080
initialDelaySeconds: 120
timeoutSeconds: 2
periodSeconds: 5
failureThreshold: 5
secretType: 'dockerRegistry'
containerRegistryType: 'Azure Container Registry'
- task: Kubernetes@1