Trident is slow in PVC creation when multiple PVCs are requested
Applies to
- Trident for Kubernetes/Openshift up to 23.01
- ONTAP 9.7 to 9.7P13, ONTAP 9.8 to 9.8P11
- Openshift 4.8.5
- Kubernetes 1.21
Issue
When creating a number of ONTAP-driver PVCs for a new pod deployment, Trident has to create these on the ONTAP storage cluster, which takes time.
Depending on the number of PVCs requested at once, this runs into a timeout for the pod/application startup, failing the deployment, or leave a pod stuck in ContainerCreating for a while.