Application sync stuck when using PVC with WaitForFirstConsumer storage binding mode #12840
Open
3 tasks done
Labels
bug
Something isn't working
Checklist:
argocd version
.Describe the bug
When deploying an app that contains a PVC to a storage class with
volumeBindingMode
set toWaitForFirstConsumer
, the application sync is stuck due to a deadlock: the pod won't be created by Argo until the PVC is ready, and the PVC waits for a pod to use the claim before being ready.See https://kubernetes.io/docs/concepts/storage/storage-classes/#volume-binding-mode
To Reproduce
StorageClass
Expected behavior
ArgoCD should handle this deadlock by continuing with pod creation when the PVC is in state
WaitForFirstConsumer
Screenshots
n/a
Version
Logs
The text was updated successfully, but these errors were encountered: