disable searngx (mem usage is too much)
All checks were successful
Check Kubernetes YAMLs / scan (push) Successful in 20s
All checks were successful
Check Kubernetes YAMLs / scan (push) Successful in 20s
This commit is contained in:
47
kubernetes/apps/disabled/searxng/deployment.yaml
Normal file
47
kubernetes/apps/disabled/searxng/deployment.yaml
Normal file
@ -0,0 +1,47 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: searxng
|
||||
namespace: public-services
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: searxng
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: searxng
|
||||
spec:
|
||||
containers:
|
||||
- name: searxng
|
||||
image: docker.io/searxng/searxng:2024.9.23-6be56aee1
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
env:
|
||||
- name: SEARXNG_BASE_URL
|
||||
value: "https://search.fascinated.cc"
|
||||
- name: SEARXNG_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: searxng-secret
|
||||
key: secret_key
|
||||
volumeMounts:
|
||||
- name: searxng-config-volume
|
||||
mountPath: /etc/searxng/limiter.toml
|
||||
subPath: limiter.toml
|
||||
- name: searxng-config-volume
|
||||
mountPath: /etc/searxng/settings.yml
|
||||
subPath: settings.yml
|
||||
resources:
|
||||
requests:
|
||||
memory: "1024Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1024M"
|
||||
cpu: "500m"
|
||||
volumes:
|
||||
- name: searxng-config-volume
|
||||
configMap:
|
||||
name: searxng-config
|
Reference in New Issue
Block a user