Clusters
Workspace Owners and Members can create clusters in the workspaces that they are the owner of.
Possible reasons for creating clusters that fall outside of Application Environments:
- Have manifests that self-serve clusters must use and that are not part of any application
- Have a specific cluster that all Applications in a specific workspace should use via Environments
If you are a Wayfinder administrator then you can administer clusters across all workspaces.
View Clusters
Use the wf get clusters
command to view all clusters in your default workspace.
#The default workspace is sand2 so need to specify it in the command
wf get clusters
NAME (UNIQUE) PROVIDER PLAN STATUS AGE TENANCY OWNER WORKSPACE
aks-zc4an AKS aks-playground Success 5h6m Dedicated / single-tenancy sand2
Append the -w WORKSPACE-NAME
flag to the command to view clusters in a different workspace for which you are a member of.
#The default workspace is sand2, so you need to use the -w flag to see the clusters in a different workspace
wf get clusters -w sand3
NAME (UNIQUE) PROVIDER PLAN STATUS AGE TENANCY OWNER WORKSPACE
aks-gotww AKS aks-standard Success 2d18h Dedicated / single-tenancy sand3
Create Clusters
When building a cluster with the CLI you must specify a cloud access configuration to use and that are associated with your workspace. You must also provide a cluster plan. Contact your Wayfinder administrator if you do not have any allocated cloud access configurations or cluster plans associated with your workspace.
For more information on clusters and how to create them in Wayfinder, see the administrator's guide on Clusters.
Use wf create cluster CLUSTER-NAME -w WORKSPACE-NAME -p PLAN-NAME -a CLOUD-ACCESS-CONFIGURATION-NAME -s STAGE-NAME
to create a cluster.
wf create cluster mycluster -w sand2 -p aks-playground -a joebloggs-sand2 -s nonprod
◉ Waiting for resource "compute.appvia.io/v2beta1/cluster/mycluster" to provision (background with ctrl-c)
✔ Successfully provisioned the resource: "mycluster"
You can access the cluster using: $ wf access cluster -w sand2
Using Wayfinder's web interface:
- Select Workspaces > Your-Workspace-Name, then navigate to Clusters
- Click the Create Cluster button
- Fill in the details as described in the administrator's guide on creating clusters
- You will see your new cluster listed in the Clusters table
- Workspace members will be able to select your cluster from the Environments section.