Kubernetes Storage Class Manifest

From NovaOrdis Knowledge Base
Revision as of 06:49, 10 December 2019 by Ovidiu (talk | contribs) (→‎Example)
Jump to navigation Jump to search

Internal

Example

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: fast
  annotations:
    storageclass.kubernetes.io/is-default-class: "true"
provisioner: kubernetes.io/aws-ebs
parameters:
  type: io1
  zone: us-west-2
  ipsPerGb: "10"
  ...

Elements

provisioner

provisioner tells Kubernetes which storage plugin to use.

parameters

The parameters section is for plugin-specific values, and each plugin supports its own set of values.