Get the Jupyter Notebook application URL by running these commands:
{{- if contains "NodePort" .Values.notebook.service.type }}
1. Calculate and export the NODE_PORT:
  export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services notebook-{{ template "arl-cluster.fullname" . }})
2. Calculate and export the NODE_IP:
  export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
3. Display the URL for the Jupyter Notebook service:
  echo http://$NODE_IP:$NODE_PORT
{{- else if contains "ClusterIP" .Values.notebook.service.type }}
1. Calculate and export the POD_NAME:
  export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app=notebook-{{ template "arl-cluster.name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
2. Forward local port 8080 to Jupyter on the POD with:
  kubectl port-forward $POD_NAME 8080:{{ .Values.notebook.service.jupyter.port }}
3. Visit http://127.0.0.1:8080 to use your application
{{- end }}
