This is NOT an official Cisco application and comes with absolute NO WARRANTY! Please check LICENSE-CISCO.md for further information
remotexec will connect to a Kubernetes master node using SSH and will fetch the node list using kubectl.
Once the node list has been created, it will execute a script on each node.
To use this application, there are a number of prerequisites:
- All Kubernetes nodes MUST support SSH key authentication with the same user
- The SSH user MUST be able to run the command 'kubectl get nodes'
Run the application:
docker run -it -p 5000:5000 rtortori/remotexec
or daemonized, if you want:
docker run -itd -p 5000:5000 rtortori/remotexec
That's it. Connect with your browser to: http://127.0.0.1:5000
In the sample_scripts folder, you will find a collection of scripts that can be run on all Kubernetes nodes.
A frequent use case is to configure the docker daemon to use an HTTP proxy, without altering the Cisco Container Platform tenant image.