NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
datahub default 4 2024-01-04 17:24:54.161958078 +0000 UTC failed datahub-0.3.23 0.12.1
prerequisites default 1 2024-01-03 19:54:53.274859431 +0000 UTC deployed datahub-prerequisites-0.1.6 ```
Working on deploying the application with both frontend and gms as ClusterIP services instead of loadbalancers and directing traffic using ingress.
`values.yaml`:
```datahub-gms:
enabled: true
service:
type: ClusterIP
datahub-frontend:
enabled: true
ingress:
enabled: true
service:
type: ClusterIP```
Getting this error:
```Error: UPGRADE FAILED: failed to create resource: Ingress.extensions "datahub-datahub-frontend" is invalid: spec.rules[0].http.paths: Required value```
which appears to be a problem with how the ingress is configured in the helm chart. I can make adjustments to the helm chart if needed, but wanted to post here first to determine if it was user error first.
but I then got this error: Error: UPGRADE FAILED: failed to create resource: Ingress.extensions "datahub-datahub-frontend" is invalid: spec.rules[0].http.paths: Required value
Oh right, you had to look into the helm chart to see what was available as values you could pass in. It wasn’t clearly defined in the defaults. Here’s what we did
enabled: true
ingress:
enabled: true
className: "traefik" #substitute your ingressclassName
hosts:
- host: <substitute your hostname that you are directing traffic on>
paths: ["/"]```
Make sense?
No I looked in the source code of the helm chart to see how they defining the ingress spec and saw that they were accepting those values as input from the values file (even though the values file doesn’t explain that).
It did. Though the helm chart values doesn’t explain it, you need to pass the hosts: object list and a className: if you have multiple ingressClassNames configured in your cluster
I was able to get past the errors above but am now seeing: Unable to emit metadata to DataHub GMS', {'message': '401 Client Error: Unauthorized for url: <datahub-gms-url>) is this something you all faced as well?