Giter VIP home page Giter VIP logo

kcos's Introduction

✨ Features

  • 🌈 Connect the pod in kubernetes cluster through the terminal to send instructions
  • 🐿️ The SSH protocol encapsulated by golang can run on both Linux and windows
  • πŸš€ It can run anywhere in the kubernetes cluster with the help of yaml files

🐱 To Do

  • πŸ›‘ Perfect log audit function

  • β™Ύ Perfect API interface

  • πŸ‘¬ Multi user system

πŸ’‘what is Kube console on SSH

Kube console on SSH connects to kubernetes pod based on SSH protocol and does not rely on kubectl Exec command, because Kube console on SSH implements the service end of SSH, so you can use SSH command to connect to Kube console on SSH on any host. If you need to connect to pod on a large scale, you don't need to install kubectl everywhere to enter the container. Through SSH protocol, it is more convenient to enter the container, and more operations will be supported in the future

πŸ“¦ How to install

  • If you have a go locale
// Download code to build
$ git clone https://github.com/FrelDX/kcos.git
$ go build && ./kcos
  • If you have a kubernetes cluster
// Run kube-console-on-ssh on kubernetes cluster
$ kubectl apply -f https://raw.githubusercontent.com/FrelDX/kcos/master/deploy/deploy.yaml

β™Ύ Connection to kube-console-on-ssh

Using SSH client to connect to Kube console on SSH

rm -f ~/.ssh/known_hosts && ssh 127.0.0.1 -p 2222

πŸ’» How to use it

  • Enter p to view the list of pods

  • Enter quit to exit the program

  • Enter the corresponding number into the corresponding container

  • The default SSH password is 12345678, and the account can be any

Large GIF (942x608)

kcos's People

Contributors

freldx avatar lijinghuatongxue avatar

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.