#Choosing apt TridentOrchestrator CRD example based on existing torc resource

1 messages · Page 1 of 1 (latest)

kindred fiber
#

I have taken up the herculean task of uninstalling the existing unsupported, yet customized version( LUKS support ) of Netapp Trident installed on openshift cluster. Then install the current 23.07.1 version.

Step 2: Create the TridentOrchestrator CRD

Create the TridentOrchestrator Custom Resource Definition (CRD). You will create a TridentOrchestrator Custom Resources later. Use the appropriate CRD YAML version in deploy/crds to create the TridentOrchestrator CRD.

kubectl create -f deploy/crds/trident.netapp.io_tridentorchestrators_crd_post1.16.yaml

https://github.com/NetApp/trident/tree/stable/v23.07/deploy/crds lists trident.netapp.io_tridentorchestrators_crd.yaml and the trident.netapp.io_tridentorchestrators_crd_post1.16.yamltrident.netapp.io_tridentorchestrators_crd_post1.16.yaml . Difference between these CRDs examples is unavailable on github and netapp docs.

I have attached existing TridentOrchestrator resource installed in my cluster. Please can this community help me in choosing the correct file from for the https://github.com/NetApp/trident/tree/stable/v23.07/deploy/crds l ?

Thank you in advance

GitHub

Storage orchestrator for containers. Contribute to NetApp/trident development by creating an account on GitHub.

valid schooner
#

I'm not sure I understand your question. If you want to install Trident on a k8s version of 1.16 or later, use the "post1.16" CRD. If your k8s is older, use the regular CRD.
Here is the official documentation on how to deploy Trident using the CRDs: https://docs.netapp.com/us-en/trident/trident-get-started/kubernetes-deploy-operator.html#manually-deploy-the-trident-operator-and-install-trident

kindred torrent
#

Either one will work. I expect when 23.10 comes out, that the post_1.16 file will go away and the documentation will no longer reference it. If I'm incorrect in my expection then I'll put in a task to dev to make it happen in the following version. We haven't supported 1.16 in a long time, we shouldn't reference it anymore.
In 23.07 and 23.07.1 the files are both the same, which is why either one can be used.

kindred fiber
#

Thank you @kindred torrent for pointing out the zero difference between the trident.netapp.io_tridentorchestrators_crd_post1.16.yaml and the trident.netapp.io_tridentorchestrators_crd.yaml

#

@valid schooner : Thank you for pointing to the right file. At the time of filing the question, I confused myself by assuming the files mentioned in the https://github.com/NetApp/trident/tree/stable/v23.07/deploy/crds are one and the same. Thanks to you , I realized the yaml files specify different Kubernetes kind viz. * CustomResourceDefinition* and TridentOrchestrator

GitHub

Storage orchestrator for containers. Contribute to NetApp/trident development by creating an account on GitHub.

valid schooner
#

yes, it can be a bit confusing when you first start out, but if you just follow the documentation to the letter you'll be fine. They tell you exactly what to do and in which order