release clusters exec
Command reference doc for the Release CLI
Runs the given command with the given cluster's Kubernetes and AWS access credentials configured
Description
Runs the given command with the following environment variables set:
KUBECONFIG
set to a temporary file containg the cluster's Kubernetes configAWS_ACCESS_KEY_ID
andAWS_SECRET_KEY
set to credentials with access to the AWS account
This allows you to execute any locally installed command that respects those variables such as the aws
CLI, kubectl
, k9s
, and many others.
The temporary Kubeconfig file and environment variables will be cleaned up when the command exits.
Examples
Options
--account <string>
Account name or ID (default: $RELEASE_ACCOUNT or "account" in config file)
--app <string>
App name or ID (default: $RELEASE_APP or "app" in config file)
--cluster <string>
Cluster context or ID
--environment <string>
Environment handle or ID
Options inherited from parent commands
--config <string>
config file (default is $HOME/.release.yaml)
--debug
enable debug logging
Related
release clusters - Manage clusters
Last updated