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.
With the introduction of Trident Protect in November 2024, extra scenarios have been added to see how you can protect stateful applications!
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.
💥 💥 💥 💥 💥 💥 💥 💥 💥 💥 💥 💥 💥 💥 💥 💥
| Scenarios 0–15 | Scenarios 16–30 |
|---|---|
| 0. Best Practices & Advices | 16. Performance control |
| 1. Install Trident (26.10.0) | 17. HAProxy and Trident |
| 2. NAS Configuration for Trident | 18. Kubernetes, Trident & GitOps |
| 3. Prometheus, Grafana & Harvest integration | 19. Let's talk about protocols & access modes! |
| 4. Create your first NAS Apps | 20. About Generic Ephemeral Volumes |
| 5. Block configuration for Trident | 21. Persistent Volumes and Multi Tenancy |
| 6. Create your first SAN Apps | 22. Crossing the borders |
| 7. Importing data with Trident | 23. Naming conventions |
| 8. Consumption control | 24. Migrating volumes (snapmirror integration) |
| 9. Expanding Persistent Volumes | 25. Storage & Policy Management |
| 10. Using Virtual Storage Pools | 26. Working in parallel |
| 11. StatefulSets & Storage consumption | 27. Demystifying Virtual Machines |
| 12. Dynamic export policy management | 28. Automated workload failover |
| 13. Snapshots everywhere | 29. Space Management |
| 14. About security | 30. Vault-backed Trident credentials |
| 15. Dude, where is my PVC? | 31. COSI fan tutte (Tech Preview) |
1. Lab Setup
2. Trident Protect installation
3. S3 Bucket connectivity
4. Monitoring
5. Tests scenario with Busybox (without hooks)
6. Hook me up before you go-go!
7. Be Selective
8. Protecting Applications with GitOps
9. Pacman to the rescue
10. One bucket or two buckets, that is the question
11. Protecting Virtual Machines
12. Ch-ch-ch-changes
13. Consistent snapshot of a database inside a KubeVirt VM
14. Fail over an old snapshot
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)
14. Upgrade Kubernetes
15. Install and configure KubeVirt