Skip to content

Commit

Permalink
Update app name kube-knife => kubectl-knife
Browse files Browse the repository at this point in the history
  • Loading branch information
spideyz0r committed Jun 15, 2024
1 parent d717167 commit ac595e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ac595e4

Please sign in to comment.