kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch12/todo-list/db/todo-db-service.yaml

12 lines
165 B
YAML

apiVersion: v1
kind: Service
metadata:
name: todo-db
labels:
kiamol: ch12
spec:
ports:
- port: 5432
targetPort: 5432
selector:
app: todo-db