Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / multicloud / components / multicloud-prometheus / components / prometheus-grafana / 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   persistence: {}
20
21 pullPolicy: Always
22
23 # flag to enable debugging - application support required
24 debugEnabled: false
25
26 #Alertmanager Configuration
27 image:
28   repository: grafana/grafana
29   tag: 5.2.4
30
31 downloadDashboardsImage:
32   repository: appropriate/curl
33   tag: latest
34
35 persistence:
36   enabled: true
37   volumeReclaimPolicy: Retain
38   accessMode: ReadWriteOnce
39   size: 10Gi
40   mountPath: /dockerdata-nfs
41   mountSubPath: multicloud/prometheus/grafana
42   containerMountPath: /grafana/data
43
44 #Service configuration for this chart
45 service:
46   type: ClusterIP
47   name: multicloud-prometheus-grafana
48   portName: prometheus-grafana
49   internalPort: 3000
50   externalPort: 3000
51
52 #Grafana Datasources
53 datasources:
54   datasources.yaml:
55     apiVersion: 1
56     datasources:
57     - name: Prometheus
58       type: prometheus
59       #Make sure the port number matches for the prometheus service
60       url: http://multicloud-prometheus:9090
61       access: proxy
62       isDefault: true
63
64
65 #Grafana Dashboard providers
66 dashboardProviders: {}
67
68 #Grafana Dashboards for importing
69 #This requires dashboardProviders to be enabled with some data
70 #The dashboards will be downloaded from the URL provided in
71 #dashboardProviders
72 dashboards: {}
73
74 # probe configuration parameters
75 liveness:
76   initialDelaySeconds: 10
77   periodSeconds: 30
78   timeoutSeconds: 30
79   enabled: true
80
81 readiness:
82   initialDelaySeconds: 10
83   periodSeconds: 30
84   timeoutSeconds: 30
85   enabled: true
86
87 # default number of instances
88 replicaCount: 1
89
90 nodeSelector: {}
91
92 affinity: {}
93
94 ingress:
95   enabled: false
96
97 flavor: small
98 # Segregation for Different environment (Small and Large)
99 resources:
100   small:
101     limits:
102       cpu: "1"
103       memory: "4Gi"
104     requests:
105       cpu: "10m"
106       memory: "1Gi"
107   large:
108     limits:
109       cpu: "2"
110       memory: "8Gi"
111     requests:
112       cpu: "20m"
113       memory: "2Gi"
114   unlimited: {}