Skip to main content

Install Trident using OpenShift OperatorHub

Contributors netapp-aruldeepa

If you use Red Hat OpenShift, you can install NetApp Trident using the Red Hat certified operator. Use this procedure to install Trident from the Red Hat OpenShift Container Platform.

Before you begin

Before you begin the installation, prepare your environment for Trident installation.

Find and install the Trident operator

Steps
  1. Navigate to OpenShift OperatorHub and search for NetApp Trident.

    Trident Operator
  2. Click NetApp Trident to open the installation settings.

  3. Select the required options and click Install to open the Operator configuration.

    Install
    Note Make sure that you select the most recent Operator version.
  4. Retain all the parameters as they are and click Install.

    Install

    Once the installation is complete, the Operator is visible in the list of installed operators and it is ready to use.

  5. Click View Operator to view the details of the Operator.

    Installed
  6. Under Trident Orchestrator, click Create instance.

    Installed
  7. Click YAML view and paste the following in the form:

    apiVersion: trident.netapp.io/v1
    kind: TridentOrchestrator
    metadata:
      name: trident
      namespace: openshift-operators
    spec:
      IPv6: false
      debug: false
      nodePrep:
      - iscsi
      imageRegistry: ''
      k8sTimeout: 30
      namespace: trident
      silenceAutosupport: false
    • Red Hat Enterprise Linux CoreOS (RHCOS) does not have iSCSI enabled and configured.

    • You can add the nodePrep parameter to configure and enable both iSCSI and Multipath services on all OpenShift worker nodes.

    • Beginning with OpenShift 4.19, the minimum Trident version supported for this feature is 25.06.1.

  8. Click Create; the Trident Orchestrator will be fully installed.

    Installed

Uninstall Trident operator

Steps
  1. Select the Trident operator from the list of installed operator.

  2. Select if you want to delete all the operand instance from the operator.

    Warning If you do not select the Delete all operand instances from this operator checkbox, Trident will not be uninstalled.
  3. Click Uninstall.