Fusion de prometheus et granafa
This commit is contained in:
parent
82c43339cb
commit
2c57657fc9
39 changed files with 26968 additions and 57 deletions
19
templates/prometheus/discovery/kube-proxy.yaml
Normal file
19
templates/prometheus/discovery/kube-proxy.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Allow Prometheus to scrape service endpoints
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: kube-proxy
|
||||
namespace: kube-system
|
||||
annotations:
|
||||
prometheus.io/scrape: 'true'
|
||||
prometheus.io/port: '10249'
|
||||
spec:
|
||||
type: ClusterIP
|
||||
clusterIP: None
|
||||
selector:
|
||||
k8s-app: kube-proxy
|
||||
ports:
|
||||
- name: metrics
|
||||
protocol: TCP
|
||||
port: 10249
|
||||
targetPort: 10249
|
||||
Loading…
Add table
Add a link
Reference in a new issue