From ae12e1bb5dd87f610f24c788dbe3a3722796f8ff Mon Sep 17 00:00:00 2001 From: Vic Iglesias Date: Thu, 10 Nov 2016 15:24:16 -0800 Subject: [PATCH] Prometheus: Fix port-forwarding command in NOTES --- incubator/prometheus/templates/NOTES.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/incubator/prometheus/templates/NOTES.txt b/incubator/prometheus/templates/NOTES.txt index 71d4647c21..a03b4002c5 100644 --- a/incubator/prometheus/templates/NOTES.txt +++ b/incubator/prometheus/templates/NOTES.txt @@ -21,7 +21,7 @@ Get the server URL by running these commands in the same shell: echo http://$SERVICE_IP:{{ .Values.server.httpPort }} {{- else if contains "ClusterIP" .Values.server.serviceType }} export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "fullname" . }},component={{ .Values.server.name }}" -o jsonpath="{.items[0].metadata.name}") - kubectl port-forward $POD_NAME {{ .Values.server.httpPort }}:{{ .Values.server.httpPort }} + kubectl port-forward $POD_NAME 9090 {{- end }} {{- end }}