- 🌈 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
-
🛡 Perfect log audit function
-
♾ Perfect API interface
-
👬 Multi user system
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
- 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
Using SSH client to connect to Kube console on SSH
#ssh nodeip:svcport
ssh 127.0.0.1 -p 2222
-
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