infra/kubernetes/searxng/Deployment-searxng.yaml

47 lines
1 KiB
YAML
Raw Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kubenix/k8s-version: '1.30'
kubenix/project-name: kubenix
labels:
kubenix/hash: e672eb08bf0db5ef675b3b6036ca047f43b4614f
name: searxng
namespace: searxng
spec:
selector:
matchLabels:
app: searxng
template:
metadata:
labels:
app: searxng
spec:
containers:
- envFrom:
- secretRef:
name: searxng
image: docker.io/searxng/searxng:latest
imagePullPolicy: Always
name: searxng
ports:
- containerPort: 8080
name: http
resources:
limits:
memory: 1Gi
requests:
cpu: 100m
memory: 512Mi
volumeMounts:
- mountPath: /etc/searxng/settings.yml
name: config
subPath: settings.yml
- mountPath: /etc/searxng/limiter.toml
name: config
subPath: limiter.toml
volumes:
- configMap:
name: searxng-3e1ca337d7
name: config