Examples#

To run the examples, you must follow steps in Getting Started and setup providers profiles and SkyCluster before creating resources and services. This involves setting up credentials and creating a profile to define the desired regions and zones. Once a profile is created, the provider profile will be onboarded into SkyCluster for service configuration and management.

For major cloud providers (AWS, Azure, GCP), SkyCluster automatically creates additional resources, including available images and instance types. For detailed instructions, see: Providers Profiles.

In addition, ensure that the XSetup object is configured and ready in your environment. If you have not yet completed this step, refer to SkyCluster Configuration for setup instructions.

Note

Make sure both SYNCED and READY are True before proceeding with the examples:

kubectl get xsetups.skycluster.io
# NAME        SYNCED   READY   COMPOSITION             AGE
# mycluster   True     True    xsetups.skycluster.io   2d

Make sure you have at least one ProviderProfile created and Ready:

kubectl get providerprofiles
# NAME                  REGION      READY
# aws-us-east-1         us-east-1   True

List of examples:#

Provider Setup#