33 lines
582 B
YAML
33 lines
582 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: spoolman
|
||
|
spec:
|
||
|
selector:
|
||
|
app: spoolman
|
||
|
ports:
|
||
|
- port: 8080
|
||
|
name: http
|
||
|
---
|
||
|
apiVersion: networking.k8s.io/v1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: spoolman
|
||
|
labels:
|
||
|
name: spoolman
|
||
|
annotations:
|
||
|
traefik.ingress.kubernetes.io/router.middlewares: kube-system-traefik-forward-auth@kubernetescrd
|
||
|
spec:
|
||
|
rules:
|
||
|
- host: spoolman.k8s.home.finn.io
|
||
|
http:
|
||
|
paths:
|
||
|
- pathType: Prefix
|
||
|
path: "/"
|
||
|
backend:
|
||
|
service:
|
||
|
name: spoolman
|
||
|
port:
|
||
|
number: 8080
|
||
|
|