Skip to content

[Documentation]: Persistent Volume Claim template is missing fields #298

@chbricout

Description

@chbricout

What documentation issue are you reporting

Incomplete Documentation

Issue

When using the recommended template for persistent volume claims in the wiki:

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
 name: test-ceph-pvc
spec:
 accessModes:
  - ReadWriteMany
 resources:
  requests:
   storage: 2Gi
 storageClassName: csi-cephfs-sc

I get an error ValidatingAdmissionPolicy 'label-user-validating-admission-policy' with binding 'label-validating-admission-policy-binding' denied request: The metadata label 'eidf/user' is missing or has an empty value set.

I fixed it by introducing the missing label field and all was fixed. I think the template should be updated to avoid friction. I found it on the Running a Pytorch Pod page and Persistent Volumes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions