rad environment create CLI reference
Details on the rad environment create Radius CLI command
❗️ Preview Release: This documentation covers a preview of Radius which uses different Resource Types from the current release. Enable it by passing the --preview to the Radius CLI or settingRADIUS_PREVIEW=true.
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 (--preview)
rad env create myenv --preview --recipe-packs pack1,pack2
## Create environment with recipe packs from a different resource group (--preview)
rad env create myenv --preview --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
--preview Use the Radius.Core preview implementation for environment create (can also be set via RADIUS_PREVIEW=true)
--recipe-pack-group string Specify the resource group containing the recipe packs named in --recipe-packs, if different from the environment's resource group (--preview).
--recipe-packs strings Specify recipe packs to assign to the environment (--preview). 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.