NOTES.txt 2.6 KB

12345678910111213141516171819202122232425262728
  1. ██████╗ ███████╗███████╗██████╗ ███████╗██╗ ██████╗ ██╗ ██╗
  2. ██╔══██╗██╔════╝██╔════╝██╔══██╗██╔════╝██║ ██╔═══██╗██║ ██║
  3. ██║ ██║█████╗ █████╗ ██████╔╝█████╗ ██║ ██║ ██║██║ █╗ ██║
  4. ██║ ██║██╔══╝ ██╔══╝ ██╔═══╝ ██╔══╝ ██║ ██║ ██║██║███╗██║
  5. ██████╔╝███████╗███████╗██║ ██║ ███████╗╚██████╔╝╚███╔███╔╝
  6. ╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚══════╝ ╚═════╝ ╚══╝╚══╝
  7. An automated observability platform for cloud-native developers.
  8. # deepflow-agent Port for receiving trace, metrics, and log
  9. deepflow-agent service: deepflow-agent.{{ $.Release.Namespace }}
  10. deepflow-agent Host listening port: {{ tpl (toString (index .Values "deepflow-agent" "externalAgentHttpProxyPort")) . }}
  11. # Get the Grafana URL to visit by running these commands in the same shell
  12. {{ if contains "NodePort" .Values.grafana.service.type }}
  13. NODE_PORT=$(kubectl get --namespace {{ $.Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ $.Release.Name }}-grafana)
  14. NODE_IP=$(kubectl get nodes -o jsonpath="{.items[0].status.addresses[0].address}")
  15. echo -e "Grafana URL: http://$NODE_IP:$NODE_PORT \nGrafana auth: admin:{{ tpl .Values.grafana.adminPassword . }}"
  16. {{ else if contains "LoadBalancer" .Values.grafana.service.type -}}
  17. NOTE: It may take a few minutes for the LoadBalancer IP to be available.
  18. You can watch the status of by running 'kubectl get svc --namespace {{ $.Release.Namespace }} -w {{ $.Release.Name }}-grafana'
  19. SERVICE_IP=$(kubectl get svc --namespace {{ $.Release.Namespace }} {{ $.Release.Name }}-grafana -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
  20. http://$SERVICE_IP:{{ .Values.grafana.service.port -}}
  21. {{ else if contains "ClusterIP" .Values.grafana.service.type }}
  22. POD_NAME=$(kubectl get pods --namespace {{ $.Release.Namespace }} -l "app.kubernetes.io/name={{ template "grafana.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
  23. kubectl --namespace {{ $.Release.Namespace }} port-forward $POD_NAME 3000
  24. {{- end }}