Helm chartv0.1.1App 2026.10.29-cff884f98MITVerified publisher

SearXNG metasearch on Kubernetes as the search backend for LLM tools and agents (Firecrawl, Open WebUI, Perplexica, LangChain) or as a public instance - JSON API mode, a curated engine set instead of 120 default engines, stable secret key across replicas, rate limiter with Valkey sidecar or external, non-root and read-only, NetworkPolicy, per-engine Prometheus metrics, alerts and a Grafana dashboard.

About this chart

searxng

SearXNG (metasearch: queries several search engines and merges the results, without tracking) on Kubernetes. Two modes:

  • api (default): the search backend for programs. Firecrawl's /search, Open WebUI web search, Perplexica, LangChain and LlamaIndex tools and your own agents call /search?format=json. JSON on, rate limiter off, kept inside the cluster (optionally behind a NetworkPolicy).
  • public: an instance people use in a browser. Rate limiter and bot detection with Valkey, public-instance features, served through an Ingress or Gateway.

What the chart changes compared with running the image as shipped (2026.10.29, measured on a kind cluster):

Image as shippedThis chart
/search?format=json403: only html is enabledon in api mode (html, json, csv, rss)
Secret keyrandom, written on a container's first start: each replica and each restart without a volume has its own, so image-proxy links and preference cookies break across podsgenerated once, shared by all replicas, kept across upgrades
Engines121 enabled, including torrent, piratebay and onion engines (two of which fail to load without Tor)curated profile: 20 web, IT and science engines; same results on general queries, 15-25% less memory; default keeps upstream's set
User / filesystemroot, writable config volumeuid 977, read-only root filesystem, config from a Secret
Startentrypoint copies a template and warns about volume ownership on every startGranian started directly
Rate limiter (public)needs a separately run Valkey and a limiter.tomlValkey as a native sidecar (or external), trusted proxies for your ingress from values; tested: scripted clients get 429, browsers 200
Metricsoff/metrics with basic auth, ServiceMonitor, alerts (down, no results from any engine, an engine below a reliability threshold), Grafana dashboard
Access in api modeanything that reaches itoptional NetworkPolicy: only the pods and namespaces you list (tested: listed client 200, others blocked)

Install

helm repo add oreonit https://oreondev.github.io/helm-charts
helm install searxng oreonit/searxng -n search --create-namespace -f searxng.yaml

As the search backend for Firecrawl and Open WebUI:

mode: api
networkPolicy:
  enabled: true
  allowedPodLabels:
    - app.kubernetes.io/name: firecrawl
    - app.kubernetes.io/name: open-webui
metrics:
  enabled: true
  serviceMonitor: { enabled: true }
  prometheusRule: { enabled: true }
  dashboard: { enabled: true }

Then point the clients at the Service:

ClientSetting
Firecrawl (chart)firecrawl.env.SEARXNG_ENDPOINT: http://searxng.search.svc:8080
Open WebUISEARXNG_QUERY_URL=http://searxng.search.svc:8080/search?q=<query>
LangChainSearxSearchWrapper(searx_host="http://searxng.search.svc:8080")

A public instance:

mode: public
replicaCount: 1                 # or valkey.mode: external for one shared limit across replicas
baseUrl: https://search.example.com
ingress:
  enabled: true
  className: nginx
  hosts:
    - host: search.example.com
      paths: [{ path: /, pathType: Prefix }]
  tls:
    - secretName: search-tls
      hosts: [search.example.com]
limiter:
  trustedProxies: [10.0.0.0/8]  # the ingress controller's pod network

When engines stop answering

Search engines block or CAPTCHA traffic from cloud egress addresses; DuckDuckGo did so from the test network, and upstream ships Google and Bing disabled for the same reason. The dashboard and the SearXNGEngineUnreliable / SearXNGNoResults alerts show which engine is failing. Disable it (engines.disabled), route engine traffic through a proxy (outgoingProxies), or add an engine (engines.extra: [google]).

Engine statistics are kept per pod (and per worker process, which is why the chart runs one Granian worker per pod and scales with replicas).

Values

KeyDefault
modeapior public
formatsby mode/search?format= values
secretKey / existingSecretgeneratedserver.secret_key
baseUrl, instanceNameingress host, SearXNG
engines.profile / .curated / .extra / .disabledcurated
requestTimeout / maxRequestTimeout3 / 8 sper engine
outgoingProxiesproxies for engine requests
limiter.trustedProxies / .passIps / .blockIpsprivate rangespublic mode
valkey.mode / .url / .existingSecretauto (sidecar in public mode)
settingsdeep-merged into settings.yml
server.workers / .blockingThreads1 / 8Granian
replicaCount, autoscaling.*, podDisruptionBudget.*2, off, on
resources100m / 256Mi, limit 768Mi
ingress.*, httpRoute.*off
networkPolicy.enabled / .allowedPodLabels / .allowedNamespaceLabelsoff
metrics.enabled, .serviceMonitor, .prometheusRule, .dashboardoff

Everything is validated by values.schema.json.

Credits and licence

SearXNG is developed by the SearXNG project under the AGPL-3.0; the chart deploys the upstream image unmodified.

The chart is MIT licensed and maintained by Oreon IT, a DevOps, SRE and cloud consultancy in London. If you run search, crawling or RAG pipelines for AI agents on Kubernetes and want them scaled and monitored properly, that is the day job.

Deploy searxng with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has searxng on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsearxng is pinned at v0.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply