Stages are a way of grouping resources and expressing their environment or intent. For example, stages can specify whether a resource is associated to non-production or production. Internally, resources provisioned under these stages are labelled accordingly, and can be used when you apply a configuration such as policy, compliance, user permissions, costs, network peering, and more.
Stages are selectable by developers when they create a cluster.
The following are some operations you can drive by stage:
- The cloud account a cluster will be placed in when created, according to the account naming rules
- Which compliance package is applied to a cluster
- User access policies for a cluster
- The packages/applications that are applied to a cluster (for example, logging/monitoring agents, ingress configurations, etc.)
More functionality driven by stage is coming soon.
Create a stage
To create a stage:
In the UI, click Wayfinder settings, and then navigate to the Stages page.
Click Add stage, and then enter:
- ID - This is used in CLI commands, and will be used in naming resources that are based on this stage, such as cloud accounts.
- Display name - A friendly name for this stage. This name is displayed when developers select a stage when creating a cluster.
- Description - A description of this stage
wf create stage NAME
YAML: Create a resource file and apply it using the CLI command
wf apply -f FILENAME.