Skip to content

Commit

Permalink
fix the example in access-tier based scheduling doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Praveenrajmani authored and wlan0 committed Apr 11, 2022
1 parent e813820 commit bc32cf0
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions docs/scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,30 +42,19 @@ For example, take the following storage class definition for Hot tiered drives
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
rbac.authorization.kubernetes.io/autoupdate: "true"
finalizers:
- foregroundDeletion
labels:
application-name: direct.csi.min.io
application-type: CSIDriver
direct.csi.min.io/created-by: kubectl-direct-csi
direct.csi.min.io/version: v1beta3
name: directpv-min-io-hot
resourceVersion: "4307589"
uid: 9f602557-8dee-4557-ad21-1f07a4935323
allowVolumeExpansion: false
allowedTopologies:
- matchLabelExpressions:
- key: direct.csi.min.io/identity
values:
- direct-csi-min-io
parameters:
fstype: xfs
direct-csi-min-io/access-tier: Hot
provisioner: direct-csi-min-io
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: false
allowedTopologies:
- matchLabelExpressions:
- key: direct.csi.min.io/identity
values:
- direct-csi-min-io
```

#### Step 4: Deploy the workload with the corresponding storage class name set
Expand Down

0 comments on commit bc32cf0

Please sign in to comment.