{"id":13819863,"url":"https://github.com/d-kuro/kubectl-fuzzy","last_synced_at":"2025-04-13T14:35:07.739Z","repository":{"id":37039024,"uuid":"272108639","full_name":"d-kuro/kubectl-fuzzy","owner":"d-kuro","description":"This tool uses fzf(1)-like fuzzy-finder to do partial or fuzzy search of Kubernetes resources. Instead of specifying full resource names to kubectl commands, you can choose them from an interactive list that you can filter by typing a few characters.","archived":false,"fork":false,"pushed_at":"2024-03-18T15:29:37.000Z","size":3930,"stargazers_count":155,"open_issues_count":11,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-27T05:34:48.358Z","etag":null,"topics":["go","golang","kubectl","kubectl-plugin","kubectl-plugins","kubernetes"],"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/d-kuro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-06-14T00:42:59.000Z","updated_at":"2024-11-28T16:34:46.000Z","dependencies_parsed_at":"2022-06-25T09:50:44.359Z","dependency_job_id":"92c06628-5a17-4abd-9963-2cf772623df0","html_url":"https://github.com/d-kuro/kubectl-fuzzy","commit_stats":null,"previous_names":["d-kuro/kubectl-fzf"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-kuro%2Fkubectl-fuzzy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-kuro%2Fkubectl-fuzzy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-kuro%2Fkubectl-fuzzy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-kuro%2Fkubectl-fuzzy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d-kuro","download_url":"https://codeload.github.com/d-kuro/kubectl-fuzzy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248728856,"owners_count":21152308,"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":["go","golang","kubectl","kubectl-plugin","kubectl-plugins","kubernetes"],"created_at":"2024-08-04T08:00:54.158Z","updated_at":"2025-04-13T14:35:07.717Z","avatar_url":"https://github.com/d-kuro.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# kubectl-fuzzy\n\n![](https://github.com/d-kuro/kubectl-fuzzy/workflows/main/badge.svg)\n\nFuzzy and partial string search for kubectl\n\n![](./docs/assets/kubectl-fuzzy.gif)\n\n## Summary\n\nThis tool uses [fzf(1)](https://manpages.debian.org/unstable/fzf/fzf.1.en.html)-like fuzzy-finder to do partial or fuzzy search of Kubernetes resources.\nInstead of specifying full resource names to kubectl commands,\nyou can choose them from an interactive list that you can filter by typing a few characters.\n\n\u003e 📝 Notes\n\u003e\n\u003e kubectl \u003e= v1.12.0 is required for plugins to work.\n\u003e\n\u003e For more information on kuberctl plugins see [documentation](https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/)\n\n## Install\n\n### Krew\n\n[Krew](https://krew.sigs.k8s.io/) is the plugin manager for kubectl command-line tool.\n\n\u003e 📝 See the [documentation](https://krew.sigs.k8s.io/docs/user-guide/setup/install/) for how to install Krew.\n\n```shell\nkubectl krew update\nkubectl krew install fuzzy\n```\n\n### Manually\n\nPlease download the binaries from the [release page](https://github.com/d-kuro/kubectl-fuzzy/releases).\n\nor\n\n```shell\ngit clone https://github.com/d-kuro/kubectl-fuzzy.git\ncd kubectl-fuzzy\nmake install\n```\n\n## Usage\n\n```console\n$ kubectl fuzzy -h\nFuzzy Finder kubectl\n\nUsage:\n  kubectl-fuzzy\n  kubectl-fuzzy [command]\n\nAvailable Commands:\n  create      Create a resource\n  delete      Selecting an object with the fuzzy finder and delete\n  describe    Selecting an object with the fuzzy finder and show details\n  exec        Selecting a Pod with the fuzzy finder and execute a command in a container\n  help        Help about any command\n  logs        Selecting a Pod with the fuzzy finder and view the log\n  version     Show version\n\nUse \"kubectl-fuzzy [command] --help\" for more information about a command.\n```\n\n## Support Commands\n\n* [x] `kubectl logs`\n* [x] `kubectl exec`\n* [x] `kubectl describe`\n* [x] `kubectl create job --from=cronjob`\n* [x] `kubectl delete`\n* anything else...\n\n\u003e 📝 See the [documentation](./docs/commands.md) for support commands.\n\n## Preview Mode\n\n![](./docs/assets/preview.jpg)\n\nYou can use the `--preview` or `-P` option to display a YAML of the Kubernetes object in a fuzzy finder selector.\nOr you can use environment variables. `KUBE_FUZZY_PREVIEW_ENABLED=true`\nYou can switch the display to YAML or JSON with the `--preview-format` option.\n\ne.g.\n\n```shell\nkubectl fuzzy describe deployment --preview\nor\nkubectl fuzzy describe deployment -P\n```\n\nThe Kubernetes object displayed in the preview window is simplified by default.\nSome metadata and statuses have been removed.\nUse the `--raw-preview` option to display the unsimplified object.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-kuro%2Fkubectl-fuzzy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-kuro%2Fkubectl-fuzzy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-kuro%2Fkubectl-fuzzy/lists"}