All Tools View Categories About Contact Privacy

StorageClass YAML Generator

Build a valid Kubernetes StorageClass (storage.k8s.io/v1) with provisioner, policies, parameters and mount options.

Runs entirely in your browser - nothing is uploaded and no cluster connection is made.
0
parameters
0
mount options
Your generated StorageClass YAML will appear here.

About StorageClass YAML Generator

A StorageClass defines a class of storage and the provisioner able to create it. The StorageClass YAML Generator writes that manifest from a form so you do not have to recall the storage.k8s.io/v1 schema.

You set the StorageClass name and provisioner, choose a reclaim policy and volume binding mode, optionally allow volume expansion, and add mount options and provisioner parameters. The resulting YAML is valid storage.k8s.io/v1.

The name and provisioner are required and validated. Problems are reported in a clear panel. Everything runs locally and nothing is uploaded.

Features

  • Provisioner - required plugin (e.g. CSI driver).
  • reclaimPolicy - Delete or Retain.
  • volumeBindingMode - Immediate or WaitForFirstConsumer.
  • allowVolumeExpansion - optional boolean.
  • Parameters & mount options - optional key/values and list.
  • Copy / Download / Print - get storageclass.yaml wherever you need it.

How to Use

  1. Name and provisioner. Both are required.
  2. Pick policies and binding mode.
  3. Optionally add parameters and mount options.
  4. Watch the preview and export.

Examples

Example 1 - EBS. provisioner ebs.csi.aws.com, reclaimPolicy Retain.

Example 2 - GCE. provisioner pd.csi.storage.gke.io, binding WaitForFirstConsumer.

Example 3 - expansion. allowVolumeExpansion true.

Example 4 - Azure. provisioner disk.csi.azure.com.

Example 5 - params. type gp3 with iops param.

Benefits

  • Correct schema - valid storage.k8s.io/v1 StorageClass.
  • Flexible - policies, binding, params and mount options.
  • Validated - name and provisioner checked.
  • Clean output - empty fields omitted.
  • Private - everything runs in the browser.
  • Copy, download or print - get the manifest where you need it.

Frequently Asked Questions

What is a StorageClass?
A StorageClass describes the "classes" of storage a cluster offers (e.g. SSD, HDD) and the provisioner that creates the backing volume. It is a storage.k8s.io/v1 resource.
What is the provisioner?
The plugin that provisions volumes, such as kubernetes.io/aws-ebs, kubernetes.io/gce-pd, kubernetes.io/azure-disk, or a CSI driver like ebs.csi.aws.com.
What does reclaimPolicy control?
Delete (default) removes the volume when the PVC is deleted; Retain keeps it for manual recovery.
What is volumeBindingMode?
Immediate (default) binds as soon as the PVC is created; WaitForFirstConsumer delays binding until a pod uses the PVC, enabling topology-aware placement.
Is the name validated?
Yes. The StorageClass name must be a valid RFC 1123 label (lowercase letters, numbers and hyphens).
Does this connect to a cluster?
No. Everything is assembled in your browser and nothing is uploaded.
Can I download it?
Yes. Copy the YAML, download storageclass.yaml, or print it.