File tree 1 file changed +4
-9
lines changed
k8s/data-processing-cluster/deployments 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -47,18 +47,13 @@ spec:
47
47
containers :
48
48
# Check https://hub.docker.com/r/prom/prometheus/tags/ for the current
49
49
# stable version.
50
- - image : prom/prometheus:v1.8 .2
50
+ - image : prom/prometheus:v2.3 .2
51
51
# Note: the container name appears to be ignored and the actual pod name
52
52
# is derived from the Deployment.metadata.name. However, removing this
53
53
# value results in a configuration error.
54
54
name : prometheus
55
55
# Use 10x the default values for all index cache flags:
56
- args : ["-config.file=/etc/prometheus/prometheus.yml",
57
- " -storage.local.path=/prometheus" ,
58
- " -storage.local.index-cache-size.fingerprint-to-metric=104857600" ,
59
- " -storage.local.index-cache-size.fingerprint-to-timerange=52428800" ,
60
- " -storage.local.index-cache-size.label-name-to-label-values=104857600" ,
61
- " -storage.local.index-cache-size.label-pair-to-fingerprints=20971520" ]
56
+ args : ["--config.file=/etc/prometheus/prometheus.yml"]
62
57
ports :
63
58
- containerPort : 9090
64
59
resources :
70
65
cpu : " 1500m"
71
66
volumeMounts :
72
67
# /prometheus stores all metric data. Declared as VOLUME in base image.
73
- - mountPath : /prometheus
68
+ - mountPath : /data
74
69
name : prometheus-storage
75
- subPath : prometheus-data
70
+ subPath : prometheus-data2
76
71
# /legacy-targets should contain legacy target configuration files.
77
72
- mountPath : /legacy-targets
78
73
name : prometheus-storage
You can’t perform that action at this time.
0 commit comments