Web Terminal Operator: Tips & Tricks for Managing Terminals in Red Hat OpenShift (4.16)

What is Web Terminal Operator?

A tool that provides a shell environment in the graphical console (UI) of Red Hat OpenShift.


What tools are pre-installed in the web terminal?

oc and kubectl.


Does the pod associated with the web terminal continue running even if I close its window?

Yes - until the idle timeout is exceeded. 

(if you reopen the terminal window in time, you will return to your active session)


What is the default idle timeout for the web terminal?

15 minutes.


What is the purpose of the wtoctl command in the web terminal?

It is used to customize the web terminal.


How can you change the idle timeout for the web terminal?

wtoctl set timeout <new time>


Can I change the default shell in the web terminal?

Yes - for example, wtoctl set shell zsh.


Can you persist data created in the web terminal?

Yes - wtoctl set storage (this will create a PVC that will be mounted to the web terminal pod).


How can I delete the PVC used in the web terminal?

wtoctl remove storage


Can you use custom images for the web terminal?

Yes - this is set with wtoctl set image.


Where can I find more information about installing and using Web Terminal Operator?

https://docs.openshift.com/container-platform/4.16/web_console/web_terminal/installing-web-terminal.html

Comments