summaryrefslogtreecommitdiffstats
path: root/docs/samples/remote_storage/lsdf/lsdf-test.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-07 18:47:39 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-07 18:47:39 +0200
commit79b191d207d7670295781c550847ce7d695cc388 (patch)
tree2b6fb60e40ab98b68d1bce6f8e96a528e99df265 /docs/samples/remote_storage/lsdf/lsdf-test.yml
parent9481fe4541a4f0abab6a4e76931a3d6bd9a5b8b0 (diff)
downloadands-79b191d207d7670295781c550847ce7d695cc388.tar.gz
ands-79b191d207d7670295781c550847ce7d695cc388.tar.bz2
ands-79b191d207d7670295781c550847ce7d695cc388.tar.xz
ands-79b191d207d7670295781c550847ce7d695cc388.zip
Support for Samba/CIFS storage and a sample how to mount LSDF shares
Diffstat (limited to 'docs/samples/remote_storage/lsdf/lsdf-test.yml')
-rw-r--r--docs/samples/remote_storage/lsdf/lsdf-test.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/docs/samples/remote_storage/lsdf/lsdf-test.yml b/docs/samples/remote_storage/lsdf/lsdf-test.yml
new file mode 100644
index 0000000..c02a888
--- /dev/null
+++ b/docs/samples/remote_storage/lsdf/lsdf-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