Getting started with Maestro Clusters
A Maestro cluster is a special type of Cloud 66 Maestro deployment that includes Kubernetes infrastructure components and no application specific components. You can use a cluster to deploy multiple CSv2 stacks onto the same set of servers.
What you’ll need
Before you start, please check you have the following:
A Cloud 66 Account — If you don't already have one, sign up for a Cloud 66 account. There is a free community plan and you'll get full unlimited access to all products free for 14 days.
Optional: Container Images to deploy — After you've created your cluster we will walk you through deploying these to your cluster through a new Maestro CSv2 deployment. These can be images you've built with Skycap or your own pre-built images that are hosted in an image repository
A Cloud Account or Your Own Servers — See below.
An account with your cloud provider of choice. Cloud 66 supports AWS, Google Cloud, Azure, Linode, DigitalOcean, Packet, Rackspace and Cloud A.
Registered servers are a great way for operations teams to manage and allocate physical server resources for consumption by dev teams. Registered servers are essentially a pool of your own servers on a private or public cloud that can be used on any stack and configuration. For more information on how to add your own registered servers, we recommend this tutorial.
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, you need to click new cluster
Now you're going to be creating your first Maestro cluster. The first step involves giving your cluster a name. Lets call our cluster awesome-cluster
We're also going to have to select our deployment target now. We can choose from our pre-added cloud providers or registered servers (or click add cloud to add a new cloud provider now). In our example we're choosing to deploy to Digital Ocean
Based on our cloud/registered server selection above, we can now choose the specific information for our new cluster. In this example we'll choose the Amsterdam 3 Region, small servers, and a count of 3. This means that our cluster that we create will be comprised of three servers
Note: the first server in your cluster will always be your kubenetes master node. You can decide at a later date if you would like this server to share application workloads or only run kubernetes management tasks
Once you're happy with your choices; hit the Create Cluster button to start building your new Maestro cluster!
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
When your deployment is complete you'll have your first Maestro cluster up and running!
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"
We can also easily add additional server nodes to this cluster or remove existing server nodes from this cluster. Note that the master server can not currently be removed.
Deploying applications to the cluster
If you now create a new Maestro application (Maestro quickstarts guide) at the point where you can select your Cloud provider, you will now see additional items at the bottom of the list containing your available clusters. Select your cluster, and deploy your application!