Type the command below to provision the EKS cluster
rctl apply -f autoscaler-eks-cluster.yaml
If there are no errors, you will be presented with a "Task ID" that you can use to check progress/status. Note that this step requires creation of infrastructure in your AWS account and can take ~20-30 minutes to complete.
{
"taskset_id": "emplg72",
"operations": [
{
"operation": "NodegroupCreation",
"resource_name": "ng-1",
"status": "PROVISION_TASK_STATUS_PENDING"
},
{
"operation": "ClusterCreation",
"resource_name": "autoscaler-cluster",
"status": "PROVISION_TASK_STATUS_PENDING"
}
],
"comments": "The status of the operations can be fetched using taskset_id",
"status": "PROVISION_TASKSET_STATUS_PENDING"
}
Navigate to the "defaultproject" project in your Org
Click on Infrastructure -> Clusters. You should see something like the following
Once provisioning is complete, you should see the cluster in the web console
Click on the kubectl link and type the following command
kubectl get nodes
You should see something like the following
NAME STATUS ROLES AGE VERSION
ip-192-168-24-14.us-west-1.compute.internal Ready <none> 11m v1.21.5-eks-bc4871b
ip-192-168-90-123.us-west-1.compute.internal Ready <none> 11m v1.21.5-eks-bc4871b
Congratulations! At this point, you have successfully configured and provisioned an Amazon EKS cluster with Cluster Autoscaler in your AWS account using the RCTL CLI.