Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions content/partials/v1.9/deployment/faqs-gke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
## Expose OpenMetadata to the internet with GKE Ingress
To allow access from the internet into your OpenMetadata deployment, you will need to configure a GKE Ingress with proper timeout settings.

GKE Ingress has a default 30-second timeout for backend services. OpenMetadata operations like testing database connections and running ingestion workflows often exceed this limit, causing 502 Bad Gateway errors even though the operations complete successfully on the backend. A BackendConfig resource increases this timeout to prevent these errors.
```
apiVersion: cloud.google.com/v1
kind: BackendConfig
metadata:
name: openmetadata-backendconfig
spec:
timeoutSec: 60 # prevents timeout for operations like test workflows and metadata ingestion
```
Apply the BackendConfig:
```
kubectl apply -f backendConfig.yaml --namespace <kubernetes_namespace>
```

Update the `ingress` and `service.annotations.*` helm values for OpenMetadata to create the ingress and use the BackendConfig. With OpenMetadata Helm Charts, your Helm values would look something like this:
```
ingress:
enabled: true
hosts:
- host: openmetadata.<your-domain>
paths:
- path: /
pathType: Prefix
tls:
- secretName: <your-ssl-secret-name> # Replace with your TLS secret name and make sure it exists in the same namespace
hosts:
- openmetadata.<your-domain>
service:
annotations:
cloud.google.com/backend-config: '{"default": "openmetadata-backendconfig"}'
cloud.google.com/neg: '{"ingress": true}'
```

Once you make the above changes to your helm values, run the below command to install/upgrade helm charts:
```
helm upgrade --install openmetadata-dependencies open-metadata/openmetadata-dependencies --values <path-to-values-file> --namespace <kubernetes_namespace>
helm upgrade --install openmetadata open-metadata/openmetadata --values <path-to-values-file> --namespace <kubernetes_namespace>
```

Wait for a minute and retrieve the IP of the ingress:
```
kubectl get ingress --namespace <kubernetes_namespace>
```

Finally, add the IP to your DNS records.
4 changes: 2 additions & 2 deletions content/v1.9.x/deployment/kubernetes/gke.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,5 +423,5 @@ Please validate:
- `storageClassName` field in YAML file

# FAQs

{% partial file="/v1.9/deployment/faqs.md" /%}
{% partial file="/v1.9/deployment/faqs-gke.md" /%}
{% partial file="/v1.9/deployment/faqs.md" /%}