File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ kubectl-parallel-exec -kubeconfig /path/to/kubeconfig -c container-name -l label
61
61
- ` -kubeconfig ` : Path to the kubeconfig file. If not provided, in-cluster configuration will be used.
62
62
- ` -c ` : Container to execute the command against.
63
63
- ` -l ` : Label selector to filter the pods.
64
+ - ` -n ` : Namespace filter
65
+ - ` -v ` : Print the version
64
66
- ` command-to-execute ` : The command to run inside the specified container in each pod.
65
67
66
68
Example
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ func main() {
58
58
container := flag .String ("c" , "" , "Container to execute the command against" )
59
59
labelSelector := flag .String ("l" , "" , "Label selector to filter pods" )
60
60
namespace := flag .String ("n" , "" , "Namespace filter" )
61
- versionFlag := flag .Bool ("v" , false , "print the version" )
61
+ versionFlag := flag .Bool ("v" , false , "Print the version" )
62
62
flag .Parse ()
63
63
64
64
if * versionFlag {
You can’t perform that action at this time.
0 commit comments