2
This commit is contained in:
parent
19814868a0
commit
14fd382eff
@ -4,6 +4,7 @@ data:
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
query_log_file: /prometheus/query.log
|
||||
scrape_configs:
|
||||
|
||||
- job_name: 'kubernetes-nodes'
|
||||
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||
kind: "Service"
|
||||
metadata:
|
||||
name: prometheus
|
||||
namespace: prometheus
|
||||
namespace: default
|
||||
labels:
|
||||
name: prometheus
|
||||
spec:
|
||||
@ -21,7 +21,7 @@ metadata:
|
||||
labels:
|
||||
name: prometheus
|
||||
name: prometheus
|
||||
namespace: prometheus
|
||||
namespace: default
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@ -34,7 +34,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: prometheus
|
||||
image: prom/prometheus:v2.2.1
|
||||
image: prom/prometheus:v2.35.0
|
||||
command:
|
||||
- "/bin/prometheus"
|
||||
args:
|
||||
|
@ -1,4 +1,4 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: prometheus
|
||||
@ -25,7 +25,7 @@ metadata:
|
||||
name: prometheus
|
||||
namespace: default
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: prometheus
|
||||
|
Loading…
x
Reference in New Issue
Block a user