talira

Find and install kubectl plugins

open sourceApache-2.0self-hostablefree

Krew is the package manager for kubectl plugins, itself a kubectl plugin: kubectl krew search, install, upgrade and uninstall find and manage plugins the way apt or Homebrew manage programs. Plugins come from the central krew-index repository, where over 200 are published, or from custom indexes in any git repository, added with kubectl krew index add, and plugin authors package one manifest that serves macOS, Linux and Windows. It's a Kubernetes SIG CLI subproject under Apache-2.0.

Ways to install

Problems it solves

  • find and install kubectl plugins without downloading binaries by hand
  • keep all my kubectl plugins up to date with one command
  • distribute our internal kubectl plugin to the team on macOS, Linux and Windows
  • host a private index of kubectl plugins in our own git repository
  • search for a kubectl plugin that does what I need, like switching contexts or viewing RBAC
  • publish a kubectl plugin so other people can discover and install it

Features

  • kubectl krew search, install, upgrade, uninstall and update
  • central krew-index with over 200 kubectl plugins
  • custom plugin indexes from any git remote, including SSH
  • plugins from a custom index installed as INDEX/PLUGIN
  • one plugin manifest for several operating systems and architectures
  • plugin archives can be served behind authentication
  • installs into ~/.krew/bin on macOS, Linux and Windows

Limitations

  • Doesn't work with kubectl older than v1.123
  • Installing through Homebrew isn't supported by the Krew project: its docs say that method isn't actively supported3

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known