39 lines
976 B
YAML
39 lines
976 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: web-socket-qris
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: web-socket-qris
|
|
readinessProbe:
|
|
failureThreshold: 3
|
|
successThreshold: 1
|
|
initialDelaySeconds: 10
|
|
timeoutSeconds: 1
|
|
periodSeconds: 10
|
|
httpGet:
|
|
scheme: HTTP
|
|
port: 8080
|
|
path: /api/sistem/health
|
|
livenessProbe:
|
|
failureThreshold: 3
|
|
successThreshold: 1
|
|
initialDelaySeconds: 60
|
|
timeoutSeconds: 1
|
|
periodSeconds: 60
|
|
httpGet:
|
|
scheme: HTTP
|
|
port: 8080
|
|
path: /api/sistem/health
|
|
startupProbe:
|
|
failureThreshold: 6
|
|
successThreshold: 1
|
|
initialDelaySeconds: 0
|
|
timeoutSeconds: 1
|
|
periodSeconds: 10
|
|
httpGet:
|
|
scheme: HTTP
|
|
port: 8080
|
|
path: /api/sistem/health |