17 lines
315 B
YAML
17 lines
315 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: postgres-service
|
|
namespace: database
|
|
labels:
|
|
io.cilium/static-ip: "true"
|
|
annotations:
|
|
lbipam.cilium.io/ips: "10.2.0.122"
|
|
spec:
|
|
type: LoadBalancer
|
|
selector:
|
|
app: postgres-hetzner
|
|
ports:
|
|
- protocol: TCP
|
|
port: 5432
|
|
targetPort: 5432 |