Created on 04-07-202101:29 AM - edited 04-07-202101:30 AM
The kubectl tool provides direct administrative access to the Kubernetes cluster underlying a CDE service, which is useful for troubleshooting, among other things. This video will demonstrate how to set up kubectl access.
To enable kubectl, we will need a couple of prerequisites. We will need the kubeconfig file from the CDE service. We will need to get and authorize the IAM user, and then we will need to make sure that everything is set up correctly, both for kubectl and some other tools like k9s.
There are a couple of prerequisites for this operation, and we are not going to cover their installation in this video. You will need to follow the process relevant to your platform of choice to get the AWS CLI installed and configured with an IAM user. You will also need to get kubectl installed.
Download the kubeconfig file from the CDE service
Retrieve the ARN for the chosen IAM user
Grant administrative access for the IAM user
Verify kubectl access is successfully authorized
(Optional) Use the kubeconfig file with other tools, such as k9s