From the course: Kubernetes: Your First Project

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Logging into your EKS cluster

Logging into your EKS cluster - Kubernetes Tutorial

From the course: Kubernetes: Your First Project

Logging into your EKS cluster

- [Instructor] All right. Now that eksctl finished creating our cluster, let's clear the screen and run kubectl get nodes to confirm that it works and that we're logged into it. As you can see, we get nodes back and based on the EKS identifiers and their host names, it's fair to assume that these nodes are in EKS. However, you might be coming back to this video after a really long break and get a connection refuse message like this. If you see this, don't stress. There are two ways that we can get back in. The first way is to use aws sts assume-role to assume the role that you created at the beginning of this course. Once you'll do that, you'll update your AWS environment variables like AWS_ACCESS_KEY_ID from the JSON object that comes back. Check out the Configuring AWS Access video for a refresher on how to do that. After you do that, you should be able to log in after you do that. However, if for some reason you can't, you can try using this command to get you back in. You can try…

Contents