This repo was created to help you better understand the benefits you can get from Trident, for both the end-user & the admin teams. You will find several exercises, described in a step-by-step fashion, that you can use on the NetApp Lab-on-Demand or on your own environment.
The section has been tested with the Lab-on-Demand Using Trident with Kubernetes Advanced v6.0 which comes with Trident π± 24.02.0 already installed on Kubernetes 1.29.4.
Most labs will be done by connecting with Putty to the RHEL3 host (root/Netapp1!).
I assume each scenario will be run in its own directory. Also, you will find a README file for each scenario.
Last, there are plenty of commands to write or copy/paste.
Try using some of the shortcuts you will find in the the Addenda0 !
π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯
- You may have seen that starting in November 2020, there are now limits on how many pull requests can be done on the Docker Hub.
- As this lab was created with an _anonymous_ user, please read carefully the Addenda08 before starting this lab.
π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯
0. Best Practices & Advices
1. Upgrade/Install Trident (24.06.1)
2. NAS backends for Trident & Storage Classes for Kubernetes
3. Prometheus, Grafana & Harvest integration
4. Create your first NAS Apps
5. Block backends for Trident & Storage Classes for Kubernetes
6. Create your first SAN Apps
7. Importing data with Trident
8. Consumption control
9. Expanding Persistent Volumes
10. Using Virtual Storage Pools
11. StatefulSets & Storage consumption
12. Dynamic export policy management
13. Snapshots here & snapshots there, snapshots everywhere
14. About security
15. Caring about location or about CSI Topology
16. Performance control
17. How to configure HAProxy between Trident & ONTAP
18. Kubernetes, Trident & GitOps
19. Let's talk about protocols & access modes !
20. About Generic Ephemeral Volumes
21. Persistent Volumes and Multi Tenancy
22. Cross Namespace Volume Access
23. Naming conventions
24. Protecting volumes (snapmirror integration)
0. Useful commands
1. Add a node to the cluster
2. Specify a default storage class
3. Allow user PODs on the master node
4. Install Ansible on RHEL3 (Kubernetes Control Plane)
5. Install the Kubernetes dashboard
6. Install cool tools
7. How to install & prepare HAProxy
8. How to run this lab with the Docker hub rate limiting
9. How to create a S3 Bucket on ONTAP (svm_S3)
10. Set up a simple Source Code Repository
11. Install ArgoCD in this lab
12. Create a second Kubernetes cluster on the hosts RHEL4 & RHEL5
13. Create a new SVM (svm_secondary)