40 lines
723 B
YAML
40 lines
723 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: ssh
|
|
name: ssh
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: ssh
|
|
strategy: {}
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: ssh
|
|
spec:
|
|
containers:
|
|
- image: imartyn/ssh
|
|
name: alpine
|
|
command:
|
|
- sh
|
|
- -c
|
|
- /usr/sbin/sshd -D -p 22
|
|
ports:
|
|
- containerPort: 22
|
|
name: ssh
|
|
protocol: TCP
|
|
hostPort: 22
|
|
- containerPort: 8096
|
|
name: jelly
|
|
protocol: TCP
|
|
- containerPort: 8989
|
|
name: sonarr
|
|
protocol: TCP
|
|
resources: {}
|
|
status: {}
|