#创建有冗余500IOPS的storageClass
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: vsan-rep
provisioner: kubernetes.io/vsphere-volume
parameters:
  datastore: vsanDatastore
  diskformat: thin
  storagePolicyName: "vSAN Default Storage Policy"
  fstype: ext3
  iopslimit-migrationparam: "500"
---
#创建无冗余1000IOPS的storageClass
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: vsan-no-rep
provisioner: kubernetes.io/vsphere-volume
parameters:
  datastore: vsanDatastore
  diskformat: thin
  storagePolicyName: "vsan-no-rep"
  fstype: ext3
  iopslimit-migrationparam: "1000"
 posted on 2024-08-21 20:47  小SEI子  阅读(4)  评论(0编辑  收藏  举报