set probes
This commit is contained in:
@@ -94,35 +94,41 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
nvidia.com/gpu: 1
|
nvidia.com/gpu: 1
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
enabled: true
|
||||||
path: /health
|
probe:
|
||||||
port: 8000
|
httpGet:
|
||||||
initialDelaySeconds: 120
|
path: /health
|
||||||
periodSeconds: 30
|
port: 8000
|
||||||
timeoutSeconds: 10
|
initialDelaySeconds: 120
|
||||||
failureThreshold: 10
|
periodSeconds: 30
|
||||||
|
timeoutSeconds: 10
|
||||||
|
failureThreshold: 10
|
||||||
|
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
enabled: true
|
||||||
path: /health
|
probe:
|
||||||
port: 8000
|
httpGet:
|
||||||
initialDelaySeconds: 30
|
path: /health
|
||||||
periodSeconds: 15
|
port: 8000
|
||||||
timeoutSeconds: 10
|
initialDelaySeconds: 30
|
||||||
failureThreshold: 20
|
periodSeconds: 15
|
||||||
|
timeoutSeconds: 10
|
||||||
|
failureThreshold: 20
|
||||||
|
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
enabled: true
|
||||||
path: /health
|
probe:
|
||||||
port: 8000
|
httpGet:
|
||||||
initialDelaySeconds: 10
|
path: /health
|
||||||
periodSeconds: 20
|
port: 8000
|
||||||
timeoutSeconds: 10
|
initialDelaySeconds: 10
|
||||||
failureThreshold: 60
|
periodSeconds: 20
|
||||||
expose:
|
timeoutSeconds: 10
|
||||||
service:
|
failureThreshold: 60
|
||||||
type: ClusterIP
|
expose:
|
||||||
port: 8000
|
service:
|
||||||
|
type: ClusterIP
|
||||||
|
port: 8000
|
||||||
---
|
---
|
||||||
apiVersion: gateway.networking.k8s.io/v1
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
kind: HTTPRoute
|
kind: HTTPRoute
|
||||||
|
|||||||
Reference in New Issue
Block a user