From 22880b282f9f0b4fd23d41ddfa8f9ce0e9367674 Mon Sep 17 00:00:00 2001 From: Lorenzo Fontana Date: Mon, 22 Jun 2020 12:29:49 +0200 Subject: [PATCH] docs: add Krew to the installation docs Signed-off-by: Lorenzo Fontana --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 5a7ebb55..2c90c2ef 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,18 @@ of [bpftrace](https://github.com/iovisor/bpftrace) programs in your Kubernetes c ## Installing +### Krew + +You can install `kubectl trace` using the [Krew](https://github.com/kubernetes-sigs/krew), the package manager for kubectl plugins. + +Once you have [Krew installed](https://krew.sigs.k8s.io/docs/user-guide/setup/install/) just run: + +```bash +kubectl krew install trace +``` + +You're ready to go! + ### Pre-built binaries See the [release](https://github.com/iovisor/kubectl-trace/releases) page for the full list of pre-built assets.