rad environment create CLI reference
Details on the rad environment create Radius CLI command
rad environment create
Create a new Radius Environment
Synopsis
Create a new Radius Environment Radius Environments are prepared “landing zones” for Radius Applications. Applications deployed to an environment will inherit the container runtime, configuration, and other settings from the environment.
rad environment create [envName] [flags]
Examples
## Create environment
rad env create myenv
## Create environment with Azure cloud provider
rad env create myenv --azure-subscription-id <subscription-id> --azure-resource-group <resource-group>
## Create environment with AWS cloud provider
rad env create myenv --aws-region <region> --aws-account-id <account-id>
## Create environment with a specific Kubernetes namespace
rad env create myenv --kubernetes-namespace mynamespace
## Create environment with recipe packs
rad env create myenv --recipe-packs pack1,pack2
## Create environment with recipe packs from a different resource group
rad env create myenv --recipe-packs pack1 --recipe-pack-group other-group
Options
--aws-account-id string The account ID where AWS resources will be deployed
--aws-region string The region where AWS resources will be deployed
--azure-resource-group string The resource group where Azure resources will be deployed
--azure-subscription-id string The subscription ID where Azure resources will be deployed
-e, --environment string The environment name
-g, --group string The resource group name
-h, --help help for create
--kubernetes-namespace string The namespace where Kubernetes resources will be deployed
--recipe-pack-group string Specify the resource group containing the recipe packs named in --recipe-packs, if different from the environment's resource group.
--recipe-packs strings Specify recipe packs to assign to the environment. Accepts comma-separated values.
-w, --workspace string The workspace name
Options inherited from parent commands
--config string config file (default "$HOME/.rad/config.yaml")
-o, --output string output format (supported formats are json, table) (default "table")
SEE ALSO
- rad environment - Manage Radius Environments
Feedback
Was this page helpful?
Glad to hear it! Please feel free to star our repo and join our Discord server to stay up to date with the project.
Sorry to hear that. If you would like to also contribute a suggestion visit and tell us how we can improve.