feat(k8s): searchx metasearch engine
This commit is contained in:
1 parent
37550da086
commit
51777f904f
5 files changed
+163
No files matched your search
@@ -0,0 +1,50 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: searxng-service
|
||||
namespace: searxng
|
||||
spec:
|
||||
selector:
|
||||
app: searxng
|
||||
ports:
|
||||
- port: 8080
|
||||
targetPort: 8080
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: searxng-deployment
|
||||
namespace: searxng
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: searxng
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: searxng
|
||||
spec:
|
||||
containers:
|
||||
- name: searxng
|
||||
image: docker.io/searxng/searxng:latest
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: searxng-config
|
||||
- secretRef:
|
||||
name: searxng-secrets
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: cache
|
||||
mountPath: /var/cache/searxng
|
||||
resources:
|
||||
requests:
|
||||
memory: "300Mi"
|
||||
cpu: "30m"
|
||||
limits:
|
||||
memory: "700Mi"
|
||||
cpu: "500m"
|
||||
volumes:
|
||||
- name: cache
|
||||
emptyDir: {}
|
||||
Reference in new issue
Block a user