Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amaurybsouza/a9b0415a0c96f66c553bd4771f30bd6c to your computer and use it in GitHub Desktop.
Save amaurybsouza/a9b0415a0c96f66c553bd4771f30bd6c to your computer and use it in GitHub Desktop.
helm_grafana
# helm install grafana-labz --version=6.16.10 grafana/grafana
W0626 06:59:43.460315 13413 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
W0626 06:59:43.462944 13413 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
W0626 06:59:43.524516 13413 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
W0626 06:59:43.524631 13413 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
NAME: grafana-labz
LAST DEPLOYED: Sun Jun 26 06:59:42 2022
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:
1. Get your 'admin' user password by running:
kubectl get secret --namespace default grafana-labz -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
2. The Grafana server can be accessed via port 80 on the following DNS name from within your cluster:
grafana-labz.default.svc.cluster.local
Get the Grafana URL to visit by running these commands in the same shell:
export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=grafana,app.kubernetes.io/instance=grafana-labz" -o jsonpath="{.items[0].metadata.name}")
kubectl --namespace default port-forward $POD_NAME 3000
3. Login with the password from step 1 and the username: admin
#################################################################################
###### WARNING: Persistence is disabled!!! You will lose your data when #####
###### the Grafana pod is terminated. #####
#################################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment