summaryrefslogtreecommitdiffstats
path: root/docs/samples/remote_storage/lsdf/lsdf-ips-test.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/samples/remote_storage/lsdf/lsdf-ips-test.yml')
-rw-r--r--docs/samples/remote_storage/lsdf/lsdf-ips-test.yml44
1 files changed, 44 insertions, 0 deletions
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