Difference between revisions of "Krew"
Jump to navigation
Jump to search
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Krew is the [[plugin manager]] for <code>[[kubectl]]</code> command-line tool. | Krew is the [[plugin manager]] for <code>[[kubectl]]</code> command-line tool. | ||
− | + | == [[Krew installation]] == | |
+ | {{krew installation}} | ||
− | + | == Usage == | |
− | + | * <code>[[kubectl krew]]</code> | |
− | + | * <code>[[kubectl krew install virt]]</code> | |
− | + | * <code>[[kubectl krew search]]</code> | |
+ | * <code>[[kubectl krew upgrade]]</code> | ||
+ | * <code>[[kubectl krew version]]</code> | ||
== Related terms == | == Related terms == | ||
* <code>[[virctl]]</code> | * <code>[[virctl]]</code> | ||
+ | * <code>[[Stash (K8s backup)]]</code> | ||
+ | * [[Kots]] | ||
== See also == | == See also == | ||
− | * {{kubectl}} | + | * {{Krew}} |
+ | * {{kubectl plugin}} | ||
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 10:19, 29 February 2024
Krew is the plugin manager for kubectl
command-line tool.
Krew installation[edit]
( set -x; cd "$(mktemp -d)" && OS="$(uname | tr '[:upper:]' '[:lower:]')" && ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" && KREW="krew-${OS}_${ARCH}" && curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz" && tar zxvf "${KREW}.tar.gz" && ./"${KREW}" install krew )
Usage[edit]
kubectl krew
kubectl krew install virt
kubectl krew search
kubectl krew upgrade
kubectl krew version
Related terms[edit]
See also[edit]
krew
,kubectl krew
[search
|install | update ]
kubectl plugin [ list ]
Advertising: