apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment-2
  labels:
    app: nginx-2
spec:
  replicas: 1
  selector:
    matchLabels:
      app: nginx-2
  template:
    metadata:
      labels:
        app: nginx-2
    spec:
      volumes:
        - name: fast-disk
          persistentVolumeClaim:
            claimName: pvc1
      containers:
        - name: ml-processer
          image: nginx
          volumeMounts:
            - mountPath: "/var/lib/db"
              name: fast-disk
