K3s-cluster/longhorn/ingress.yaml

19 lines
380 B
YAML
Raw Permalink Normal View History

2022-06-24 18:43:24 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: longhorn-frontend
namespace: longhorn-system
2022-06-24 18:43:24 +00:00
spec:
ingressClassName: nginx-internal
rules:
- host: longhorn.entos
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: longhorn-frontend
port:
number: 80