apiVersion: apps/v1 kind: Deployment metadata: name: firecrawl-api-worker namespace: firecrawl labels: app.kubernetes.io/name: firecrawl app.kubernetes.io/component: worker app.kubernetes.io/part-of: firecrawl spec: replicas: 1 selector: matchLabels: app: firecrawl-api-worker template: metadata: labels: app: firecrawl-api-worker app.kubernetes.io/name: firecrawl app.kubernetes.io/component: worker spec: containers: - name: worker image: the-seas.local.mk-labs.cloud/library/firecrawl-api:latest imagePullPolicy: Always command: ["node"] args: ["dist/src/services/queue-worker.js"] ports: - name: http containerPort: 3005 protocol: TCP envFrom: - configMapRef: name: firecrawl-config - secretRef: name: firecrawl-secrets env: - name: FLY_PROCESS_GROUP value: "worker" resources: requests: cpu: 500m memory: 3Gi limits: cpu: 1000m memory: 4Gi livenessProbe: tcpSocket: port: 3005 initialDelaySeconds: 60 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 3 readinessProbe: tcpSocket: port: 3005 initialDelaySeconds: 30 periodSeconds: 5 timeoutSeconds: 3 failureThreshold: 3