infra4drache/ssh/service-ssh.yaml

14 lines
173 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
app: ssh
name: ssh
namespace: cluster-ingress
spec:
ports:
- port: 22
selector:
app: ssh
type: NodePort