SSH
Use case
You can use SSH to gain access into containers of applications, databases or services.
You would use this shell to run commands for troubleshooting or to run on-demand processes which generate data / rebuild cache etc.
Overview
The bns ssh
command is the one needed to create this shell.
It’s using kubectl exec {SHELL}
behind the scenes, so it is not altering Kubernetes resources in any way.
Use a custom shell
By default, the /bin/sh
shell is used, but this can be overridden by passing in the --shell
argument.
bns ssh --component Qb02Ryw034 --shell /bin/bash
Updated 10 months ago