v0.0.1-alpha
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: postgres
|
||||
namespace: portfolio
|
||||
name: postgres-deployment
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@@ -12,6 +13,7 @@ spec:
|
||||
labels:
|
||||
app: postgres
|
||||
spec:
|
||||
limits:
|
||||
containers:
|
||||
- name: postgres
|
||||
image: postgres
|
||||
@@ -32,11 +34,11 @@ spec:
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
namespace: portfolio
|
||||
name: postgres-service
|
||||
spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 5432
|
||||
targetPort: 5432
|
||||
selector:
|
||||
app: postgres
|
||||
ports:
|
||||
- port: 5432
|
||||
type: ClusterIP
|
||||
|
||||
Reference in New Issue
Block a user