17 lines
302 B
YAML
17 lines
302 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
|
||
|
|