Last active
August 13, 2020 10:08
-
-
Save welshstew/f4e6fe2754bc23c904001be5916e9320 to your computer and use it in GitHub Desktop.
fbench disk test job
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kind: PersistentVolumeClaim | |
| apiVersion: v1 | |
| metadata: | |
| name: fbench-pv-claim | |
| spec: | |
| storageClassName: thin | |
| accessModes: | |
| - ReadWriteOnce | |
| resources: | |
| requests: | |
| storage: 10Gi | |
| --- | |
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: fbench | |
| spec: | |
| template: | |
| spec: | |
| containers: | |
| - name: fbench | |
| image: quay.io/swinches/fbench:latest | |
| imagePullPolicy: Always | |
| env: | |
| - name: DBENCH_MOUNTPOINT | |
| value: /data | |
| volumeMounts: | |
| - name: fbench-pv | |
| mountPath: /data | |
| restartPolicy: Never | |
| volumes: | |
| - name: fbench-pv | |
| persistentVolumeClaim: | |
| claimName: fbench-pv-claim | |
| backoffLimit: 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment