Browse Source

🎨 Auto format

pull/15911/head
pre-commit-ci-lite[bot] 1 month ago
committed by GitHub
parent
commit
de863f0429
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      docs/en/docs/deployment/kubernetes.md

6
docs/en/docs/deployment/kubernetes.md

@ -89,7 +89,7 @@ spec:
image: my-fastapi-app-image:latest
ports:
- containerPort: 8000
# 1. Startup Probe: Wait for database migration or model loading
startupProbe:
httpGet:
@ -98,14 +98,14 @@ spec:
# Allow up to 30 seconds for startup (6 * 5s)
failureThreshold: 6
periodSeconds: 5
# 2. Liveness Probe: Check if the application is still responding
livenessProbe:
httpGet:
path: /healthz
port: 8000
periodSeconds: 10
# 3. Readiness Probe: Check if ready to receive customer traffic
readinessProbe:
httpGet:

Loading…
Cancel
Save