Expose ssh service as LoadBalancer
This commit is contained in:
parent
2966901cf9
commit
b443269e28
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue