Expose ssh service as LoadBalancer

This commit is contained in:
bom 2022-06-24 10:58:28 +02:00
parent 2966901cf9
commit b443269e28

View file

@ -9,7 +9,6 @@ spec:
ports:
- name: gitea-http
port: 3000
---
kind: Service
apiVersion: v1
@ -17,10 +16,9 @@ metadata:
name: gitea-ssh-service
namespace: default
spec:
type: NodePort
type: LoadBalancer
selector:
app: gitea
ports:
- port: 2225
- port: 22
targetPort: 22
nodePort: 30005