ipv6 cluster initial commit
All checks were successful
Validate Kubernetes Manifests / kubeconform (push) Successful in 1m3s

This commit is contained in:
2026-01-04 07:08:20 +05:30
parent 12d4af9cd8
commit 9aabad8216
179 changed files with 16997 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: searxng-ingress
namespace: tools
annotations:
cert-manager.io/cluster-issuer: letsencrypt-cloudflare
traefik.ingress.kubernetes.io/router.middlewares: tools-authelia@kubernetescrd
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
ingressClassName: traefik
tls:
- hosts:
- sear.akshun-lab.cc
secretName: homepage-tls
rules:
- host: sear.akshun-lab.cc
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: searxng-service
port:
number: 8080

View File

@@ -0,0 +1,14 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: searxng-longhorn
namespace: tools
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 100Mi
storageClassName: longhorn

View File

@@ -0,0 +1,12 @@
---
apiVersion: v1
kind: Service
metadata:
name: searxng-service
namespace: tools
spec:
selector:
app: searxng
ports:
- port: 8080
targetPort: 8080

View File

@@ -0,0 +1,35 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: searxng
namespace: tools
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:
app: searxng
template:
metadata:
labels:
app: searxng
spec:
containers:
- name: searxng
image: searxng/searxng@sha256:472dd0c84b8e2a05bca773b4a430b9fc9e4e92cd4fa0afaa223efab925ab752a
ports:
- containerPort: 8080
env:
- name: "INSTANCE_NAME"
value: "searxng"
- name: BASE_URL
value: "sear.akshun-lab.cc"
volumeMounts:
- name: searxng
mountPath: /etc/searxng
volumes:
- name: searxng
persistentVolumeClaim:
claimName: searxng-longhorn