50 lines
805 B
YAML
50 lines
805 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: nextcloud-service
|
|
namespace: tools
|
|
annotations:
|
|
metallb.io/allow-shared-ip: "shared-ip-1"
|
|
spec:
|
|
loadBalancerIP: 192.168.1.230
|
|
type: LoadBalancer
|
|
selector:
|
|
app: nextcloud
|
|
ports:
|
|
- protocol: TCP
|
|
port: 9200
|
|
targetPort: 443
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: collabora-service
|
|
namespace: tools
|
|
annotations:
|
|
metallb.io/allow-shared-ip: "shared-ip-1"
|
|
spec:
|
|
loadBalancerIP: 192.168.1.230
|
|
type: LoadBalancer
|
|
selector:
|
|
app: collabora
|
|
ports:
|
|
- protocol: TCP
|
|
port: 9980
|
|
targetPort: 9980
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: nextcloud-db-service
|
|
namespace: tools
|
|
spec:
|
|
selector:
|
|
app: nextcloud-db
|
|
ports:
|
|
- protocol: TCP
|
|
port: 3306
|
|
targetPort: 3306
|