Kubernetes.io/no-provisioner: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 3: Line 3:


=Overview=
=Overview=
{{Note|Persistent
  Normal  FailedBinding  14s (x4 over 54s)  persistentvolume-controller  no persistent volumes available for this claim and no storage class is set


=Example=
=Example=

Revision as of 01:35, 12 December 2019

Internal

Overview

{{Note|Persistent

  Normal  FailedBinding  14s (x4 over 54s)  persistentvolume-controller  no persistent volumes available for this claim and no storage class is set

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