Add a new EKS cluster
After creating a credential to access your Amazon Web Services (AWS) EKS account, you can use Tanzu Platform for Kubernetes to provision resources and create an EKS cluster in your AWS account.
Before you begin
Before you begin, fulfill these prerequisites:
-
Create an AWS account with an EKS credential For more information, see Create an EKS credential.
-
Gain the necessary permissions to create a cluster.
-
Create the cluster group in which you want to place the new cluster.
-
Do one of the following:
Add a new EKS cluster
You can add an EKS cluster by using Tanzu Platform hub.
-
Tanzu Platform hub
-
Perform the following steps in Tanzu Platform hub:
- In Tanzu Platform hub, select the Project in which you want to add a new cluster.
- In the left navigation pane, click to expand Infrastructure, and then click Kubernetes Clusters.
- On the Kubernetes Clusters page, click the Clusters tab.
- Click Add Cluster > Create new EKS cluster.
- Enter a name for the cluster, and specify the cluster group. The cluster name must start and end with a letter or number, contain only lowercase letters, numbers, and hyphens, and be a maximum length of 63 characters.
- (Optional) select the checkbox to add support for Tanzu Application Engine. If you enable support for Tanzu Application Engine, you must also enable the relevant cluster group for Tanzu Application Engine.
- (Optional) add a description and label.
- Click Next.
- Configure the control plane.
- Select the account credential for the account in which you want to create the cluster.
- Select the version of Kubernetes to use for the cluster.
- In the Network section, select the region where your VPC is configured.
- Select your VPC.
- (Optional) click to expand Advanced settings and Integrations to configure more settings.
- Click Next.
-
Configure node pools. A node pool called default-node-pool
is preconfigured for you. To accept the default settings, click Next.
Note
When Application Engine is enabled on a cluster, the cluster requires a minimum of 3 nodes, 4 vCPU, and 16 GB of RAM. For example, t3.xlarge
.
- Enter a name for the node pool.
- (Optional) enter a description of the node pool.
- (Optional) add one or more EKS tags, Kubernetes labels, and a Kubernetes taints.
- (Optional) click to toggle the use of an EC2 launch template, and then select the name and version of the template.
- (Optional) configure the compute, scaling, and update parameters.
- (Optional) click Advanced to specify the capacity type and root disk size.
- To configure additional node pools, click Add another node pool.
- Click Next.
- After finishing configuring your cluster, click Create.