infra4talos/apps-kustomized/ssher/deploy.yaml

49 lines
1.1 KiB
YAML
Raw Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "2"
labels:
app: debian
name: debian
namespace: ssher
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: debian
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: debian
spec:
containers:
- command:
- /bin/sh
- -c
- sleep 99999999
image: git.martyn.berlin/martyn/fat-ssh:latest
imagePullPolicy: Always
name: debian
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /home
name: home
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30
volumes:
- name: home
persistentVolumeClaim:
claimName: ssh-data