aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/searx
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-01-02 21:10:38 +0000
committerterminaldweller <thabogre@gmail.com>2022-01-02 21:10:38 +0000
commit1ea2da135fe3f7d6a309c9087bba5a5f33c96c6e (patch)
treec4365265901541ef5d3cccabbbab8a09347368dd /kubernetes/searx
parentusing good ole wttr.in (diff)
downloadscripts-1ea2da135fe3f7d6a309c9087bba5a5f33c96c6e.tar.gz
scripts-1ea2da135fe3f7d6a309c9087bba5a5f33c96c6e.zip
searx is working now
Diffstat (limited to 'kubernetes/searx')
-rw-r--r--kubernetes/searx/searx-configmap.yaml2
-rw-r--r--kubernetes/searx/searx-deployment.yaml22
2 files changed, 12 insertions, 12 deletions
diff --git a/kubernetes/searx/searx-configmap.yaml b/kubernetes/searx/searx-configmap.yaml
index b36005f..4f2f7c5 100644
--- a/kubernetes/searx/searx-configmap.yaml
+++ b/kubernetes/searx/searx-configmap.yaml
@@ -3,4 +3,4 @@ kind: ConfigMap
metadata:
name: searx-configmap
data:
- searx-base-url: http://searx.lan:8080
+ searx-base-url: http://searx.lan
diff --git a/kubernetes/searx/searx-deployment.yaml b/kubernetes/searx/searx-deployment.yaml
index d71c383..256ea2b 100644
--- a/kubernetes/searx/searx-deployment.yaml
+++ b/kubernetes/searx/searx-deployment.yaml
@@ -16,32 +16,32 @@ spec:
spec:
containers:
- name: searx
- image: searx/searx:1.0.0-297-f2f72575
+ image: avpnusr/searx:07-11-2021
ports:
- containerPort: 8080
env:
- name: BASE_URL
valueFrom:
- secretKeyRef:
+ configMapKeyRef:
name: searx-configmap
key: searx-base-url
---
apiVersion: v1
kind: Service
metadata:
- name: pihole-service
+ name: searx-service
spec:
selector:
- app: pihole
- type: NodePort
+ app: searx
+ type: LoadBalancer
ports:
- protocol: TCP
- port: 8080
+ port: 27080
targetPort: 8080
nodePort: 30501
name: "searx-tcp-8080"
- - protocol: UDP
- port: 8080
- targetPort: 8080
- nodePort: 30501
- name: "searx-udp-8080"
+ # - protocol: UDP
+ # port: 8080
+ # targetPort: 8080
+ # nodePort: 30501
+ # name: "searx-udp-8080"