16 lines
305 B
YAML
16 lines
305 B
YAML
---
|
|
apiVersion: networking.k8s.io/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: beer-ingress
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
|
spec:
|
|
rules:
|
|
- host: beer.k3s.kleph.eu
|
|
http:
|
|
paths:
|
|
- path: /
|
|
backend:
|
|
serviceName: beer
|
|
servicePort: 80
|