Stages
Scope
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. Wayfinder ships with two default stages namely, Non-Production and Production. Administrators can optionally create additional stages.
Stages are selectable by administrators when they create clusters.
Using stages
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.)
Create a stage
CLI: wf create stage NAME
YAML: Create a resource file and apply it using the CLI command wf apply -f FILENAME
.
To create a stage using Wayfinder's web interface:
Click Settings, and then navigate to, Isolation and Boundaries > Stages
Click Add stage, verify that you want to add a new stage and then enter the following details:
- ID - This is used in CLI commands, and will be used in naming resources that are based on this stage, such as cloud accounts. It cannot be changed once created.
- Display name - A friendly name for this stage. This name is displayed when clusters are created.
- Description - A description of this stage.
Click Save.
