removed ingress and modified service for lb

This commit is contained in:
2025-11-07 08:31:31 +00:00
parent a4c453c59a
commit 8aabe32cac
2 changed files with 5 additions and 24 deletions
-19
View File
@@ -1,19 +0,0 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: audiobookshelf
namespace: audiobookshelf
spec:
ingressClassName: nginx
rules:
- host: abs.realm.local
http:
paths:
- backend:
service:
name: audiobookshelf
port:
number: 80
path: /
pathType: Prefix
+5 -5
View File
@@ -2,15 +2,15 @@
apiVersion: v1
kind: Service
metadata:
annotations:
name: audiobookshelf
namespace: audiobookshelf
spec:
ports:
- port: 80
- name: http
port: 80
protocol: TCP
#targetPort: 6052
selector:
app.kubernetes.io/instance: audiobookshelf
app.kubernetes.io/name: audiobookshelf
app: audiobookshelf
sessionAffinity: None
type: ClusterIP
type: LoadBalancer