DEV-878: added some stuff for postgres backup ... + inc. postgres datadir
parent
597f58365b
commit
5363ed7a8c
@ -0,0 +1,21 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: egress-postgres2prometheuspushgw
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
cluster-name: postgres-cluster
|
||||
egress:
|
||||
- to:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: monitoring
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: prometheus-pushgateway
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 9091
|
||||
policyTypes:
|
||||
- Egress
|
||||
Loading…
Reference in New Issue