37 lines
646 B
YAML
37 lines
646 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
|
|
resources: {}
|
|
status: {}
|