Files
Kubernetes/PostgreSQL/postgres_static_endpoint.yaml
T

13 lines
291 B
YAML

apiVersion: discovery.k8s.io/v1
kind: EndpointSlice
metadata:
name: postgres-static-service
namespace: database
labels:
kubernetes.io/service-name: postgres # Links to the Service
addressType: IPv4
ports:
- port: 5432
endpoints:
- addresses:
- "10.0.2.122"