apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: debian
  name: debian
  namespace: ssher
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      app: debian
  strategy:
    type: Recreate
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: debian
    spec:
      containers:
      - command:
        - /bin/sh
        - -c
        - /usr/sbin/sshd -D
        image: git.martyn.berlin/martyn/fat-ssh:latest
        imagePullPolicy: Always
        name: debian
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /home
          name: home
        resources:
          requests:
            cpu: 25m
            memory: 323522422
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      terminationGracePeriodSeconds: 30
      volumes:
      - name: home
        persistentVolumeClaim:
          claimName: ssh-data