From ac595e4380a6500762fb465835b6581508454bb3 Mon Sep 17 00:00:00 2001 From: spideyz0r <47341410+spideyz0r@users.noreply.github.com> Date: Sat, 15 Jun 2024 01:07:42 -0400 Subject: [PATCH] Update app name kube-knife => kubectl-knife --- README.md | 14 +++++++------- main.go | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f8f943b..1a12cdd 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,23 @@ -# kube-knife -[![goreleaser](https://github.com/spideyz0r/kube-knife/actions/workflows/release.yml/badge.svg)](https://github.com/spideyz0r/kube-knife/actions/workflows/release.yml) ![CI](https://github.com/spideyz0r/kube-knife/workflows/gotester/badge.svg) +# kubectl-knife +[![goreleaser](https://github.com/spideyz0r/kubectl-knife/actions/workflows/release.yml/badge.svg)](https://github.com/spideyz0r/kubectl-knife/actions/workflows/release.yml) ![CI](https://github.com/spideyz0r/kubectl-knife/workflows/gotester/badge.svg) -kube-knife is a tool to run commands on multiple pods concurrently using kubectl commands +kubectl-knife is a tool to run commands on multiple pods concurrently using kubectl commands ## Install ### Binary: MacOS (amd64/arm64), Windows, Linux ``` -https://github.com/spideyz0r/kube-knife/releases +https://github.com/spideyz0r/kubectl-knife/releases ``` ### From source ``` -git checkout https://github.com/spideyz0r/kube-knife -cd kube-knife; go build -v -o kube-knife +git checkout https://github.com/spideyz0r/kubectl-knife +cd kubectl-knife; go build -v -o kubectl-knife ``` ## Usage ``` -Usage: kube-knife [-dhs] [-C value] [-c value] [-m value] [-n value] [-p value] [-S value] [parameters ...] +Usage: kubectl-knife [-dhs] [-C value] [-c value] [-m value] [-n value] [-p value] [-S value] [parameters ...] -C, --command=value command to run, if empty, just list pods -c, --context=value diff --git a/main.go b/main.go index a9e051a..e6ef64a 100644 --- a/main.go +++ b/main.go @@ -65,7 +65,7 @@ func main() { } if *debug { - fmt.Println("DEBUG: starting kube-knife. Concurrency:", *max_concurrency) + fmt.Println("DEBUG: starting kubectl-knife. Concurrency:", *max_concurrency) } pods, err := discoveryPods(*cluster_filter, *namespace_filter, *pod_filter, *skip_filter, *debug, *max_concurrency)