apiVersion: v1
kind: ReplicationController
metadata:
  name: server
spec:
  replicas: 1
  selector:
    role: server
  template:
    metadata:
      labels:
        role: server
    spec:
      containers:
      - name: server
        image: nginx 
        volumeMounts:
          - mountPath: /var/lib/www/html
            name: quobytepvc
      volumes:
        - name: quobytepvc
          persistentVolumeClaim:
            claimName: claim1
