apiVersion: apps/v1 kind: Deployment metadata: name: airshelf-core-worker-quick labels: app: airshelf-core-worker-quick spec: replicas: 1 selector: matchLabels: app: airshelf-core-worker-quick template: metadata: labels: app: airshelf-core-worker-quick spec: imagePullSecrets: - name: cr-pull-secret containers: - name: airshelf-core-worker-quick image: ${CI_REGISTRY_IMAGE}/airshelf-core-api:latest imagePullPolicy: Always # 只消费 airshelf.quick:提取角色、通知补齐、脚本思考、视频状态轻轮询。 # 与出片 worker 隔离,Seedance 占满时提取仍能跑。 args: ["celery", "-A", "airshelf.celery:app", "worker", "-l", "info", "-Q", "airshelf.quick", "--concurrency", "4"] envFrom: - secretRef: name: airshelf-core-env livenessProbe: exec: command: ["sh", "-c", "celery -A airshelf.celery:app inspect ping"] initialDelaySeconds: 40 periodSeconds: 60 timeoutSeconds: 15 failureThreshold: 3 resources: requests: memory: "256Mi" cpu: "100m" limits: memory: "1Gi" cpu: "500m"