- Add Firecrawl application with full stack: - Firecrawl API (main service) - Firecrawl Worker (background jobs) - Playwright Service (browser automation) - Redis (cache & job queue) - PostgreSQL (state management) - RabbitMQ (message queue) - Configure dual DNS names: - Primary: spaceship-earth.local.mk-labs.cloud (EPCOT theme) - Secondary: firecrawl.local.mk-labs.cloud - Add Gateway API HTTPRoutes with TLS certificates - Update ReferenceGrant for firecrawl namespace - Configure ArgoCD application (wave 20) - Set USE_DB_AUTHENTICATION=false for internal deployment This provides JARVIS with web scraping and search capabilities.
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
# ------------------------------------------------------------------------------
|
|
# Deployment: Playwright Service
|
|
# Browser automation service for web scraping
|
|
# ------------------------------------------------------------------------------
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: firecrawl-playwright
|
|
namespace: firecrawl
|
|
labels:
|
|
app: firecrawl-playwright
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: firecrawl-playwright
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: firecrawl-playwright
|
|
spec:
|
|
containers:
|
|
- name: playwright
|
|
image: ghcr.io/mendableai/firecrawl/playwright-service:latest
|
|
envFrom:
|
|
- configMapRef:
|
|
name: firecrawl-playwright-config
|
|
ports:
|
|
- containerPort: 3000
|
|
name: http
|
|
resources:
|
|
requests:
|
|
memory: "2Gi"
|
|
cpu: "1000m"
|
|
limits:
|
|
memory: "4Gi"
|
|
cpu: "2000m"
|
|
volumeMounts:
|
|
- name: cache
|
|
mountPath: /tmp/.cache
|
|
volumes:
|
|
- name: cache
|
|
emptyDir:
|
|
sizeLimit: 1Gi
|