apiVersion: apps/v1 kind: Deployment metadata: name: firecrawl-api namespace: firecrawl labels: app.kubernetes.io/name: firecrawl app.kubernetes.io/component: api app.kubernetes.io/part-of: firecrawl spec: replicas: 1 selector: matchLabels: app: firecrawl-api template: metadata: labels: app: firecrawl-api app.kubernetes.io/name: firecrawl app.kubernetes.io/component: api spec: containers: - name: api image: the-seas.local.mk-labs.cloud/library/firecrawl-api:latest imagePullPolicy: Always ports: - name: http containerPort: 3002 protocol: TCP envFrom: - configMapRef: name: firecrawl-config - secretRef: name: firecrawl-secrets env: - name: FLY_PROCESS_GROUP value: "app" resources: requests: cpu: 1000m memory: 4Gi limits: cpu: 2000m memory: 6Gi livenessProbe: httpGet: path: /v0/health/liveness port: 3002 initialDelaySeconds: 60 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 3 readinessProbe: httpGet: path: /v0/health/readiness port: 3002 initialDelaySeconds: 30 periodSeconds: 5 timeoutSeconds: 3 failureThreshold: 3