- 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.
88 lines
2.2 KiB
YAML
88 lines
2.2 KiB
YAML
# ------------------------------------------------------------------------------
|
|
# HTTPRoute — Firecrawl via Cilium Gateway
|
|
# Both primary (spaceship-earth) and secondary (firecrawl) DNS names
|
|
# ------------------------------------------------------------------------------
|
|
apiVersion: cert-manager.io/v1
|
|
kind: Certificate
|
|
metadata:
|
|
name: spaceship-earth-tls
|
|
namespace: firecrawl
|
|
spec:
|
|
secretName: spaceship-earth-tls
|
|
issuerRef:
|
|
name: letsencrypt-prod
|
|
kind: ClusterIssuer
|
|
dnsNames:
|
|
- spaceship-earth.local.mk-labs.cloud
|
|
---
|
|
apiVersion: cert-manager.io/v1
|
|
kind: Certificate
|
|
metadata:
|
|
name: firecrawl-tls
|
|
namespace: firecrawl
|
|
spec:
|
|
secretName: firecrawl-tls
|
|
issuerRef:
|
|
name: letsencrypt-prod
|
|
kind: ClusterIssuer
|
|
dnsNames:
|
|
- firecrawl.local.mk-labs.cloud
|
|
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: spaceship-earth
|
|
namespace: firecrawl
|
|
annotations:
|
|
external-dns.alpha.kubernetes.io/hostname: spaceship-earth.local.mk-labs.cloud
|
|
external-dns.alpha.kubernetes.io/target: "10.1.71.90"
|
|
spec:
|
|
parentRefs:
|
|
- group: gateway.networking.k8s.io
|
|
kind: Gateway
|
|
name: fastpass-gateway
|
|
namespace: gateway
|
|
sectionName: https
|
|
hostnames:
|
|
- spaceship-earth.local.mk-labs.cloud
|
|
rules:
|
|
- matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|
|
backendRefs:
|
|
- group: ""
|
|
kind: Service
|
|
name: firecrawl-api
|
|
port: 3002
|
|
weight: 1
|
|
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: firecrawl
|
|
namespace: firecrawl
|
|
annotations:
|
|
external-dns.alpha.kubernetes.io/hostname: firecrawl.local.mk-labs.cloud
|
|
external-dns.alpha.kubernetes.io/target: "10.1.71.90"
|
|
spec:
|
|
parentRefs:
|
|
- group: gateway.networking.k8s.io
|
|
kind: Gateway
|
|
name: fastpass-gateway
|
|
namespace: gateway
|
|
sectionName: https
|
|
hostnames:
|
|
- firecrawl.local.mk-labs.cloud
|
|
rules:
|
|
- matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|
|
backendRefs:
|
|
- group: ""
|
|
kind: Service
|
|
name: firecrawl-api
|
|
port: 3002
|
|
weight: 1
|