apiVersion: apps/v1
kind: Deployment
metadata:
  name: eatransfer-d
spec:
  replicas: 1
  selector:
    matchLabels:
      app: eatransfer-d
  template:
    metadata:
      labels:
        app: eatransfer-d
    spec:
      containers:
      - name: eatransfer
        image: "127.0.0.1:5000/eatransfer"
        imagePullPolicy: 'Never'
        ports:
        - name: ssh
          containerPort: 22
        volumeMounts:
        - mountPath: /home/transfer/portal
          name: eapersist

      volumes:
       - name: eapersist
         hostPath:
           path: /srv/persist/ACCOUNT/www
           type: Directory
       
