summaryrefslogtreecommitdiffstats
path: root/cns-libs/cnslibs/common/sample-nginx-pod.yaml
blob: b820a42a1fa93107f8bacad86186f8f60f9b085b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
apiVersion: v1
id: gluster-nginx-pvc
kind: Pod
metadata:
  name: gluster-nginx-pod
spec:
  containers:
    - name: gluster-nginx-pod
      image: fedora/nginx
      volumeMounts:
        - mountPath: /var/www/html
          name: gluster-volume-claim
      securityContext:
        privileged: true
  volumes:
    - name: gluster-volume-claim
      persistentVolumeClaim:
        claimName: claim