
上QQ阅读APP看书,第一时间看更新
Provisioning an EKS cluster using the Amazon EKS Management Console
In the Provisioning a managed Kubernetes cluster on Amazon EKS recipe, we used eksctl to deploy a cluster. As an alternative, you can also use the AWS Management Console web user interface to deploy an EKS cluster.
Perform the following steps to get your cluster up and running on Amazon EKS:
- Open your browser and go to the Amazon EKS console at https://console.aws.amazon.com/eks/home#/clusters.
- Enter a cluster name and click on the Next Step button.
- On the Create Cluster page, select Kubernetes Version, Role name, at least two or more availability zones from the subnets list, and Security groups.
- Click on Create.
- Cluster creation with EKS takes around 20 minutes. Refresh the page in 15-20 minutes and check its status.
- Use the following command to update your kubectl configuration:
$ aws eks --region us-east-1 update-kubeconfig \
--name K8s-DevOps-Cookbook
- Now, use kubectl to manage your cluster:
$ kubectl get nodes
Now that your cluster has been configured, you can configure kubectl to manage it.