Radius Configuration file

Detailed reference documentation on the Radius config.yaml configuration file

Radius workspaces are used to easily switch between environments.

workspaces:
  default: dev
  items:
    dev:
      connection:
        context: DevCluster
        kind: kubernetes
      environment: /planes/radius/local/resourcegroups/dev/providers/applications.core/environments/dev
      scope: /planes/radius/local/resourceGroups/dev
    prod:
      connection:
        context: ProdCluster
        kind: kubernetes
      environment: /planes/radius/local/resourcegroups/prod/providers/applications.core/environments/prod
      scope: /planes/radius/local/resourceGroups/prod

Default location

  • macOS/Linux: ~/.rad/config.yaml
  • Windows: %USERPROFILE%\.rad\config.yaml

Schema

workspaces

Key Description Example
default The name of the default workspace to use with rad CLI commands dev
items A list of workspaces

items

Key Description Example
[workspace-name] The name of the workspace. Used as the key for the list entry. dev
connection The connection details for the target Radius platform
environment The default environment UCP ID to use for the workspace. Can be empty if no environment exists or if no default set /planes/radius/local/resourcegroups/dev/providers/applications.core/environments/dev
scope The default scope UCP ID to use for the workspace /planes/radius/local/resourcegroups/dev

connection

Key Description Example
context The name of the Kubernetes context to use DevCluster
namespace The name of the Kubernetes namespace to use when deploying Radius Applications default