Skip to content

Commit 8924074

Browse files
rikatzreylejano
andauthored
Add default storageclass annotation (#27419)
* Add default storageclass annotation * Add review suggestions Co-authored-by: Rey Lejano <[email protected]> Co-authored-by: Rey Lejano <[email protected]>
1 parent baff049 commit 8924074

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

content/en/docs/reference/labels-annotations-taints.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,14 @@ When a single IngressClass resource has this annotation set to `"true"`, new Ing
224224

225225
{{< note >}} Starting in v1.18, this annotation is deprecated in favor of `spec.ingressClassName`. {{< /note >}}
226226

227+
## storageclass.kubernetes.io/is-default-class
228+
229+
Example: `storageclass.kubernetes.io/is-default-class=true`
230+
231+
Used on: StorageClass
232+
233+
When a single StorageClass resource has this annotation set to `"true"`, new Physical Volume Claim resource without a class specified will be assigned this default class.
234+
227235
## alpha.kubernetes.io/provided-node-ip
228236

229237
Example: `alpha.kubernetes.io/provided-node-ip: "10.0.0.1"`

0 commit comments

Comments
 (0)