apiVersion: apps/v1 kind: Deployment metadata: name: celery-worker-indexing spec: replicas: 1 selector: matchLabels: app: celery-worker-indexing template: metadata: labels: app: celery-worker-indexing spec: containers: - name: celery-worker-indexing image: onyxdotapp/onyx-backend-cloud:v0.14.0-cloud.beta.20 imagePullPolicy: IfNotPresent command: [ "celery", "-A", "onyx.background.celery.versioned_apps.indexing", "worker", "--loglevel=INFO", "--hostname=indexing@%n", "-Q", "connector_indexing", "--prefetch-multiplier=1", "--concurrency=10", ] env: - name: REDIS_PASSWORD valueFrom: secretKeyRef: name: onyx-secrets key: redis_password - name: ONYX_VERSION value: "v0.11.0-cloud.beta.8" envFrom: - configMapRef: name: env-configmap volumeMounts: - name: vespa-certificates mountPath: "/app/certs" readOnly: true resources: requests: cpu: "500m" memory: "4Gi" limits: cpu: "1000m" memory: "8Gi" volumes: - name: vespa-certificates secret: secretName: vespa-certificates items: - key: cert.pem path: cert.pem - key: key.pem path: key.pem