forked from xiaohei/taiji-AI-PAD
更新爆改前的备份
This commit is contained in:
+16
-6
@@ -7,7 +7,7 @@ metadata:
|
||||
labels:
|
||||
app: data-ingestion
|
||||
spec:
|
||||
replicas: 2
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: data-ingestion
|
||||
@@ -24,6 +24,9 @@ spec:
|
||||
- containerPort: 8000
|
||||
name: http
|
||||
env:
|
||||
# 环境标识
|
||||
- name: ENVIRONMENT
|
||||
value: "production"
|
||||
- name: DATABASE_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
@@ -85,15 +88,22 @@ spec:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 8000
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 10
|
||||
failureThreshold: 5
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 8000
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 5
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 10
|
||||
failureThreshold: 5
|
||||
|
||||
# ACR 镜像拉取凭据
|
||||
imagePullSecrets:
|
||||
- name: acr-secret
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
Reference in New Issue
Block a user