Fusion de prometheus et granafa

This commit is contained in:
Adrien Reslinger 2020-04-20 18:03:28 +02:00
parent 82c43339cb
commit 2c57657fc9
39 changed files with 26968 additions and 57 deletions

View file

@ -1,28 +0,0 @@
# Allow Grafana access and in-cluster Prometheus scraping
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: prometheus
namespace: monitoring
spec:
podSelector:
matchLabels:
name: prometheus
ingress:
- ports:
- protocol: TCP
port: 9090
from:
- namespaceSelector:
matchLabels:
name: monitoring
podSelector:
matchLabels:
name: grafana
- namespaceSelector:
matchLabels:
name: monitoring
podSelector:
matchLabels:
name: prometheus