更新爆改前的备份

This commit is contained in:
zhanggangyong
2026-02-09 06:40:04 +00:00
parent a498072888
commit 368198f53c
9 changed files with 189 additions and 42 deletions
+16 -6
View File
@@ -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