Add default storageclass annotation (#27419)

* Add default storageclass annotation

* Add review suggestions

Co-authored-by: Rey Lejano <52760880+reylejano@users.noreply.github.com>

Co-authored-by: Rey Lejano <52760880+reylejano@users.noreply.github.com>
This commit is contained in:
Ricardo Katz 2021-04-20 22:00:11 -03:00 committed by GitHub
parent baff0490a3
commit 8924074b37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -224,6 +224,14 @@ When a single IngressClass resource has this annotation set to `"true"`, new Ing
{{< note >}} Starting in v1.18, this annotation is deprecated in favor of `spec.ingressClassName`. {{< /note >}}
## storageclass.kubernetes.io/is-default-class
Example: `storageclass.kubernetes.io/is-default-class=true`
Used on: StorageClass
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.
## alpha.kubernetes.io/provided-node-ip
Example: `alpha.kubernetes.io/provided-node-ip: "10.0.0.1"`