Examples#

We introduce several examples to demonstrate how to use SkyCluster to create and manage services across multiple cloud providers. The examples cover various scenarios, from single-provider deployments to multi-provider configurations and setup and deployment of microservices automatically while minimizing total cost.

Warning

This is a Work In Progress (WIP). The examples are still being developed and refined.

Prerequisites#

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 /getting-started/skycluster-configs 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 -n skycluster-system
# NAME                  REGION      READY
# aws-us-east-1         us-east-1   True

If any READY status field is not Ready check the /getting-started/troubleshooting page.

List of examples:#

Prepare and setup cloud resources and services:

Running and deploying microservices:

  • microservice-deploy