12 lines
165 B
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
|