postgres monitoring
This commit is contained in:
@@ -26,7 +26,8 @@ spec:
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: DATA_SOURCE_NAME
|
||||
value: "port=5432 host=127.0.0.1"
|
||||
value: "postgresql://postgres:pg2020@localhost:5432/postgres?sslmode=disable"
|
||||
#value: "port=5432 host=127.0.0.1"
|
||||
- name: postgres
|
||||
image: postgres
|
||||
ports:
|
||||
@@ -107,5 +108,10 @@ spec:
|
||||
type: LoadBalancer
|
||||
loadBalancerIP: 172.23.255.4
|
||||
ports:
|
||||
- port: 5432
|
||||
- name: postgres
|
||||
port: 5432
|
||||
targetPort: 5432
|
||||
- name: exporter
|
||||
port: 9187
|
||||
targetPort: 9187
|
||||
|
||||
Reference in New Issue
Block a user