summaryrefslogtreecommitdiffstats
path: root/docs/samples/remote_storage/lsdf/lsdf-katrin-test.yml
blob: 003da6ccbd49e25879003fc3d994b863513a75b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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