Configure your Zesty Disk for Kubernetes workload
- 1 Minute to read
- Print
- PDF
Configure your Zesty Disk for Kubernetes workload
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
This section describes how to configure your workload in Zesty Disk for K8s.
To configure workloads, edit the workload YAML file.
Change StorageClass to Zesty Disk storage class
To initiate your workload pods for Zesty Disk for K8s, change the storage class setting to zesty-sc.
Also, for increased utilization, consider changing the initial PVC size.
Example:
....
volumeClaimTemplates:
- metadata:
name: democlaim
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: "zesty-sc"
resources:
requests:
storage: 25Gi
...
Configure workload policy
Once the Zesty Disk storage class is configured, you can set policies to control how Zesty Disk for K8s will work. The current supported policies are:
Set the minimum Zesty Disk size, using “requests: storage”
Set the maximum Zesty Disk size, using “limits: storage”
Set the Zesty Disk minimum buffer size, using “requests: buffer”
Example:
....
volumeClaimTemplates:
- metadata:
name: democlaim
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: "zesty-sc"
resources:
requests:
storage: 10Gi
buffer: 40Gi
limits:
storage: 500Gi
...
Was this article helpful?