- appset: goTemplate, filename-based app names, .path.path IS the directory, exclude apps/root from the glob (v3.5 git files-generator schema) - remove empty Secret stubs: with prune:true they would overwrite live secret values (openwebui, paperless, vaultwarden-admin-token, password) - secrets stay cluster-managed, not in git
137 lines
2.8 KiB
YAML
137 lines
2.8 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: searxng
|
|
namespace: default
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: searxng
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: searxng
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: PUID
|
|
value: '1000'
|
|
- name: PGID
|
|
value: '1000'
|
|
image: searxng/searxng:latest
|
|
imagePullPolicy: Always
|
|
name: searxng
|
|
ports:
|
|
- containerPort: 8080
|
|
name: searxng-port
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /etc/searxng
|
|
name: searxng-config
|
|
dnsPolicy: ClusterFirst
|
|
enableServiceLinks: false
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- name: searxng-config
|
|
persistentVolumeClaim:
|
|
claimName: searxng-config
|
|
status:
|
|
availableReplicas: 1
|
|
conditions:
|
|
- lastTransitionTime: '2026-05-19T01:51:48Z'
|
|
lastUpdateTime: '2026-07-22T10:15:23Z'
|
|
message: ReplicaSet "searxng-d6869bf47" has successfully progressed.
|
|
reason: NewReplicaSetAvailable
|
|
status: 'True'
|
|
type: Progressing
|
|
- lastTransitionTime: '2026-08-28T06:04:24Z'
|
|
lastUpdateTime: '2026-08-28T06:04:24Z'
|
|
message: Deployment has minimum availability.
|
|
reason: MinimumReplicasAvailable
|
|
status: 'True'
|
|
type: Available
|
|
observedGeneration: 93
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
terminatingReplicas: 0
|
|
updatedReplicas: 1
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: searxng
|
|
namespace: default
|
|
spec:
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- port: 8080
|
|
protocol: TCP
|
|
targetPort: searxng-port
|
|
selector:
|
|
app: searxng
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
status:
|
|
loadBalancer: {}
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: searxng
|
|
namespace: default
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: search.haven
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: searxng
|
|
port:
|
|
number: 8080
|
|
path: /
|
|
pathType: Prefix
|
|
status:
|
|
loadBalancer:
|
|
ingress:
|
|
- ip: 192.168.20.204
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: searxng-config
|
|
namespace: default
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteMany
|
|
resources:
|
|
requests:
|
|
storage: 1Gi
|
|
storageClassName: nfs-client
|
|
volumeMode: Filesystem
|
|
status:
|
|
accessModes:
|
|
- ReadWriteMany
|
|
capacity:
|
|
storage: 1Gi
|
|
phase: Bound
|