Refactor all main.py
This commit is contained in:
@@ -65,7 +65,7 @@ spec:
|
||||
cpu: "2000m"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
path: /health/live
|
||||
port: 8000
|
||||
initialDelaySeconds: 60
|
||||
timeoutSeconds: 30
|
||||
@@ -73,12 +73,12 @@ spec:
|
||||
failureThreshold: 5
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
path: /health/ready
|
||||
port: 8000
|
||||
initialDelaySeconds: 15
|
||||
timeoutSeconds: 10
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 15
|
||||
periodSeconds: 15
|
||||
failureThreshold: 3
|
||||
failureThreshold: 5
|
||||
volumes:
|
||||
- name: training-state
|
||||
persistentVolumeClaim:
|
||||
|
||||
Reference in New Issue
Block a user