You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A mostly GPT-4 created Golang-based tool for executing commands in parallel on Kubernetes pods with specified labels, similar to GNU's `parallel` tool. GPT-4 even helped debug, name the project, create this README (aside from this), create a logo (when DALL-E's not overloaded), and craft the announcement tweet for the project.
7
7
@@ -21,42 +21,42 @@ A mostly GPT-4 created Golang-based tool for executing commands in parallel on K
21
21
22
22
### Homebrew
23
23
24
-
You can install `k8s-parallel-exec` using Homebrew on macOS and Linux:
24
+
You can install `kubectl-parallel-exec` using Homebrew on macOS and Linux:
You can also build and install the k8s-parallel-exec from source. To do this, follow these steps:
32
+
You can also build and install the kubectl-parallel-exec from source. To do this, follow these steps:
33
33
34
34
1. Ensure that you have Go installed on your system. You can check this by running go version. If you don't have Go installed, you can follow the installation instructions on the [official Go website](https://golang.org/doc/install).
k8s-parallel-exec -kubeconfig ~/.kube/config -c cassandra -l app=cassandra nodetool status
68
+
kubectl-parallel-exec -kubeconfig ~/.kube/config -c cassandra -l app=cassandra nodetool status
69
69
```
70
70
This command would execute `nodetool status` on all the Cassandra containers in pods with the label "app=cassandra" in parallel, and then aggregate and display the results.
71
71
@@ -74,14 +74,14 @@ If authentication is enabled and you don't want to expose credentials, you may h
Here are some additional features that could make k8s-parallel-exec more useful:
84
+
Here are some additional features that could make kubectl-parallel-exec more useful:
85
85
86
86
Configurable concurrency: Allow users to set the maximum number of concurrent commands that can be executed at once. This would help manage resource usage and prevent overloading the cluster.
87
87
@@ -103,7 +103,7 @@ Progress tracking and timeout: Implement progress tracking to show the status of
103
103
104
104
Save and load command sets: Allow users to save sets of commands and their associated options to configuration files, making it easy to run common sets of commands without having to specify all the options every time.
105
105
106
-
These features could enhance the usability and flexibility of k8s-parallel-exec, making it an even more valuable tool for Kubernetes users.
106
+
These features could enhance the usability and flexibility of kubectl-parallel-exec, making it an even more valuable tool for Kubernetes users.
107
107
108
108
## Credits
109
109
The initial implementation for this project were provided by ChatGPT from OpenAI. Other than the idea for the project, ChatGPT created nearly all of the code in this repo (even the README.md).
Create a modern and dynamic logo for the k8s-parallel-exec project that represents the essence of parallel command execution in Kubernetes clusters. The design should feature a stylized version of the Kubernetes logo, with multiple arrows branching out from the central hexagon, symbolizing parallelism and efficient distribution of tasks. Incorporate vibrant colors, such as bright cyan or green, to evoke a sense of speed and agility. Overlay the arrows with a subtle command line terminal icon to emphasize the CLI aspect of the tool. The project name "k8s-parallel-exec" should be displayed in a bold, contemporary font beneath the main logo.
3
+
Create a modern and dynamic logo for the kubectl-parallel-exec project that represents the essence of parallel command execution in Kubernetes clusters. The design should feature a stylized version of the Kubernetes logo, with multiple arrows branching out from the central hexagon, symbolizing parallelism and efficient distribution of tasks. Incorporate vibrant colors, such as bright cyan or green, to evoke a sense of speed and agility. Overlay the arrows with a subtle command line terminal icon to emphasize the CLI aspect of the tool. The project name "kubectl-parallel-exec" should be displayed in a bold, contemporary font beneath the main logo.
0 commit comments