madhurt
06/30/2021, 5:26 PMexport DAGIT_POD_NAME=$(kubectl get pods --namespace default \
-l "<http://app.kubernetes.io/name=dagster,app.kubernetes.io/instance=dagster,component=dagit|app.kubernetes.io/name=dagster,app.kubernetes.io/instance=dagster,component=dagit>" \
-o jsonpath="{.items[0].metadata.name}")
kubectl --namespace default port-forward $DAGIT_POD_NAME 8080:80
To have a permanent address instead, what should be done?
Do I create a service
for it?
If yes, what could be the steps? I could appreciate some sense of direction. Do I need to edit values.yaml
too (that we use in helm
)?rex
06/30/2021, 5:37 PM.Values.ingress.enabled
to True, but you’ll also need some sort of ingress controller in your cluster to get this up and runningmadhurt
06/30/2021, 6:32 PM.Values.dagit.service.type
to LoadBalancer
? It’s set to ClusterIP
by default.rex
06/30/2021, 6:42 PMClusterIP
should be fine.