GithubHelp home page GithubHelp logo

rtortori / remotexec Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 405 KB

Starting from a Kubernetes master node, it will execute a shell script on all Kubernetes nodes

License: Other

Dockerfile 2.45% Python 36.34% Shell 5.18% CSS 0.42% HTML 55.60%
kubernetes proxy docker cisco ccp

remotexec's Introduction

remotexec

Starting from a Kubernetes master node, it will execute a shell script on all Kubernetes nodes

Disclaimer

This is NOT an official Cisco application and comes with absolute NO WARRANTY! Please check LICENSE-CISCO.md for further information

What is this?

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.

Usage

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

Frequently used scripts

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.

Screeshots

Script Injection
alt text
Success
alt text
Fail
alt text

remotexec's People

Contributors

dependabot[bot] avatar rtortori avatar

Watchers

 avatar  avatar

Forkers

lahkurb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.