{"id":15647361,"url":"https://github.com/ueokande/kubectl-evict","last_synced_at":"2025-06-21T16:37:07.389Z","repository":{"id":41970389,"uuid":"420410033","full_name":"ueokande/kubectl-evict","owner":"ueokande","description":"A kubectl plugin to evict pods","archived":false,"fork":false,"pushed_at":"2024-08-03T05:03:31.000Z","size":85,"stargazers_count":54,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-01T12:14:31.635Z","etag":null,"topics":["kubectl-plugin","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ueokande.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-23T12:45:14.000Z","updated_at":"2025-03-03T10:13:17.000Z","dependencies_parsed_at":"2024-10-03T12:19:03.711Z","dependency_job_id":"d4596f0b-087c-4726-8c1b-2a871b91c096","html_url":"https://github.com/ueokande/kubectl-evict","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ueokande/kubectl-evict","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ueokande%2Fkubectl-evict","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ueokande%2Fkubectl-evict/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ueokande%2Fkubectl-evict/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ueokande%2Fkubectl-evict/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ueokande","download_url":"https://codeload.github.com/ueokande/kubectl-evict/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ueokande%2Fkubectl-evict/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261159664,"owners_count":23118063,"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":["kubectl-plugin","kubernetes"],"created_at":"2024-10-03T12:18:54.615Z","updated_at":"2025-06-21T16:37:02.376Z","avatar_url":"https://github.com/ueokande.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kubectl-evict\n\nA kubectl plugin to evict pods. This plugin is good to remove a pod from your\ncluster or to test your PodDistruptionBudget.\n\n## :cd: Installation\n\n```console\n$ go install github.com/ueokande/kubectl-evict@latest\n```\n\n## :notebook_with_decorative_cover: Usage\n\nEvict a pod nginx:\n```console\n$ kubectl evict nginx\n```\n\nEvict all pods defined by label app=nginx:\n```console\n$ kubectl evict -l app=nginx\n```\n\nEvict all pods from of a deployment named nginx:\n```console\n$ kubectl evict deployment/nginx\n```\n\nEvict all pods from node worker-1:\n```console\n$ kubectl evict node/worker-1\n```\n\n## :hammer_and_wrench: Developing\n\nCreate a cluster:\n\n```console\n$ kind create cluster --config .kind/cluster.yaml\n```\n\nThen deploy nginx with a Deployment and PodDIsruptionBudget:\n\n```console\n$ kubectl apply -f .kind/deployment.yaml -f .kind/pdb.yaml\n```\n\n## :memo: LICENSE\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fueokande%2Fkubectl-evict","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fueokande%2Fkubectl-evict","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fueokande%2Fkubectl-evict/lists"}