Home > Module 1 > Validate EKS Cluster
In this section, you will validate the newly created Amazon EKS cluster to ensure it's properly configured and ready for HPC workloads.
To validate that the cluster was provisioned successfully and is ready for use, you will list the Kubernetes nodes by executing the following command:
kubectl get nodes -o wideYou should see a node listed similar to the one shown below:
NAME STATUS ROLES AGE VERSION
ip-192-168-86-187.ec2.internal Ready <none> 4m54s v1.21.14-eks-ba74326
⚠️ Warning: If you encounter connection issues, follow the troubleshooting steps below.
-
If the cluster creation fails with an ExpiredToken error (
ExpiredToken: The security token included in the request is expired), ensure you have properly configured your AWS credentials in the VS Code terminal environment. -
If your kubectl client is unable to connect to the cluster, you may try to update the connection information by executing the command below, then try validating the cluster again.
Use the command below, only if you were unable to connect to the cluster:
aws eks update-kubeconfig --name ${EKS_CLUSTER_NAME} --region ${AWS_REGION}Navigation:
- Previous: Create Amazon EKS Cluster
- Next: Create Persistent Volume
- Up: Module 1