Returns descriptive information about 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 Create a kubeconfig for Amazon EKS.
The API server endpoint and certificate authority data aren't available
until the cluster reaches the ACTIVE
state.
eks_describe_cluster(name)
A list with the following syntax:
list(
cluster = list(
name = "string",
arn = "string",
createdAt = as.POSIXct(
"2015-01-01"
),
version = "string",
endpoint = "string",
roleArn = "string",
resourcesVpcConfig = list(
subnetIds = list(
"string"
),
securityGroupIds = list(
"string"
),
clusterSecurityGroupId = "string",
vpcId = "string",
endpointPublicAccess = TRUE|FALSE,
endpointPrivateAccess = TRUE|FALSE,
publicAccessCidrs = list(
"string"
)
),
kubernetesNetworkConfig = list(
serviceIpv4Cidr = "string"
),
logging = list(
clusterLogging = list(
list(
types = list(
"api"|"audit"|"authenticator"|"controllerManager"|"scheduler"
),
enabled = TRUE|FALSE
)
)
),
identity = list(
oidc = list(
issuer = "string"
)
),
status = "CREATING"|"ACTIVE"|"DELETING"|"FAILED"|"UPDATING",
certificateAuthority = list(
data = "string"
),
clientRequestToken = "string",
platformVersion = "string",
tags = list(
"string"
),
encryptionConfig = list(
list(
resources = list(
"string"
),
provider = list(
keyArn = "string"
)
)
)
)
)
[required] The name of the cluster to describe.
svc$describe_cluster(
name = "string"
)
if (FALSE) {
# This example command provides a description of the specified cluster in
# your default region.
svc$describe_cluster(
name = "devel"
)
}
Run the code above in your browser using DataLab