Hi!
There’s an issue with the solution: you’re missing volumeName: mariadb-pv in the PVC configuration. Without specifying volumeName, the PVC may not bind to the correct existing PV.
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mariadb
namespace: mariadb
spec:
volumeName: mariadb-pv
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 250Mi
Hi!
There’s an issue with the solution: you’re missing volumeName: mariadb-pv in the PVC configuration. Without specifying volumeName, the PVC may not bind to the correct existing PV.