Register Cluster
eks_register_cluster | R Documentation |
Connects a Kubernetes cluster to the Amazon EKS control plane¶
Description¶
Connects a Kubernetes cluster to the Amazon EKS control plane.
Any Kubernetes cluster can be connected to the Amazon EKS control plane to view current information about the cluster and its nodes.
Cluster connection requires two steps. First, send a
RegisterClusterRequest
to add it to the Amazon EKS control plane.
Second, a
Manifest
containing the activationID
and activationCode
must be applied to
the Kubernetes cluster through it's native provider to provide
visibility.
After the manifest is updated and applied, the connected cluster is
visible to the Amazon EKS control plane. If the manifest isn't applied
within three days, the connected cluster will no longer be visible and
must be deregistered using deregister_cluster
.
Usage¶
Arguments¶
name
[required] A unique name for this cluster in your Amazon Web Services Region.
connectorConfig
[required] The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.
clientRequestToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
tags
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
Value¶
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",
serviceIpv6Cidr = "string",
ipFamily = "ipv4"|"ipv6"
),
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"|"PENDING",
certificateAuthority = list(
data = "string"
),
clientRequestToken = "string",
platformVersion = "string",
tags = list(
"string"
),
encryptionConfig = list(
list(
resources = list(
"string"
),
provider = list(
keyArn = "string"
)
)
),
connectorConfig = list(
activationId = "string",
activationCode = "string",
activationExpiry = as.POSIXct(
"2015-01-01"
),
provider = "string",
roleArn = "string"
),
id = "string",
health = list(
issues = list(
list(
code = "AccessDenied"|"ClusterUnreachable"|"ConfigurationConflict"|"InternalFailure"|"ResourceLimitExceeded"|"ResourceNotFound"|"IamRoleNotFound"|"VpcNotFound"|"InsufficientFreeAddresses"|"Ec2ServiceNotSubscribed"|"Ec2SubnetNotFound"|"Ec2SecurityGroupNotFound"|"KmsGrantRevoked"|"KmsKeyNotFound"|"KmsKeyMarkedForDeletion"|"KmsKeyDisabled"|"StsRegionalEndpointDisabled"|"UnsupportedVersion"|"Other",
message = "string",
resourceIds = list(
"string"
)
)
)
),
outpostConfig = list(
outpostArns = list(
"string"
),
controlPlaneInstanceType = "string",
controlPlanePlacement = list(
groupName = "string"
)
),
accessConfig = list(
bootstrapClusterCreatorAdminPermissions = TRUE|FALSE,
authenticationMode = "API"|"API_AND_CONFIG_MAP"|"CONFIG_MAP"
),
upgradePolicy = list(
supportType = "STANDARD"|"EXTENDED"
)
)
)