Files

32 lines
499 B
YAML

---
apiVersion: v1
kind: Service
metadata:
name: jellystat-service
namespace: monitoring
annotations:
metallb.io/allow-shared-ip: "shared-ip-1"
spec:
loadBalancerIP: 192.168.1.230
type: LoadBalancer
selector:
app: jellystat
ports:
- port: 3001
targetPort: 3000
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: jellystat-db
namespace: monitoring
spec:
selector:
app: jellystat-db
ports:
- port: 5432
targetPort: 5432
clusterIP: None