From 1fb49d8220cad74d7221863754c919e3195a3d37 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 7 Dec 2020 15:17:04 +0100 Subject: A bit of troubleshooting docs and more LSDF samples --- docs/samples/remote_storage/lsdf/lsdf-ips-test.yml | 44 ++++++++++++++++++++++ docs/samples/remote_storage/lsdf/lsdf-ips.yml | 38 +++++++++++++++++++ .../remote_storage/lsdf/lsdf-katrin-test.yml | 44 ++++++++++++++++++++++ docs/samples/remote_storage/lsdf/lsdf-katrin.yml | 38 +++++++++++++++++++ docs/samples/remote_storage/lsdf/lsdf-test.yml | 44 ---------------------- docs/samples/remote_storage/lsdf/lsdf.yml | 38 ------------------- 6 files changed, 164 insertions(+), 82 deletions(-) create mode 100644 docs/samples/remote_storage/lsdf/lsdf-ips-test.yml create mode 100644 docs/samples/remote_storage/lsdf/lsdf-ips.yml create mode 100644 docs/samples/remote_storage/lsdf/lsdf-katrin-test.yml create mode 100644 docs/samples/remote_storage/lsdf/lsdf-katrin.yml delete mode 100644 docs/samples/remote_storage/lsdf/lsdf-test.yml delete mode 100644 docs/samples/remote_storage/lsdf/lsdf.yml (limited to 'docs/samples') diff --git a/docs/samples/remote_storage/lsdf/lsdf-ips-test.yml b/docs/samples/remote_storage/lsdf/lsdf-ips-test.yml new file mode 100644 index 0000000..c02a888 --- /dev/null +++ b/docs/samples/remote_storage/lsdf/lsdf-ips-test.yml @@ -0,0 +1,44 @@ +apiVersion: template.openshift.io/v1 +kind: Template +metadata: + annotations: + name: lsdf-test +objects: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: lsdf-ips + spec: + volumeName: lsdf-ips + accessModes: + - ReadWriteOnce + resources: + requests: + storage: "10Ti" + - apiVersion: v1 + kind: DeploymentConfig + metadata: + name: lsdf-test + spec: + replicas: 1 + selector: + name: lsdf-test + strategy: + type: Recreate + template: + metadata: + labels: + name: lsdf-test + name: lsdf-test + spec: + volumes: + - name: lsdf-ips + persistentVolumeClaim: + claimName: lsdf-ips + 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-ips + mountPath: /mnt/lsdf diff --git a/docs/samples/remote_storage/lsdf/lsdf-ips.yml b/docs/samples/remote_storage/lsdf/lsdf-ips.yml new file mode 100644 index 0000000..c091870 --- /dev/null +++ b/docs/samples/remote_storage/lsdf/lsdf-ips.yml @@ -0,0 +1,38 @@ +apiVersion: v1 +kind: Template +metadata: + name: lsdf + annotations: + descriptions: "LSDF volumes" +objects: + - apiVersion: v1 + kind: Secret + metadata: + name: lsdf-csa + type: openshift.io/cifs + stringData: + username: "gf6501" + password: "" + - apiVersion: v1 + kind: PersistentVolume + metadata: + name: lsdf-ips + spec: + persistentVolumeReclaimPolicy: Retain + accessModes: + - ReadWriteMany + capacity: + storage: 100Ti + claimRef: + name: lsdf-ips + namespace: test + flexVolume: + driver: openshift.io/cifs + fsType: cifs + secretRef: + name: lsdf-csa + options: + networkPath: "//os.lsdf.kit.edu/ips-projects" + mountOptions: "vers=2.0,domain=os.lsdf.kit.edu,file_mode=0664,dir_mode=0775" + + \ No newline at end of file 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 diff --git a/docs/samples/remote_storage/lsdf/lsdf-test.yml b/docs/samples/remote_storage/lsdf/lsdf-test.yml deleted file mode 100644 index c02a888..0000000 --- a/docs/samples/remote_storage/lsdf/lsdf-test.yml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: template.openshift.io/v1 -kind: Template -metadata: - annotations: - name: lsdf-test -objects: - - apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: lsdf-ips - spec: - volumeName: lsdf-ips - accessModes: - - ReadWriteOnce - resources: - requests: - storage: "10Ti" - - apiVersion: v1 - kind: DeploymentConfig - metadata: - name: lsdf-test - spec: - replicas: 1 - selector: - name: lsdf-test - strategy: - type: Recreate - template: - metadata: - labels: - name: lsdf-test - name: lsdf-test - spec: - volumes: - - name: lsdf-ips - persistentVolumeClaim: - claimName: lsdf-ips - 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-ips - mountPath: /mnt/lsdf diff --git a/docs/samples/remote_storage/lsdf/lsdf.yml b/docs/samples/remote_storage/lsdf/lsdf.yml deleted file mode 100644 index c091870..0000000 --- a/docs/samples/remote_storage/lsdf/lsdf.yml +++ /dev/null @@ -1,38 +0,0 @@ -apiVersion: v1 -kind: Template -metadata: - name: lsdf - annotations: - descriptions: "LSDF volumes" -objects: - - apiVersion: v1 - kind: Secret - metadata: - name: lsdf-csa - type: openshift.io/cifs - stringData: - username: "gf6501" - password: "" - - apiVersion: v1 - kind: PersistentVolume - metadata: - name: lsdf-ips - spec: - persistentVolumeReclaimPolicy: Retain - accessModes: - - ReadWriteMany - capacity: - storage: 100Ti - claimRef: - name: lsdf-ips - namespace: test - flexVolume: - driver: openshift.io/cifs - fsType: cifs - secretRef: - name: lsdf-csa - options: - networkPath: "//os.lsdf.kit.edu/ips-projects" - mountOptions: "vers=2.0,domain=os.lsdf.kit.edu,file_mode=0664,dir_mode=0775" - - \ No newline at end of file -- cgit v1.2.3