summaryrefslogtreecommitdiffstats
path: root/docs/samples
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2020-12-07 15:17:04 +0100
committerSuren A. Chilingaryan <csa@suren.me>2020-12-07 15:17:04 +0100
commit1fb49d8220cad74d7221863754c919e3195a3d37 (patch)
tree16e87e9817cf9378188d327f63602546b6cd3809 /docs/samples
parent0b972f0816408fc696e75fd55de5cd160d6d7ccc (diff)
downloadands-1fb49d8220cad74d7221863754c919e3195a3d37.tar.gz
ands-1fb49d8220cad74d7221863754c919e3195a3d37.tar.bz2
ands-1fb49d8220cad74d7221863754c919e3195a3d37.tar.xz
ands-1fb49d8220cad74d7221863754c919e3195a3d37.zip
A bit of troubleshooting docs and more LSDF samples
Diffstat (limited to 'docs/samples')
-rw-r--r--docs/samples/remote_storage/lsdf/lsdf-ips-test.yml (renamed from docs/samples/remote_storage/lsdf/lsdf-test.yml)0
-rw-r--r--docs/samples/remote_storage/lsdf/lsdf-ips.yml (renamed from docs/samples/remote_storage/lsdf/lsdf.yml)0
-rw-r--r--docs/samples/remote_storage/lsdf/lsdf-katrin-test.yml44
-rw-r--r--docs/samples/remote_storage/lsdf/lsdf-katrin.yml38
4 files changed, 82 insertions, 0 deletions
diff --git a/docs/samples/remote_storage/lsdf/lsdf-test.yml b/docs/samples/remote_storage/lsdf/lsdf-ips-test.yml
index c02a888..c02a888 100644
--- a/docs/samples/remote_storage/lsdf/lsdf-test.yml
+++ b/docs/samples/remote_storage/lsdf/lsdf-ips-test.yml
diff --git a/docs/samples/remote_storage/lsdf/lsdf.yml b/docs/samples/remote_storage/lsdf/lsdf-ips.yml
index c091870..c091870 100644
--- a/docs/samples/remote_storage/lsdf/lsdf.yml
+++ b/docs/samples/remote_storage/lsdf/lsdf-ips.yml
diff --git a/docs/samples/remote_storage/lsdf/lsdf-katrin-test.yml b/docs/samples/remote_storage/lsdf/lsdf-katrin-test.yml
new file mode 100644
index 0000000..003da6c
--- /dev/null
+++ b/docs/samples/remote_storage/lsdf/lsdf-katrin-test.yml
@@ -0,0 +1,44 @@
+apiVersion: template.openshift.io/v1
+kind: Template
+metadata:
+ annotations:
+ name: lsdf-katrin-test
+objects:
+ - apiVersion: v1
+ kind: PersistentVolumeClaim
+ metadata:
+ name: lsdf-katrin-kdb
+ spec:
+ volumeName: lsdf-katrin-kdb
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: "100Ti"
+ - apiVersion: v1
+ kind: DeploymentConfig
+ metadata:
+ name: lsdf-katrin-test
+ spec:
+ replicas: 1
+ selector:
+ name: lsdf-katrin-test
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ labels:
+ name: lsdf-katrin-test
+ name: lsdf-katrin-test
+ spec:
+ volumes:
+ - name: lsdf-katrin-kdb
+ persistentVolumeClaim:
+ claimName: lsdf-katrin-kdb
+ containers:
+ - image: registry.access.redhat.com/rhel7/rhel:7.6
+ name: cifs-app
+ command: ["/bin/bash", "-c", "while true; do sleep 10; done"]
+ volumeMounts:
+ - name: lsdf-katrin-kdb
+ mountPath: /mnt/kdb
diff --git a/docs/samples/remote_storage/lsdf/lsdf-katrin.yml b/docs/samples/remote_storage/lsdf/lsdf-katrin.yml
new file mode 100644
index 0000000..036e9a5
--- /dev/null
+++ b/docs/samples/remote_storage/lsdf/lsdf-katrin.yml
@@ -0,0 +1,38 @@
+apiVersion: v1
+kind: Template
+metadata:
+ name: lsdf-katrin
+ annotations:
+ descriptions: "LSDF volumes"
+objects:
+ - apiVersion: v1
+ kind: Secret
+ metadata:
+ name: lsdf-katrin
+ type: openshift.io/cifs
+ stringData:
+ username: "ipe-katrinlsdf-0001"
+ password: "6?)CW5wE3/"
+ - apiVersion: v1
+ kind: PersistentVolume
+ metadata:
+ name: lsdf-katrin-kdb
+ spec:
+ persistentVolumeReclaimPolicy: Retain
+ accessModes:
+ - ReadWriteMany
+ capacity:
+ storage: 100Ti
+ claimRef:
+ name: lsdf-katrin-kdb
+ namespace: katrin
+ flexVolume:
+ driver: openshift.io/cifs
+ fsType: cifs
+ secretRef:
+ name: lsdf-katrin
+ options:
+ networkPath: "//os.lsdf.kit.edu/ipe-projects/katrin_kdb"
+ mountOptions: "vers=2.0,domain=os.lsdf.kit.edu,file_mode=0664,dir_mode=0775"
+
+ \ No newline at end of file