Skip to content

Commit b0963fd

Browse files
committed
Update NOTES.txt;
When kyuubi.kyuubiConf.kyuubiDefaults set localhost, NOTES.txt render for development usage guide
1 parent ac9766a commit b0963fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

charts/kyuubi/templates/NOTES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ In order to check the release status, use:
3030
{{ $name | snakecase | upper }}:
3131
- To access {{ $.Release.Name }}-{{ $name | kebabcase }} service within the cluster, use the following URL:
3232
{{ $.Release.Name }}-{{ $name | kebabcase }}.{{ $.Release.Namespace }}.svc.cluster.local
33+
{{- if or (eq (get $.Values.kyuubiConf.kyuubiDefaults "kyuubi.frontend.bind.host") "localhost") (eq (get $.Values.kyuubiConf.kyuubiDefaults "kyuubi.frontend.bind.host") "127.0.0.1") }}
3334
- To access {{ $.Release.Name }}-{{ $name | kebabcase }} service from outside the cluster for debugging, run the following command:
3435
kubectl port-forward svc/{{ $.Release.Name }}-{{ $name | kebabcase }} {{ tpl $frontend.service.port $ }}:{{ tpl $frontend.service.port $ }} -n {{ $.Release.Namespace }}
3536
and use 127.0.0.1:{{ tpl $frontend.service.port $ }}
37+
{{- end }}
3638
{{- if eq $frontend.service.type "NodePort" }}
3739
- To access {{ $.Release.Name }}-{{ $name | kebabcase }} service from outside the cluster through configured NodePort, run the following commands:
3840
export NODE_PORT=$(kubectl get service {{ $.Release.Name }}-{{ $name | kebabcase }} -n {{ $.Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}")

0 commit comments

Comments
 (0)