Files
homelab-k3s/apps/searxng/deployment.yaml
T
jasonwitty 95159a4d32
Validate and Deploy to K3s / validate (push) Successful in 17s
Validate and Deploy to K3s / deploy (push) Successful in 35s
Deploy searxng ai-summary-20260811
From fork commit 4a582c0a1: the AI summary request is repeated once when
the LLM server does not answer in time, which is what happens while an
idle Ollama loads the model back into memory.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-11 11:46:27 -07:00

79 lines
2.5 KiB
YAML

# Helm release searxng-1723974683 (chart searxng-1.0.0) in the *default*
# namespace — the release is still recorded in the cluster, so if you ever
# `helm upgrade` it, helm and this manifest will fight. Prefer retiring the
# helm release (helm delete --no-hooks would delete resources; instead just
# treat this repo as the source of truth and never run helm against it).
# Names keep the timestamped release suffix because selectors are immutable.
# DIVERGENCE: TZ is America/Los_Angeles here. The live value was
# "America/Los Angeles" (missing underscore) — invalid tzdata, so the container
# silently fell back to UTC. Corrected 2026-08-05.
apiVersion: apps/v1
kind: Deployment
metadata:
name: searxng-1723974683
namespace: default
labels:
app.kubernetes.io/instance: searxng-1723974683
app.kubernetes.io/name: searxng
spec:
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
app.kubernetes.io/instance: searxng-1723974683
app.kubernetes.io/name: searxng
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
template:
metadata:
labels:
app.kubernetes.io/instance: searxng-1723974683
app.kubernetes.io/name: searxng
spec:
containers:
- name: searxng-1723974683
image: gt.wittyoneoff.com/jason/searxng:ai-summary-20260811
imagePullPolicy: Always
env:
- name: AUTOCOMPLETE
value: google
- name: BASE_URL
value: http://searxng.wittyoneoff.com/
- name: INSTANCE_NAME
value: witty-one-off-searxng
- name: TZ
value: America/Los_Angeles
ports:
- name: http
containerPort: 8080
protocol: TCP
startupProbe:
httpGet:
path: /healthz
port: 8080
failureThreshold: 30
periodSeconds: 5
livenessProbe:
httpGet:
path: /healthz
port: 8080
failureThreshold: 3
periodSeconds: 10
readinessProbe:
httpGet:
path: /healthz
port: 8080
failureThreshold: 3
periodSeconds: 10
volumeMounts:
- name: searxng-config
mountPath: /etc/searxng/settings.yml
subPath: settings.yml
volumes:
- name: searxng-config
secret:
secretName: searxng-1723974683-config