17 lines
230 B
YAML
17 lines
230 B
YAML
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: gitea
|
||
|
spec:
|
||
|
ports:
|
||
|
- name: http3000
|
||
|
port: 3000
|
||
|
- name: ssh22
|
||
|
port: 22
|
||
|
selector:
|
||
|
# apply service to any pod with label app: gitea
|
||
|
app: gitea
|
||
|
|
||
|
# EOF
|