Command line/terminal access to cluster within GitLab
Problem to solve
Executing kubectl commands for managed clusters requires users to (generally) download a provider-specific CLI as well as install kubectl locally.
Further details
Proposal
Provide command-line access to the cluster within GitLab by showing a "terminal" button (similar to what we do for pod web terminal)
Deploy a dedicated pod to access command-line and kill pod once session ends.
Permissions and Security
Currently only owners and maintainers have access to "Operations>>Kubernetes" which already provides access to master credentials for clusters. This should eliminate any concerns of being able to access the command-line and issue kubectl commands.
Documentation
What does success look like, and how can we measure that?
Links / references
Edited by Daniel Gruesso
