describeCluster

Describes an Amazon EKS cluster.

The API server endpoint and certificate authority data returned by this operation are required for kubelet and kubectl to communicate with your Kubernetes API server. For more information, see kubeconfig file for an Amazon EKS cluster.

The API server endpoint and certificate authority data aren't available until the cluster reaches the ACTIVE state.

Samples


fun main() { 
   //sampleStart 
   // This example command provides a description of the specified cluster in your default region.
val resp = eksClient.describeCluster {
    name = "devel"
} 
   //sampleEnd
}