@@ -12,9 +12,6 @@ Get the application URL by running these commands:
1212{{- else if eq .Values.expose.type "nodePort" }}
1313 export APIGATEWAY_NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "core.apiGateway" . }})
1414 export CONSOLE_NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "core.console" . }})
15- {{- if .Values.jaeger.enabled }}
16- export JAEGER_NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services jaeger-query)
17- {{- end }}
1815 {{- if and (index .Values "kube-prometheus-stack" "enabled") (index .Values "kube-prometheus-stack" "prometheus" "enabled") }}
1916 export PROMETHEUS_NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services prometheus)
2017 {{- end }}
@@ -34,10 +31,6 @@ echo http://$SERVICE_IP:{{ .Values.service.port }}
3431 export API_GATEWAY_CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} ${API_GATEWAY_POD_NAME} -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
3532 export CONSOLE_POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/component=console,app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
3633 export CONSOLE_CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} ${CONSOLE_POD_NAME} -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
37- {{- if .Values.jaeger.enabled }}
38- export JAEGER_POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/component=query,app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
39- export JAEGER_CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} ${JAEGER_POD_NAME} -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
40- {{- end }}
4134 {{- if and (index .Values "kube-prometheus-stack" "enabled") (index .Values "kube-prometheus-stack" "prometheus" "enabled") }}
4235 export PROMETHEUS_POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name=prometheus,app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
4336 export PROMETHEUS_CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} ${PROMETHEUS_POD_NAME} -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
@@ -51,11 +44,6 @@ echo http://$SERVICE_IP:{{ .Values.service.port }}
5144 echo "Access to the api-gateway http://localhost:8080 and console http://localhost:3000 by:"
5245 echo "kubectl --namespace {{ .Release.Namespace }} port-forward ${API_GATEWAY_POD_NAME} 8080:${API_GATEWAY_CONTAINER_PORT}"
5346 echo "kubectl --namespace {{ .Release.Namespace }} port-forward ${CONSOLE_POD_NAME} 3000:${CONSOLE_CONTAINER_PORT}"
54- {{- if .Values.jaeger.enabled }}
55- echo "Access to the observability stack"
56- echo "Jaeger UI at http://localhost:16686 by:"
57- echo "kubectl --namespace {{ .Release.Namespace }} port-forward ${JAEGER_POD_NAME} 16686:${JAEGER_CONTAINER_PORT}"
58- {{- end }}
5947 {{- if and (index .Values "kube-prometheus-stack" "enabled") (index .Values "kube-prometheus-stack" "prometheus" "enabled") }}
6048 echo "Prometheus UI at http://localhost:9090 by:"
6149 echo "kubectl --namespace {{ .Release.Namespace }} port-forward ${PROMETHEUS_POD_NAME} 9090:${PROMETHEUS_CONTAINER_PORT}"
0 commit comments