5065392214eba35a930479a26011354df1712cca
[oom.git] / kubernetes / multicloud / charts / multicloud-prometheus / values.yaml
1 # Copyright 2018 Intel Corporation, Inc
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24   busyboxRepository: registry.hub.docker.com
25   busyboxImage: library/busybox:latest
26   alertmanager:
27     enabled: false
28   grafana:
29     enabled: false
30   configmapReload:
31     image:
32       repository: jimmidyson/configmap-reload
33       tag: v0.2.2
34   persistence: {}
35
36 pullPolicy: Always
37
38 # flag to enable debugging - application support required
39 debugEnabled: false
40
41 #Server Configuration
42 image:
43   repository: prom/prometheus
44   tag: v2.4.0
45
46 server:
47   enableAdminApi: false
48
49 persistence:
50   enabled: true
51   volumeReclaimPolicy: Retain
52   accessMode: ReadWriteOnce
53   size: 8Gi
54   mountPath: /dockerdata-nfs
55   mountSubPath: multicloud/prometheus/server
56   containerMountPath: /prometheus/data
57
58 #Service configuration for this chart
59 service:
60   type: ClusterIP
61   name: multicloud-prometheus
62   portName: multicloud-prometheus
63   internalPort: 9090
64   externalPort: 9090
65
66 # probe configuration parameters
67 liveness:
68   initialDelaySeconds: 10
69   periodSeconds: 30
70   timeoutSeconds: 30
71   # necessary to disable liveness probe when setting breakpoints
72   # in debugger so K8s doesn't restart unresponsive container
73   enabled: true
74
75 readiness:
76   initialDelaySeconds: 10
77   periodSeconds: 30
78   timeoutSeconds: 30
79   enabled: true
80
81 # default number of instances
82 replicaCount: 1
83
84 nodeSelector: {}
85
86 affinity: {}
87
88 ingress:
89   enabled: false
90
91 flavor: small
92 # Segregation for Different environment (Small and Large)
93 resources:
94   small:
95     limits:
96       cpu: 1
97       memory: 4Gi
98     requests:
99       cpu: 10m
100       memory: 1Gi
101   large:
102     limits:
103       cpu: 2
104       memory: 8Gi
105     requests:
106       cpu: 20m
107       memory: 2Gi
108   unlimited: {}