Hi, i’m having trouble with `ingress`. Specifically, i’m trying to launch and RS . . .

Nitesh:
Hi, i’m having trouble with ingress. Specifically, i’m trying to launch and RStudio service with an HTTP ingress and I get the following error

Error: Ingress.extensions "rstudio" is invalid: spec.rules[0].http.paths[0].pathType: Required value: pathType must be specified

My Rstudio ingress config file looks like this,

apiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
kind: Ingress
metadata:
  name: rstudio
  labels:
    app: rstudio
spec:
  rules:
    - host:
      http:
        paths:
          - path: /
            backend:
              service:
                name: rstudio
                port:
                  number: 80

unnivkn:
https://forum.linuxfoundation.org/discussion/858146/lab10-1-error-creating-ingress-rule-pathtype-must-be-specified

unnivkn: