mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-25 15:33:33 +00:00
When a PVC explicitly requests specific PV and the PV does not match, we should tell the user what exactly does not match. From: Volume's size is smaller than requested or volume's class does not match with claim To: Cannot bind to requested volume "<volume name>": %s where %s is one of: - requested PV is too small - storageClasseNames do not match - incompatible volumeMode - error checking volumeMode: api defaulting for volumeMode failed (this should not ever happen)