diff --git a/chart/skywalking/templates/NOTES.txt b/chart/skywalking/templates/NOTES.txt index 9de840c00feb1aa38b1b6b7616a52669a180bfbe..a8bb2a6c8decdca2fb4bb13a8c4232364568b005 100644 --- a/chart/skywalking/templates/NOTES.txt +++ b/chart/skywalking/templates/NOTES.txt @@ -44,7 +44,7 @@ Get the UI URL by running these commands: {{- else if contains "ClusterIP" .Values.ui.service.type }} export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "skywalking.name" . }},release={{ .Release.Name }},component={{ .Values.ui.name }}" -o jsonpath="{.items[0].metadata.name}") echo "Visit http://127.0.0.1:8080 to use your application" - kubectl port-forward $POD_NAME 8080:{{ .Values.ui.service.internalPort }} + kubectl port-forward $POD_NAME 8080:{{ .Values.ui.service.internalPort }} --namespace {{ .Release.Namespace }} {{- end }} {{- if.Values.elasticsearch.enabled }} @@ -55,4 +55,4 @@ Get the UI URL by running these commands: ###### the SkyWalking's storage ES pod is terminated. ##### ################################################################################# {{- end }} -{{- end }} \ No newline at end of file +{{- end }}