I am trying to "convert" my ingress files from v1beta1 to v1. Most of them works just fine, but I am facing a problem with one application(guacamole) and I can not figure it out why.
This is the working ingress ( v1beta1 )
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: guacamole
spec:
rules:
- host: guacamole.mydomain
http:
paths:
- backend:
serviceName: guacamole
servicePort: 8080
And this is the one it is failing:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: guacamole
spec:
rules:
- host: guacamole.mydomain
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: guacamole
port:
number: 8080
By failing I mean that I can correctly get to the application main page, but it gives me an error page. Internally the application redirects to https://guacamole.mydomain/guacamole/#/ so maybe the pathType in the ingress is wrong.
Any ideas will be really healpful.
Thanks!