kcos

command module
v0.0.0-...-6f50dc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

README

✨ 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

  • install kcos on kubernetes
// 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

#ssh nodeip:svcport
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)

📦 Architecture-diagram

kcos

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL