Skip to content

Commit

Permalink
fix: helm notes (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
kqzh authored Aug 29, 2024
1 parent 795b674 commit 21feb90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/nebula-exporter/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ nebula-exporter has been deployed!
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "nebula-exporter.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT
echo "Visit http://127.0.0.1:9100 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 9100:$CONTAINER_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "nebula-exporter.name" . }}'
Expand Down

0 comments on commit 21feb90

Please sign in to comment.