{"id":15286503,"url":"https://github.com/laupse/kubegraph","last_synced_at":"2025-10-09T10:13:51.819Z","repository":{"id":46145568,"uuid":"514311037","full_name":"laupse/kubegraph","owner":"laupse","description":"An \"exporter\" that will expose Kubernetes ressources (pod, replicaset, deployment, statefulset, daemonset) as Grafana Node Graph","archived":false,"fork":false,"pushed_at":"2022-11-18T08:03:25.000Z","size":225,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T04:48:59.679Z","etag":null,"topics":["grafana","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Go","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/laupse.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}},"created_at":"2022-07-15T15:05:30.000Z","updated_at":"2022-07-28T11:11:45.000Z","dependencies_parsed_at":"2022-09-22T03:11:06.256Z","dependency_job_id":null,"html_url":"https://github.com/laupse/kubegraph","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/laupse/kubegraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laupse%2Fkubegraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laupse%2Fkubegraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laupse%2Fkubegraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laupse%2Fkubegraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laupse","download_url":"https://codeload.github.com/laupse/kubegraph/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laupse%2Fkubegraph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001323,"owners_count":26083040,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["grafana","kubernetes"],"created_at":"2024-09-30T15:15:12.939Z","updated_at":"2025-10-09T10:13:51.786Z","avatar_url":"https://github.com/laupse.png","language":"Go","readme":"# Kubegraph\n\nThis repository contains an \"exporter\" that will expose Kubernetes ressources (pod, replicaset, deployment, statefulset, daemonset) as [Grafana Node Graph](https://grafana.com/docs/grafana/latest/visualizations/node-graph/) data source using this [Grafana Plugin](https://grafana.com/grafana/plugins/hamedkarbasi93-nodegraphapi-datasource/)\n\n\nhttps://user-images.githubusercontent.com/98523125/181767308-9af8dd16-80a6-4b15-b39c-704195312a61.mp4\n\n\nThis utilitary can help visualizing how this ressources interact and link with  other in a dynamic way. \n\nGreat for demonstrating Kubernetes capabilities like rollout.\n\n# Usage\n\n## Deployment\nYou need a Kubernetes cluster (it could be something like kind or minkube ofc) with Grafana deploy on it. \n\nGrafana also needs this [Grafana Plugin](https://grafana.com/grafana/plugins/hamedkarbasi93-nodegraphapi-datasource/) to be installed\n\nThen you can deploy this using :\n\n``` bash\nkubectl apply -f manifests/deploy.yml\n```\n\nDo not forget to add the Node Graph Api using the service dns created by the kubectl command above\n\n## Querying\n\nYou can query this datasource directly inside a node panel. It will then show kubernetes ressources in a graph mode. \n\nYou can reduce the scope by adding this query parameter : \n\n* `ns` for querying specific namespace \n* `selector` for querying specific resources with this label\n\nExample: `ns=proxy\u0026selector=app=nginx` will make the data source return resources in `proxy` namesapce with `app=nginx` labels \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaupse%2Fkubegraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaupse%2Fkubegraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaupse%2Fkubegraph/lists"}