Replaced rabbitMQ with Kafka, fixed regcred
This commit is contained in:
@@ -23,7 +23,7 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
#storageClassName: db-postgres-pv
|
||||
storageClassName: db-postgres-pv
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@@ -86,7 +86,7 @@ spec:
|
||||
- name: APP_NAME
|
||||
value: db-postgres
|
||||
- name: APP_DOMAIN
|
||||
value: db-postgres.egommerce.local
|
||||
value: db-postgres.egommerce.io
|
||||
- name: POSTGRES_USER
|
||||
value: egommerce
|
||||
- name: POSTGRES_DB
|
||||
@@ -98,8 +98,11 @@ spec:
|
||||
value: /var/lib/postgresql/data
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
cpu: 100m
|
||||
memory: 512M
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 256M
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
volumeMounts:
|
||||
@@ -113,6 +116,15 @@ spec:
|
||||
env:
|
||||
- name: DATA_SOURCE_NAME
|
||||
value: "postgresql://postgres:12345678@db-postgres:5432/egommerce" #?sslmode=disable
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50m
|
||||
memory: 256M
|
||||
requests:
|
||||
cpu: 25m
|
||||
memory: 128M
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
volumes:
|
||||
- name: db-postgres-data
|
||||
persistentVolumeClaim:
|
||||
|
||||
Reference in New Issue
Block a user