How to get terminal connection on a spesific pod and preserve the context? #1592
koureasstavros
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using Kubernetes client for c#, there is a way to open a terminal and use shell commands into the pods
The above code works fine, as it gets one command, it process it, and returns the output in string.
First question is, how to preserve context, as if I have a UI and sent multiple commands, I need first make a "cd directory" and then in a second command make "ls" so the previous navigation command context is not lost?
Second question, is it possible to use normal terminal from UI (for example Blazor in razor component) and do more advanced things like opening a file editor like pico?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions