{"id":15771497,"url":"https://github.com/trstringer/k8s-prometheus-grafana-dashboard-deployment","last_synced_at":"2025-03-31T11:44:53.392Z","repository":{"id":147740094,"uuid":"110894123","full_name":"trstringer/k8s-prometheus-grafana-dashboard-deployment","owner":"trstringer","description":null,"archived":false,"fork":false,"pushed_at":"2017-11-16T13:16:51.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-11T15:07:43.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trstringer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-15T22:31:18.000Z","updated_at":"2017-11-16T12:01:49.000Z","dependencies_parsed_at":"2023-05-27T09:15:41.617Z","dependency_job_id":null,"html_url":"https://github.com/trstringer/k8s-prometheus-grafana-dashboard-deployment","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"313efdb86e9d0db413d86d2bc52a9cd8553ed40a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Fk8s-prometheus-grafana-dashboard-deployment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Fk8s-prometheus-grafana-dashboard-deployment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Fk8s-prometheus-grafana-dashboard-deployment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Fk8s-prometheus-grafana-dashboard-deployment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trstringer","download_url":"https://codeload.github.com/trstringer/k8s-prometheus-grafana-dashboard-deployment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246465220,"owners_count":20781919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T15:02:50.399Z","updated_at":"2025-03-31T11:44:53.370Z","avatar_url":"https://github.com/trstringer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prometheus/Grafana/Dashboard to Kubernetes\n\nThese scripts setup Prometheus, Grafana, and the Grafana datasource and dashboards to monitor the local Kubernetes cluster\n\n## Scripted Setup (recommended)\n\nRun `$ ./setup`\n\nUpon completion, navigate to `localhost:3000` and use the following credentials:\n- Username: `admin`\n- Password: retrieve from `$ kubectl get secret dashboard-grafana -o jsonpath=\"{.data.grafana-admin-password}\" | base64 --decode`\n\nYou should see a functioning Kubernetes dashboard\n\nBecause this script sets up a background job for port forwarding, when you are done you can press any key to kill port forwarding and complete the script\n\n## Manual Setup\n\n1. `$ helm install --name monitoring -f prometheus_values.yaml stable/prometheus`\n1. `$ helm install --name dashboard stable/grafana`\n1. Wait for the Prometheus server and Grafana pods to come up\n1. `$ kubectl port-forward \u003cdashboard-grafana*_pod\u003e 3000:3000`\n1. `$ ./create_datasource.sh` (creates the Prometheus datasource in the Grafana instance)\n1. `$ ./create_dashboard.sh` (pulls down the [grafana.com Kubernetes dashboard](https://grafana.com/dashboards/315))\n1. Navigate to `localhost:3000` in your browser\n1. Use login username `admin` and to retrieve the password run `$ kubectl get secret dashboard-grafana -o jsonpath=\"{.data.grafana-user-password}\" | base64 --decode` as the password\n1. View the Kubernetes dashboard\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrstringer%2Fk8s-prometheus-grafana-dashboard-deployment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrstringer%2Fk8s-prometheus-grafana-dashboard-deployment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrstringer%2Fk8s-prometheus-grafana-dashboard-deployment/lists"}