mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Fix broken port-forward instructions (#14039)
The pod listens on port 8088, not port 80. Also if you port-forward from the service then you don't have to bother getting the pod name.
This commit is contained in:
committed by
GitHub
parent
a3b41e2bac
commit
2c96c5b341
@@ -31,7 +31,6 @@
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "superset.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
echo http://$SERVICE_IP:{{ .Values.service.port }}
|
||||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "superset.name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
||||
echo "Visit http://127.0.0.1:8088 to use your application"
|
||||
kubectl port-forward $POD_NAME 8088:80
|
||||
kubectl port-forward service/superset 8088:8088 --namespace {{ .Release.Namespace }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user