Skip to main content
Version: 2.8

Discover EKS clusters

Portworx Backup enables you to discover clusters that you added in the AWS cloud account, lists them and allows you to add the discovered clusters to your Portworx Backup clusters page.

Prerequisites

  1. Installation prerequisites should be met

  2. (Optional) Install Stork

  3. For Portworx Backup to discover EKS clusters, enable the following EKS permissions in AWS for IAM role:

    • eks:DescribeCluster
    • eks:ListClusters
  4. For Portworx Backup to discover the EKS clusters, provide the same cloud credentials that were used to create the cluster or federate the cluster by providing access to another user. For more information, refer Enabling IAM user and role access to your cluster.

Discover EKS clusters

To discover your clusters in an AWS account:

  1. In the home page, from the left navigation pane, click Clusters.

  2. In the upper-right corner, click Connect cluster:

  3. In the Add Cluster page, under Select Kubernetes Platform, select AWS and then enter the cluster details:

    note

    If you select Others, then you can add clusters using the kubeconfig output. For more information about adding EKS clusters using kubeconfig, refer to the Add EKS Cluster topic.

  4. In the Cloud Account Information > Cloud Account drop-down list, select the AWS account where your clusters are available.

  5. (Optional) If cloud accounts do not exist, you need to add cloud accounts. Select Add New from the Cloud Account drop-down list, and enter the Account Name, Public Key, Secret Key, and Region:

  6. Select Discover Cluster.

    All your EKS clusters available on the cloud account and region appear in the Add Kubernetes Cluster page.

Add discovered clusters to the clusters page

To add the discovered cluster(s) to your Portworx Backup clusters page:

  1. In the Add Kubernetes Cluster page > Select Discovered Clusters section, select all or the specific cluster(s) from the list.

    note

    In the Add Kubernetes Clusters page, you cannot select the clusters that you already added to Portworx Backup.

  2. Click Add cluster.

    Portworx Backup adds your EKS cluster and to view the added cluster go to left navigation pane and click Clusters icon. The added cluster appears in the Portworx Backup clusters page:

Using the added clusters, you can configure backup locations, create backups, restore data from the backups, and so on.