chore: added healthchecks

This commit is contained in:
Mikhail Shabanov committed 2021-01-24 18:16:15 +01:00
1 parent bf1dcad5dc
commit f2f0b4e195
4 files changed
+35 -3

No files matched your search

+15
View File
@@ -33,6 +33,21 @@ spec:
name: wot-blitz-statistics-secret
key: WargamingApi__ApplicationId
image: mike/wot-blitz-statistics-pro:v1
livenessProbe:
httpGet:
path: /health/self
port: 80
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 1
failureThreshold: 3
startupProbe:
httpGet:
path: /health/startup
port: 80
initialDelaySeconds: 30
periodSeconds: 30
failureThreshold: 30
imagePullPolicy: ""
name: wot-blitz-statististics-web
ports:
+4 -1
View File
@@ -11,4 +11,7 @@ spec:
ports:
- name: "8040"
port: 8040
targetPort: 80
targetPort: 80
- name: "443"
port: 443
targetPort: 443