Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data integrity for AsyncDR (WIP) #2747

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
11 changes: 11 additions & 0 deletions drivers/scheduler/k8s/specs/fio-async-dr/fio-pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: fio-pvc
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 20Gi
storageClassName: portworx-sc
33 changes: 33 additions & 0 deletions drivers/scheduler/k8s/specs/fio-async-dr/fio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: fio-write-test-deployment
spec:
replicas: 1
selector:
matchLabels:
app: fio-write-test
template:
metadata:
labels:
app: fio-write-test
spec:
restartPolicy: Always
containers:
- name: fio-write-test-container
image: xridge/fio
command: ["/bin/sh", "-c"]
args:
- |
fio --blocksize=32k --directory=/data --filename=test \
--ioengine=libaio --readwrite=write --size=512M --name=test \
--verify=meta --do_verify=1 --verify_pattern=0xDeadBeef --direct=1 \
--gtod_reduce=1 --iodepth=32 --rate_iops=4000 --randrepeat=1 \
--disable_lat=0
volumeMounts:
- name: fio-data
mountPath: /data
volumes:
- name: fio-data
persistentVolumeClaim:
claimName: fio-pvc
10 changes: 10 additions & 0 deletions drivers/scheduler/k8s/specs/fio-async-dr/pxd/px-storage-class.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: portworx-sc
parameters:
repl: "2"
sharedv4: "true"
provisioner: pxd.portworx.com
reclaimPolicy: Delete
volumeBindingMode: Immediate
Loading