Skip to content

Commit

Permalink
Merge pull request #44942 from tamilselvan1102/k8s-doc-web-20240130
Browse files Browse the repository at this point in the history
Information about default StorageClasses
  • Loading branch information
k8s-ci-robot authored Feb 14, 2024
2 parents d7fc8eb + 5aca46b commit 6479f01
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions content/en/docs/concepts/storage/dynamic-provisioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,10 @@ When a default `StorageClass` exists in a cluster and a user creates a
`DefaultStorageClass` admission controller automatically adds the
`storageClassName` field pointing to the default storage class.

Note that there can be at most one *default* storage class on a cluster, or
a `PersistentVolumeClaim` without `storageClassName` explicitly specified cannot
be created.
Note that if you set the `storageclass.kubernetes.io/is-default-class`
annotation to true on more than one StorageClass in your cluster, and you then
create a `PersistentVolumeClaim` with no `storageClassName` set, Kubernetes
uses the most recently created default StorageClass.

## Topology Awareness

Expand Down

0 comments on commit 6479f01

Please sign in to comment.