# 5. Deploy the Trident Operator Please refer to the [Trident Official Document](https://netapp-trident.readthedocs.io/en/latest/kubernetes/fsx.html) for the instruction. There are three ways to deploy the Trident (`HELM`, `Trident Operator` and [tridentctl](https://netapp-trident.readthedocs.io/en/stable-v18.07/reference/tridentctl.html)). In this blog post, we will use `HELM` method to deploy the 21.07 version Perform the following steps listed to deploy Trident Operator by using Helm. You will need the following: * Kubernetes 1.17 and later * Helm version 3 ## (1) Create Namespace called “Trident”* ```bash $ oc create ns trident namespace/trident created ``` ## (2) Download the installer bundle* Download the Trident 21.07 (or latest version) installer bundle from the [Trident Github](https://github.com/netapp/trident/releases) page. The installer bundle includes the Helm chart in the /helm directory. ### Download the file ```bash $ curl -L -o trident-installer-21.10.1.tar.gz https://github.com/NetApp/trident/releases/download/v21.10.1/trident-installer-21.10.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 54.0M 100 54.0M 0 0 4750k 0 0:00:11 0:00:11 --:--:-- 4413k # Extract the tar file downloaded $ tar -xvf ./trident-installer-21.10.1.tar.gz ``` ## (3) Use the helm install command and specify a name for your deployment ### Go to the trident folder downloaded from last step ```bash $ cd trident-installer/helm $ ls -ltr total 16 -rw-r--r-- 1 xxxx staff 5313 24 Dec 14:38 trident-operator-21.10.1.tgz # Install via the helm command to the trident namespace $ helm install trident -n trident trident-operator-21.10.1.tgz NAME: trident LAST DEPLOYED: Thu Feb 17 14:59:12 2022 NAMESPACE: trident STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: Thank you for installing trident-operator, which will deploy and manage NetApp's Trident CSI storage provisioner for Kubernetes. Your release is named 'trident' and is installed into the 'trident' namespace. Please note that there must be only one instance of Trident (and trident-operator) in a Kubernetes cluster. To configure Trident to manage storage resources, you will need a copy of tridentctl, which is available in pre-packaged Trident releases. You may find all Trident releases and source code online at https://github.com/NetApp/trident. ``` ## (4) Check the status of the trident operator ```bash $ oc get pods -n trident NAME READY STATUS RESTARTS AGE trident-csi-7bf5df78bd-qrf2m 6/6 Running 0 32s trident-csi-htj76 2/2 Running 0 32s trident-csi-k26sk 2/2 Running 0 32s trident-csi-s7wqw 2/2 Running 0 32s trident-operator-649cb957df-xvmvg 1/1 Running 0 49s $ helm status trident -n trident NAME: trident LAST DEPLOYED: Thu Feb 17 14:59:12 2022 NAMESPACE: trident STATUS: deployed REVISION: 1 TEST SUITE: None ... ```