Reckless_Satoshi a069f98a1a init
2023-09-29 05:10:16 -07:00

12 lines
312 B
YAML

apiVersion: v1
kind: Service # Create service
metadata:
name: postgres # Sets the service name
labels:
app: postgres # Defines app to create service for
spec:
type: ClusterIP # Sets the service type
ports:
- port: 5432 # Sets the port to run the postgres application
selector:
app: postgres