Skip to main content

Configure the Trident EKS add-on on an EKS cluster

Contributors netapp-aruldeepa netapp-mwallis

NetApp Trident streamlines Amazon FSx for NetApp ONTAP storage management in Kubernetes to enable your developers and administrators focus on application deployment. The NetApp Trident EKS add-on includes the latest security patches, bug fixes, and is validated by AWS to work with Amazon EKS. The EKS add-on enables you to consistently ensure that your Amazon EKS clusters are secure and stable and reduce the amount of work that you need to do in order to install, configure, and update add-ons.

Prerequisites

Ensure that you have the following before configuring the Trident add-on for AWS EKS:

  • An Amazon EKS cluster account with permissions to work with add-ons. Refer to Amazon EKS add-ons.

  • AWS permissions to the AWS marketplace:
    "aws-marketplace:ViewSubscriptions",
    "aws-marketplace:Subscribe",
    "aws-marketplace:Unsubscribe

  • AMI type: Amazon Linux 2 (AL2_x86_64) or Amazon Linux 2 Arm(AL2_ARM_64)

  • Node type: AMD or ARM

  • An existing Amazon FSx for NetApp ONTAP file system

Steps

  1. Make sure to create IAM role and AWS secret to enable EKS pods to access AWS resources. For instructions, see Create an IAM role and AWS Secret.

  2. On your EKS Kubernetes cluster, navigate to the Add-ons tab.

    aws eks 01
  3. Go to AWS Marketplace add-ons and choose the storage category.

    aws eks 02
  4. Locate NetApp Trident and select the checkbox for the Trident add-on, and click Next.

  5. Choose the desired version of the add-on.

    aws eks 03
  6. Configure the required add-on settings.

    aws eks 04
  7. If you are using IRSA (IAM roles for service account), refer to the additional configuration steps here.

  8. Select Create.

  9. Verify that the status of the add-on is Active.

    aws eks 05
  10. Run the following command to verify that Trident is properly installed on the cluster:

    kubectl get pods -n trident
  11. Continue the setup and configure the storage backend. For information, see Configure the Storage Backend.

Install/uninstall the Trident EKS add-on using CLI

Install the NetApp Trident EKS add-on using CLI:

The following example command installs the Trident EKS add-on:
eksctl create addon --cluster clusterName --name netapp_trident-operator --version v25.6.0-eksbuild.1 (with a dedicated version)

Uninstall the NetApp Trident EKS add-on using CLI:

The following command uninstalls the Trident EKS add-on:

eksctl delete addon --cluster K8s-arm --name netapp_trident-operator