Page cover image

Validate Cluster Connectivity

Before validating the EKS Cluster Connectivity, make sure the kubeconfig file is configured in the local machine. Follow these steps to configure kubeconfig file.

Check the EKS Cluster connectivity by executing the command below

kubectl cluster-info
Kubernetes control plane is running at https://localhost:9444
CoreDNS is running at https://localhost:9444/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

Troubleshoot Cluster Connectivity

  1. If the cluster-info command fails, to debug and diagnose cluster problems, use 'kubectl cluster-info dump'.

  2. If the cluster-info command fails with the below error make sure the INBOUND access to port 443 from the Bastion Host Security Group is open in the Additional Security Group of the EKS cluster.

    W1213 13:04:18.835859   17344 transport.go:243] Unable to cancel request for *exec.roundTripper
    I1213 13:04:18.835992   17344 versioner.go:56] Remote kubernetes server unreachable

Edit the Additional Security Group in the EKS Network Configuration.

Add the INBOUND Access to the Bastion Host Security Group

Last updated