add ingress for services jellyfin, kavita nexus
This commit is contained in:
@@ -10,7 +10,7 @@ metadata:
|
||||
spec:
|
||||
selector:
|
||||
app: nexus
|
||||
type: LoadBalancer
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 8081
|
||||
targetPort: 8081
|
||||
21
apps/nexus/env/k3s-cluster/ingress.yaml
vendored
Normal file
21
apps/nexus/env/k3s-cluster/ingress.yaml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: nexus-ingress
|
||||
namespace: nexus
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: "nexus.cluster.edward.sydney"
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: "/"
|
||||
backend:
|
||||
service:
|
||||
name: nexus
|
||||
port:
|
||||
number: 8081
|
||||
@@ -1,4 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
- ../../base
|
||||
- ./ingress.yaml
|
||||
Reference in New Issue
Block a user