{"id":24740549,"url":"https://github.com/laurybueno/kubectl-hoggers","last_synced_at":"2025-10-10T08:31:00.476Z","repository":{"id":56366052,"uuid":"283901865","full_name":"laurybueno/kubectl-hoggers","owner":"laurybueno","description":"Shed a light on the most resource intensive applications in a Kubernetes cluster","archived":false,"fork":false,"pushed_at":"2020-11-12T02:37:19.000Z","size":60,"stargazers_count":22,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-29T11:50:31.214Z","etag":null,"topics":["go","kubectl","kubectl-plugins","kubernetes","kubernetes-cluster","resource-consumption"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laurybueno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-31T00:05:58.000Z","updated_at":"2024-04-16T15:38:44.000Z","dependencies_parsed_at":"2022-08-15T17:20:50.396Z","dependency_job_id":null,"html_url":"https://github.com/laurybueno/kubectl-hoggers","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/laurybueno/kubectl-hoggers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurybueno%2Fkubectl-hoggers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurybueno%2Fkubectl-hoggers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurybueno%2Fkubectl-hoggers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurybueno%2Fkubectl-hoggers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laurybueno","download_url":"https://codeload.github.com/laurybueno/kubectl-hoggers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurybueno%2Fkubectl-hoggers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003299,"owners_count":26083555,"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-10T02:00:06.843Z","response_time":62,"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":["go","kubectl","kubectl-plugins","kubernetes","kubernetes-cluster","resource-consumption"],"created_at":"2025-01-27T23:24:25.639Z","updated_at":"2025-10-10T08:31:00.119Z","avatar_url":"https://github.com/laurybueno.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Analyze resource consumption in Kubernetes from your terminal\nHoggers is a `kubectl` plugin that uses multiple Kubernetes API endpoints to show data about resource consumption in a Kubernetes cluster using only a terminal interface.\n\n## Installation\nAt the moment, only Linux distributions are supported. If you're running some other OS, try installing from source.\n\n### From pre-built binary\nThis downloads the pre-built binary and moves it to your PATH.\n```\ncurl -L -o kubectl-hoggers https://github.com/laurybueno/kubectl-hoggers/releases/download/v1.1.1/kubectl-hoggers\nchmod +x kubectl-hoggers\nsudo mv kubectl-hoggers /usr/bin\n```\n\n### From source\nYou need to have [Go installed](https://golang.org/doc/install) to build this application.\n```\ngo get github.com/laurybueno/kubectl-hoggers\n```\n\n## Usage\nThis plugin checks the `KUBECONFIG` environment variable to find the cluster config file. You can also pass its path with the `--kubeconfig` flag.\n\nCheck CPU and RAM reservations/limits for each node in a cluster\n```\nkubectl hoggers report\n```\n\nList pods consuming most CPU resources in real time along with its corresponding nodes. Refreshes every 10 seconds and requires metrics-server.\n```\nkubectl hoggers top\n```\n\nNote: because of the way `kubectl` plugins work, running `kubectl hoggers` or `kubectl-hoggers` gives the same results.\n\n## Roadmap\n- [x] allow `KUBECONFIG` to be set via command flag\n- [ ] output `report` to a file\n- [ ] add a namespace option to `report`\n- [ ] add table scroll in `report`\n- [ ] option to order by RAM in `top`\n- [ ] add animated GIFs to demonstrate usage\n\n## Development workflow\nI suggest using Docker for developing and building this application.\n\n```\ndocker build -t kubectl-hoggers:dev -f compose/local/Dockerfile .\ndocker run -it --rm -v ${PWD}:/app kubectl-hoggers:dev bash\ngo install -v ./... \u0026\u0026 kubectl-hoggers\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurybueno%2Fkubectl-hoggers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaurybueno%2Fkubectl-hoggers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurybueno%2Fkubectl-hoggers/lists"}