2022-11-08 10:33:31 +00:00
|
|
|
---
|
|
|
|
# https://metallb.org/usage/
|
|
|
|
#apiVersion: metallb.io/v1beta1
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: gitea-ssh
|
|
|
|
spec:
|
|
|
|
type: LoadBalancer
|
|
|
|
loadBalancerIP: "${ip_address}"
|
|
|
|
ports:
|
|
|
|
- name: ssh
|
2022-11-09 12:32:13 +00:00
|
|
|
protocol: TCP
|
2022-11-08 10:33:31 +00:00
|
|
|
port: 22
|
|
|
|
targetPort: 22
|
|
|
|
selector:
|
|
|
|
app: gitea
|
2022-11-09 12:32:13 +00:00
|
|
|
status:
|
|
|
|
loadBalancer:
|
|
|
|
ingress:
|
|
|
|
- ip: "${ip_address}"
|