k8s postgres

This commit is contained in:
2025-07-22 13:39:40 +02:00
committed by swordsteel
parent 2d1b25e40e
commit 91eef1911f
5 changed files with 140 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
apiVersion: v1
kind: Service
metadata:
name: postgres
namespace: hlaeja
labels:
app: postgres
environment: testing
tier: database
annotations:
metallb.universe.tf/address-pool: default
spec:
type: LoadBalancer
loadBalancerIP: 10.0.3.141
selector:
app: postgres
ports:
- port: 5432
targetPort: 5432
protocol: TCP
name: postgres