Skip to content

/AWS1/CL_EKS=>REGISTERCLUSTER()

About RegisterCluster

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 DeregisterCluster.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/EKSCLUSTERNAME /AWS1/EKSCLUSTERNAME

A unique name for this cluster in your Amazon Web Services Region.

IO_CONNECTORCONFIG TYPE REF TO /AWS1/CL_EKSCNCTORCONFIGREQ /AWS1/CL_EKSCNCTORCONFIGREQ

The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.

Optional arguments:

IV_CLIENTREQUESTTOKEN TYPE /AWS1/EKSSTRING /AWS1/EKSSTRING

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

IT_TAGS TYPE /AWS1/CL_EKSTAGMAP_W=>TT_TAGMAP TT_TAGMAP

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EKSREGCLUSTERRESPONSE /AWS1/CL_EKSREGCLUSTERRESPONSE