Saltar al contenido principal

Cluster

On SleakOps, to deploy and run your applications effectively, Kubernetes clusters are essential.

A cluster is a group of interconnected computers or instances that work together as a single unit to perform specific tasks or run applications.

In the context of AWS Elastic Kubernetes Service (EKS), a cluster consists of one or more EC2 instances (Nodes) that form the foundation for running containerized applications using Kubernetes orchestration.

For more information on Kubernetes clusters, see the Kubernetes documentation.

What are the benefits of having a cluster?

Clusters allow you to deploy multiple instances of the same application effortlessly, ensuring that if one instance fails, others can instantly take over. Additionally, clusters offer auto-scaling capabilities, automatically adjusting the number of worker nodes as traffic fluctuates, which ensures high availability and optimal performance.

They also provide an excellent way to isolate your production environment from your staging environment.

How SleakOps manage clusters?

SleakOps offers you the flexibility and control needed to create an EKS cluster that aligns precisely with your requirements.

To define how to create your infra, you can see: Designing your Infra: Single Schema Vs. Multi Schema

What happens when a Cluster is created on SleakOps?

SleakOps creates a group of Node Pools that will allow you to run your applications using Kubernetes orchestration based on your needs. See Node Pools.

What is Karpenter?

In the process of creating your EKS cluster, node provisioning is seamlessly managed by advanced Karpenter technology. Karpenter automatically provisions nodes with just the required resources and scales the cluster based on application demands, removing concerns about deprovisioning. As your workload changes, Karpenter adjusts nodes and resources dynamically, optimizing performance and cost. See Karpenter Web

How does SleakOps handle cluster updates and upgrades?

  1. We notify users about new version coming in approximatively 1 month in advance.
  2. Upgrade clusters for a group of selected customers.
  3. Upgrade all non-production flagged clusters.
  4. Upgrade all clusters.

How do I control cluster's expenses?

SleakOps allows you to see all your clusters expenses in one place, classified by account, resources, dates.

Access Clusters, select one and click the button: $

How do I monitor my cluster?

You can monitor your cluster's activity by accessing Clusters, and clicking into the button:

cluster-monitoring

Lets create your first Cluster on SleakOps

aviso

Creating a cluster incurs costs on your AWS account, as the EKS service includes a fixed fee plus variable costs based on resource consumption.

1. Select the account under the cluster’ll be created.

For more information regarding accounts, see Accounts.

On the left pane, you will see a selector with the account names, select the one you’ll use based on how you decide to manage your clusters and environments.

We suggest to move forward with a Multiple Schema configuration, that aligns with the best practices. To follow this schema select the development account to create the cluster for your staging environments, and the production account for the production cluster.

provider-account-select

On the left pane, you will see a selector with the account names, select the one you’ll use based on how you decide to manage your clusters and environments.

We suggest to move forward with a Multiple Schema configuration, that aligns with the best practices. To follow this schema select the development account to create the cluster for your staging environments, and the production account for the production cluster.

Check @Designing your Infra: Single Schema Vs. Multi Schema for more information.

2. Navigate to create Cluster section

Into the Left Pane, access Clusters option and then, at the top right corner, click on the Create button.

cluster-dashboard

3. Set up your Cluster

With your Account selected, you will access the following form:

cluster-create

Here the parameters that SleakOps allows you to customize during the creation:

SettingDescription
NameIdentify your cluster
DescriptionOptional space to describe what is included into this cluster.
Architecture TypeSelect the architecture type to be used during the creation for your instances: (64-Bit) ARM or (64-Bit) X86, based on your performance and compatibility needs. Then you'll be able of creating new instances using a different architecture.
ProductionSuggested when the Production environment is into this Cluster. It enables the "High-Availability" (HA) feature to ensure constant and reliable availability of critical systems. With HA, the EKS cluster is distributed across multiple Availability Zones (AZs) for redundancy and fault tolerance, ensuring uninterrupted operations even if one AZ has an issue.
Max MemoryThis sets the maximum memory the cluster can use as services scale. The autoscaler provisions instances based on demand, but this doesn't mean the cluster always uses the maximum memory; it just defines the upper limit for the autoscaler.
Max CPUThis sets the maximum CPU the cluster can use as services scale. The autoscaler provisions instances based on demand, but this doesn't mean the cluster always uses the maximum CPU; it just defines the upper limit for the autoscaler.

Once you've completed the form, click on Submit in order to trigger the cluster creation into the selected account on AWS.

This process will create a Cluster with five node pools by default. See Node Pools.