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

13 lines
187 B
YAML

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