Kubernetes.io/no-provisioner: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Kubernetes Storage Concepts") |
No edit summary |
||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Kubernetes_Storage_Concepts#kubernetes.io.2Fno-provisioner|Kubernetes Storage Concepts]] | * [[Kubernetes_Storage_Concepts#kubernetes.io.2Fno-provisioner|Kubernetes Storage Concepts]] | ||
=Overview= | |||
=Example= | |||
<syntaxhighlight lang='yaml'> | |||
apiVersion: storage.k8s.io/v1 | |||
kind: StorageClass | |||
metadata: | |||
name: local-storage | |||
annotations: | |||
storageclass.kubernetes.io/is-default-class: "true" | |||
reclaimPolicy: Delete | |||
volumeBindingMode: Immediate | |||
provisioner: kubernetes.io/no-provisioner | |||
volumeBindingMode: WaitForFirstConsumer | |||
</syntaxhighlight> |
Revision as of 01:24, 12 December 2019
Internal
Overview
Example
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: local-storage
annotations:
storageclass.kubernetes.io/is-default-class: "true"
reclaimPolicy: Delete
volumeBindingMode: Immediate
provisioner: kubernetes.io/no-provisioner
volumeBindingMode: WaitForFirstConsumer