Exec
Execute a command in a Resource or start a Tools resource and execute.
Usage
Depending on the resource type, target
can consist of multiple elements.
jumppad exec <target> -- <command>
Examples
Execute a command in the first container of a Kubernetes pod
jumppad exec k8s_cluster.k3s mypod -- ls -las
Execute a command in the named container of a Kubernetes pod
jumppad exec k8s_cluster.k3s mypod web -- ls -las
Create a bash shell in a container
jumppad exec container.consul -- bash
Create a default shell in a container
jumppad exec container.consul