MCPcopy
hub / github.com/kubernetes-sigs/krew

github.com/kubernetes-sigs/krew @v0.5.0 sqlite

repository ↗ · DeepWiki ↗ · release v0.5.0 ↗
448 symbols 2,359 edges 84 files 140 documented · 31%
README

Krew logo

Krew

Build Status Go Report Card LICENSE Releases GitHub stars

Krew is the package manager for kubectl plugins.

What does Krew do?

Krew is a tool that makes it easy to use kubectl plugins. Krew helps you discover plugins, install and manage them on your machine. It is similar to tools like apt, dnf or brew. Today, over 200 kubectl plugins are available on Krew.

  • For kubectl users: Krew helps you find, install and manage kubectl plugins in a consistent way.
  • For plugin developers: Krew helps you package and distribute your plugins on multiple platforms and makes them discoverable.

Documentation

Visit the Krew documentation to find Installation instructions, User Guide and Developer Guide.

You can follow the Quickstart to get started with Krew.

Contributor Documentation

  • Releasing Krew: how to release new version of Krew.
  • Plugin Lifecycle: how Krew installs/upgrades plugins and itself. (Not necessarily up-to-date, but it can give a good idea about how Krew works under the covers.)
  • Krew Architecture: architectural decisions behind designing initial versions of Krew. (Not up-to-date.)
  • Krew Logo: our logo and branding assets.

Visit ./docs for all documentation.

Roadmap

Please check out the Issue Tracker to see the plan of record for new features and changes.

Community

Bug reports

  • If you have a problem with the Krew itself, please file an issue in this repository.
  • If you're having a problem with a particular plugin's installation or upgrades, file an issue at krew-index repository.
  • If you're having an issue with an installed plugin, file an issue for the repository the plugin's source code is hosted at.

Communication channels

Contributing

Interested in contributing to Krew? Please refer to our Contributing Guidelines for more details.

Code of Conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

Extension points exported contracts — how you extend this code

Fetcher (Interface)
Fetcher is used to get files from a URI. [4 implementers]
internal/download/fetch.go
Verifier (Interface)
Verifier can check a reader against it's correctness. [3 implementers]
internal/download/verifier.go

Core symbols most depended-on inside this repo

V
called by 189
internal/testutil/plugin.go
Root
called by 39
internal/testutil/tempdir.go
NewPlugin
called by 37
internal/testutil/plugin.go
NewTempDir
called by 35
internal/testutil/tempdir.go
NewPaths
called by 34
internal/environment/environment.go
WithName
called by 30
internal/testutil/plugin.go
NewPlatform
called by 29
internal/testutil/plugin.go
Path
called by 29
internal/testutil/tempdir.go

Shape

Function 337
Method 64
Struct 42
Interface 2
TypeAlias 2
FuncType 1

Languages

Go98%
Python2%

Modules by API surface

integration_test/testutil_test.go25 symbols
internal/download/downloader_test.go22 symbols
internal/testutil/plugin.go19 symbols
integration_test/install_test.go16 symbols
integration_test/index_test.go16 symbols
internal/installation/install_test.go15 symbols
site/functions/server/main.go14 symbols
internal/environment/environment.go14 symbols
internal/installation/install.go12 symbols
internal/installation/move.go11 symbols
integration_test/upgrade_test.go11 symbols
internal/download/downloader.go10 symbols

Dependencies from manifests, versioned

github.com/apex/gatewayv1.1.1 · 1×
github.com/fxamacker/cbor/v2v2.9.0 · 1×
github.com/git-lfs/go-netrcv0.0.0-2025021816530 · 1×
github.com/go-logr/logrv1.4.2 · 1×
github.com/google/go-github/v32v32.1.0 · 1×
github.com/google/go-querystringv1.0.0 · 1×
github.com/google/gofuzzv1.0.0 · 1×

For agents

$ claude mcp add krew \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact