UnSearch Docs

Kubernetes Deployment

Deploy UnSearch on Kubernetes with Helm.

Kubernetes Deployment

Deploy UnSearch on Kubernetes for production-grade infrastructure.

Prerequisites

  • Kubernetes cluster (1.24+)
  • kubectl configured
  • Helm 3.x

Deployment

# unsearch-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: unsearch
spec:
  replicas: 3
  selector:
    matchLabels:
      app: unsearch
  template:
    metadata:
      labels:
        app: unsearch
    spec:
      containers:
      - name: unsearch
        image: unsearch/unsearch:latest
        ports:
        - containerPort: 8000
        env:
        - name: SEARXNG_URL
          value: "http://searxng:8080"
        - name: REDIS_URL
          valueFrom:
            secretKeyRef:
              name: unsearch-secrets
              key: redis-url
kubectl apply -f unsearch-deployment.yaml

Scaling

kubectl scale deployment unsearch --replicas=5

Health Checks

UnSearch exposes /health for liveness and readiness probes.

On this page