Skip to content

YvosOnTheHub/LabNetApp

Repository files navigation

LabNetApp

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.

πŸ’₯ πŸ’₯ πŸ’₯ πŸ’₯ πŸ’₯ πŸ’₯ πŸ’₯ πŸ’₯ πŸ’₯ πŸ’₯ πŸ’₯ πŸ’₯ πŸ’₯ πŸ’₯ πŸ’₯ πŸ’₯

Trident Scenarios (Dynamic Storage Provisionning)

0. Best Practices & Advices
1. Upgrade/Install Trident (25.02)
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. Crossing the borders
23. Naming conventions
24. Migrating volumes (snapmirror integration)
25. Storage & Policy Management

Trident Protect Scenarios (Application data protection)

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

Addendum

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)