Importing cluster into the blueprint enabling limited blueprinting capabilities such as adding certain addons, teams.

Implements

Constructors

Properties

id: string

Methods

  • Requires iam permission to eks.DescribeCluster at build time. Retrieves the cluster information using DescribeCluster api and creates an import cluster provider.

    Parameters

    • clusterName: string

      name of the cluster

    • region: string

      target rego

    • kubectlRole: IRole

      iam Role that provides access to the cluster API (kubectl). The CDK custom resource should be able to assume the role which in some cases may require trust policy for the account root principal.

    Returns Promise<ClusterProvider>

    the cluster provider with the import cluster configuration