Files
k3s-at-home/clusters/default/monitoring/jellystat/jellystat-svc.yml

31 lines
489 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-service
namespace: monitoring
spec:
selector:
app: jellystat-db
ports:
- port: 5432
targetPort: 5432