This file contains 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
NS=$(oc get namespace -o custom-columns=":metadata.name" | grep bookbag) | |
oc patch -n $NS bc/bookbag --patch='{"spec":{"source":{"git":{"uri":"https://github.com/team-ohc-jp-place/roadshow_ocpvirt_instructions","ref":"main-jp"}}}}' | |
oc start-build bc/bookbag -n $NS |
This file contains 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
[global] | |
time_based | |
runtime=120 | |
startdelay=10 | |
ramp_time=10 | |
direct=1 | |
rw=randwrite | |
size=100G | |
numjobs=1 | |
ioengine=libaio |
This file contains 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
[global] | |
time_based | |
runtime=120 | |
startdelay=10 | |
ramp_time=10 | |
direct=1 | |
rw=randread | |
size=100G | |
numjobs=1 | |
ioengine=libaio |
This file contains 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: date | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
app: date | |
strategy: |
This file contains 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
################################################################################################################# | |
# The deployment for the rook operator | |
# Contains the common settings for most Kubernetes deployments. | |
# For example, to create the rook-ceph cluster: | |
# kubectl create -f common.yaml | |
# kubectl create -f operator.yaml | |
# kubectl create -f cluster.yaml | |
# | |
# Also see other operator sample files for variations of operator.yaml: | |
# - operator-openshift.yaml: Common settings for running in OpenShift |
This file contains 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: fio-data-write | |
namespace: fio-tools | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: |
This file contains 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
apiVersion: ceph.rook.io/v1 | |
kind: CephBlockPool | |
metadata: | |
name: replicapool | |
namespace: my-rook-ceph | |
spec: | |
replicated: | |
size: 3 | |
--- | |
apiVersion: storage.k8s.io/v1 |
This file contains 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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: my-rook-ceph | |
--- | |
apiVersion: operators.coreos.com/v1alpha2 | |
kind: OperatorGroup | |
metadata: | |
name: operatorgroup | |
namespace: my-rook-ceph |
This file contains 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
apiVersion: ceph.rook.io/v1 | |
kind: CephCluster | |
metadata: | |
name: my-rook-ceph | |
namespace: my-rook-ceph | |
spec: | |
cephVersion: | |
image: 'ceph/ceph:v14.2.1-20190430' | |
dataDirHostPath: /var/lib/rook | |
mon: |
This file contains 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
[global] | |
direct=1 | |
rw=randwrite | |
size=1G | |
numjobs=1 | |
iodepth=8 | |
time_based | |
runtime=600 | |
ioengine=libaio |