Getting started with Maestro Clusters

A Maestro Cluster is a “blank” instance of Kubernetes infrastructure - i.e. with no application specific components installed. You can use a Cluster to deploy multiple applications to the same set of servers.

Note

Clusters are only compatible with applications built using Maestro Version 2.

What you’ll need

Before you start, please check you have the following:

An account with your cloud provider of choice. Cloud 66 supports AWS, Google Cloud, Azure, Linode, DigitalOcean, Packet, Rackspace and Cloud A.

Creating a Maestro Cluster

To get started with your cluster — firstly switch to the Clusters dashboard in main navigation bar at the top of the page.

Then, click the green new cluster button.

Creating a Maestro Cluster

Next, give your cluster a name that will make it easy to identify. Then, choose the deployment target for your cluster. You can choose one of your existing cloud providers, or click Add Clouds to add a new cloud provider.

You can also use your own server - although you will need to register it first. In our example we’re choosing to deploy to Digital Ocean.

Choose name and target cloud

Depending on which cloud or registered server you selected above, we can now choose options for our new cluster, such as region and capacity. In this example we’ll choose 3 servers with 2GB of RAM each in the Amsterdam 3 Region.

Choose server specifics

Note

The first server in your cluster will always be your Kubenetes master node. You can decide later if you would like this server to share application workloads or only run Kubernetes management tasks.

Deployment

Once you’re happy with your choices; hit the Create Cluster button to start building your new Maestro cluster!

You can watch the progess of the build on your dashboard, or you can close the window and get on with other work. We will alert you via email when your cluster is up and running.

Deploying your application

During the build and deployment process you can view the log to see what’s happening behind the scenes. You can also drill down to specific servers to see what is going on there during deployment.

Seeing your deployment logs

When your deployment is complete you’ll have your first Maestro cluster up and running!

Fully created Maestro cluster

Configuring the Cluster

As we have a cluster that has multiple servers, we can easily switch our master node from a shared master to a dedicated master. To do this we simply click the shared master dropdown link and select Yes! Switch to Dedicated Master

Switch master to dedicated

We can also easily add additional server nodes to this cluster or remove existing server nodes from this cluster. (Note that the master server cannot be removed without deleting the entire cluster.)

Deploying applications to the cluster

If you now create a new Maestro application (see [Getting Started with Maestro for help with this(/maestro/quickstarts/getting_started.html)) at the point where you can select your Cloud provider, you will now see additional items clusters. Select your cluster, and deploy your application!

Deploy application to cluster

What’s next?