instruction: Create a Dockerfile for storage
output: ```dockerfile
  from higher
  performance or a lower priority storage high/medium/low (default: low).
  snap_interval: clock/time interval in minutes for when to trigger snapshots.
  Snapshots are incremental based on difference with the prior snapshot, 0
  disables snaps (default: 0). A string is expected here i.e.
  "70" and not 70.
  aggregation_level: specifies the number of chunks the volume would be
  distributed into, 0 indicates a non-aggregated volume (default: 0). A string
  is expected here i.e. "0" and not 0
  ephemeral: specifies whether the volume should be cleaned-up after unmount
  or should be persistent. emptyDir use case can set this value to true and
  persistent volumes use case such as for databases like Cassandra should set
  to false, true/false (default false). A string is expected here i.e.
  "true" and not true.
  
  Local
  
  storage/storageclass/storageclass-local.yaml
  
  apiVersion: storage.k8s.io/v1
  kind: StorageClass
  metadata:
   name: local-storage
  provisioner: kubernetes.io/no-provisioner # indicates that this StorageClass does not support automatic provisioning
  volumeBindingMode: WaitForFirstConsumer
  
  Local volumes do not support dynamic provisioning in Kubernetes 1.31;
  however a StorageClass should still be created to delay volume binding until a Pod is actually
  scheduled to the appropriate node. This is specified by the WaitForFirstConsumer volume
  binding mode.
  Delaying volume binding allows the scheduler to consider all of a Pod's
  scheduling constraints when choosing an appropriate PersistentVolume for a
  PersistentVolumeClaim.
  
  Feedback
  Was this page helpful?
  Yes
  No
  
   Thanks for the feedback. If you have a specific, answerable question about how to use Kubernetes, ask it on
  
   Stack Overflow.
   Open an issue in the GitHub Repository if you want to
  
   report a problem
   or
  
   suggest an improvement.
  
   Last modified November 26, 2024 at 6:24 AM PST: Move misplaced comment outside YAML block in storageclass-aws-ebs.yaml (#48809) (b13e3aab77)
  
   StorageClass API reference
    Create child page
   Create documentation issue
   Print entire section
  
  StorageClass objects
  Default StorageClass
  Provisioner
  Reclaim policy
  Volume expansion
  Mount options
  Volume binding mode
  Allowed topologies
  Parameters
  
  AWS EBS
  AWS EFS
  NFS
  vSphere
  Ceph RBD (deprecated)
  Azure Disk
  Azure File (deprecated)
  Portworx volume (deprecated)
  Local
  
  © 2025 The Kubernetes Authors | Documentation Distributed under CC BY 4.0
  © 2025 The Linux Foundation ®. ICP license: 京ICP备17074266号-3
  ```