tp2
This commit is contained in:
commit
cbfc0a53b3
15 changed files with 214 additions and 0 deletions
12
tp2/db-service.yaml
Normal file
12
tp2/db-service.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: db-service
|
||||
spec:
|
||||
selector:
|
||||
app: db
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 5432
|
||||
name: postgres
|
||||
targetPort: postgres
|
||||
Loading…
Add table
Add a link
Reference in a new issue