Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use canonical URL for the krew project #88593

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
{% endpanel %}

{% panel style="info", title="TL;DR" %}
- [krew.dev](https://github.com/kubernetes-sigs/krew/#installation) is a kubernetes sub-project to discover and manage plugins
- [krew.sigs.k8s.io](https://krew.sigs.k8s.io/docs/user-guide/setup/install/) is a kubernetes sub-project to discover and manage plugins
{% endpanel %}

# Krew

By design, `kubectl` does not install plugins. This task is left to the kubernetes sub-project
[krew.dev](https://github.com/kubernetes-sigs/krew/#installation) which needs to be installed separately.
[krew.sigs.k8s.io](https://krew.sigs.k8s.io/docs/user-guide/setup/install/) which needs to be installed separately.
Krew helps to

- discover plugins
Expand All @@ -21,7 +21,7 @@ Krew helps to
Krew should be used as a kubectl plugin. To set yourself up to using krew, you need to do two things:

1. Install git
1. Install krew as described on the project page [krew.dev](https://github.com/kubernetes-sigs/krew/#installation).
1. Install krew as described on the project page [krew.sigs.k8s.io](https://krew.sigs.k8s.io/docs/user-guide/setup/install/).
1. Add the krew bin folder to your `PATH` environment variable. For example, in bash `export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"`.

## Krew capabilities
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,4 @@ kubectl plugin list

{% endmethod %}

The easiest way to discover and install plugins is via the kubernetes sub-project [krew.dev](https://github.com/kubernetes-sigs/krew/#installation).
The easiest way to discover and install plugins is via the kubernetes sub-project [krew.sigs.k8s.io](https://krew.sigs.k8s.io/docs/user-guide/setup/install/).
2 changes: 1 addition & 1 deletion staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var (
Please refer to the documentation and examples for more information about how write your own plugins.

The easiest way to discover and install plugins is via the kubernetes sub-project krew.
To install krew, visit [krew.dev](https://github.com/kubernetes-sigs/krew/#installation)`)
To install krew, visit [krew.sigs.k8s.io](https://krew.sigs.k8s.io/docs/user-guide/setup/install/)`)

pluginListLong = templates.LongDesc(`
List all available plugin files on a user's PATH.
Expand Down