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:
|
ports:
|
||||||
- name: gitea-http
|
- name: gitea-http
|
||||||
port: 3000
|
port: 3000
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: Service
|
kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -17,10 +16,9 @@ metadata:
|
||||||
name: gitea-ssh-service
|
name: gitea-ssh-service
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
app: gitea
|
app: gitea
|
||||||
ports:
|
ports:
|
||||||
- port: 2225
|
- port: 22
|
||||||
targetPort: 22
|
targetPort: 22
|
||||||
nodePort: 30005
|
|
||||||
|
|
Loading…
Reference in a new issue