This message was deleted.
# general
This message was deleted.
From Rancher you can do SSH the containers. Click on the Pod and will show you the list of containers within, then you can do SSH the container
But is there any other way to do that? I would like to implement some automation and was wondering if by using the API that would be possible
I believe there’s not. I know you can download the ssh key’s nodes from Rancher in the Nodes option and ssh them but I couldn’t ever configure the Kubernetes context for kubectl and handle the cluster. Only through Rancher.
In your scripts you can invoke
kubectl exec
into any pod