2024-10-03 14:10:14 +00:00
|
|
|
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:
|
2024-10-03 14:38:04 +00:00
|
|
|
type: Recreate
|
2024-10-03 14:10:14 +00:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
creationTimestamp: null
|
|
|
|
labels:
|
|
|
|
app: debian
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- command:
|
|
|
|
- /bin/sh
|
|
|
|
- -c
|
2024-10-03 14:31:07 +00:00
|
|
|
- /usr/sbin/sshd -D
|
2024-10-03 14:15:20 +00:00
|
|
|
image: git.martyn.berlin/martyn/fat-ssh:latest
|
2024-10-03 14:10:14 +00:00
|
|
|
imagePullPolicy: Always
|
|
|
|
name: debian
|
|
|
|
terminationMessagePath: /dev/termination-log
|
|
|
|
terminationMessagePolicy: File
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /home
|
|
|
|
name: home
|
2024-10-03 14:34:26 +00:00
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 25m
|
|
|
|
memory: 323522422
|
2024-10-03 14:10:14 +00:00
|
|
|
dnsPolicy: ClusterFirst
|
|
|
|
restartPolicy: Always
|
|
|
|
schedulerName: default-scheduler
|
|
|
|
terminationGracePeriodSeconds: 30
|
|
|
|
volumes:
|
|
|
|
- name: home
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: ssh-data
|