Skip to content

krew

Find and install kubectl plugins

Krew is the package manager for kubectl plugins.

devops

https://krew.sigs.k8s.io

amd64 armhf arm64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install krew

sudo apt install krew

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    krew=0.4.4*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      krew=0.4.4*

Download URLs

Version SHA256 Size (KB)
0.4.4 8a0dc3b2dbc18870018a9cd37a95eea3c4bc64483c160245319a89dc0ddcd209 3288
0.4.3 9ef67f1c7aa72033cea6cba9d6bea0b120ca4fbcc60a14afd628beb3f3ba6bc8 3003
Version SHA256 Size (KB)
0.4.4 dd7786d1d442de37ed66bf2b3cd56a35faf53afed1eaa41a1c74b80a0a3edf4e 2785
0.4.3 230e24383fe619a659a6d671a798a11e11da93d213bf06318b1646d4af7b32a3 2565
Version SHA256 Size (KB)
0.4.4 094caeb8e7b08dd7a5595b0e8674744775d627fc809a82d8ea0ddd9965f672f3 2826
0.4.3 1be6384993d55e107bc4e88b1e9f5e79c9f507fe4dfa40adf8634f9a5a908f94 2541

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for krew are versioned here.

Click here to see krew ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/krew/ops2deb.yml
name: krew
matrix:
  architectures:
    - amd64
    - arm64
    - armhf
  versions:
    - 0.4.3
    - 0.4.4
homepage: https://krew.sigs.k8s.io
summary: find and install kubectl plugins
description: Krew is the package manager for kubectl plugins.
fetch: https://github.com/kubernetes-sigs/krew/releases/download/v{{version}}/krew-linux_{{goarch}}.tar.gz
install:
  - krew-linux_{{goarch}}:/usr/bin/krew

The blueprint fetch keyword contains a URL template pointing to krew releases. Downloaded files are locked in a lockfile versioned here.

Click here to see krew release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/krew/ops2deb.lock.yml
- url: https://github.com/kubernetes-sigs/krew/releases/download/v0.4.3/krew-linux_amd64.tar.gz
  sha256: 5df32eaa0e888a2566439c4ccb2ef3a3e6e89522f2f2126030171e2585585e4f
  timestamp: 2022-02-05 01:58:53+00:00
- url: https://github.com/kubernetes-sigs/krew/releases/download/v0.4.3/krew-linux_arm.tar.gz
  sha256: 68eb9e9f5bba29c7c19fb52bfc43a31300f92282a4e81f0c51ad26ed2c73eb03
  timestamp: 2022-02-05 01:58:53+00:00
- url: https://github.com/kubernetes-sigs/krew/releases/download/v0.4.3/krew-linux_arm64.tar.gz
  sha256: 0994923848882ad0d4825d5af1dc227687a10a02688f785709b03549dd34d71d
  timestamp: 2022-02-05 01:58:53+00:00
- url: https://github.com/kubernetes-sigs/krew/releases/download/v0.4.4/krew-linux_amd64.tar.gz
  sha256: e471396b0ed4f2be092b4854cc030dfcbb12b86197972e7bef0cb89ad9c72477
  timestamp: 2023-07-14 01:54:57+00:00
- url: https://github.com/kubernetes-sigs/krew/releases/download/v0.4.4/krew-linux_arm.tar.gz
  sha256: 4f3d550227e014f3ba7c72031108ffda0654cb755f70eb96be413a5102d23333
  timestamp: 2023-07-14 01:54:57+00:00
- url: https://github.com/kubernetes-sigs/krew/releases/download/v0.4.4/krew-linux_arm64.tar.gz
  sha256: f8f0cdbf698ed3e8cb46e7bd213754701341a10e11ccb69c90d4863e0cf5a16a
  timestamp: 2023-07-14 01:54:57+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/krew.svg)](https://docs.wakemeops.com/packages/krew)
<a href="https://docs.wakemeops.com/packages/krew">
  <img src="https://docs.wakemeops.com/badges/krew.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/krew.svg
:target: https://docs.wakemeops.com/packages/krew