blob: 20ab052169c93907760c007223e3801be5af7bf0 [file] [log] [blame]
Kiran Kamineni0e87f092018-09-17 15:17:18 -07001# 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#################################################################
18global:
19 nodePortPrefix: 302
Kiran Kamineni0e87f092018-09-17 15:17:18 -070020 alertmanager:
Kiran Kamineni60f72472018-12-18 13:30:38 -080021 enabled: false
Kiran Kamineni0e87f092018-09-17 15:17:18 -070022 grafana:
Kiran Kamineni60f72472018-12-18 13:30:38 -080023 enabled: false
Kiran Kamineni0e87f092018-09-17 15:17:18 -070024 configmapReload:
25 image:
26 repository: jimmidyson/configmap-reload
27 tag: v0.2.2
28 persistence: {}
29
30pullPolicy: Always
31
32# flag to enable debugging - application support required
33debugEnabled: false
34
35#Server Configuration
36image:
37 repository: prom/prometheus
38 tag: v2.4.0
39
40server:
41 enableAdminApi: false
42
43persistence:
44 enabled: true
45 volumeReclaimPolicy: Retain
46 accessMode: ReadWriteOnce
47 size: 8Gi
48 mountPath: /dockerdata-nfs
49 mountSubPath: multicloud/prometheus/server
50 containerMountPath: /prometheus/data
51
52#Service configuration for this chart
53service:
Kiran Kamineni60f72472018-12-18 13:30:38 -080054 type: ClusterIP
Kiran Kamineni0e87f092018-09-17 15:17:18 -070055 internalPort: 9090
Andreas Geissler718fb742023-03-09 09:44:02 +010056 ports:
57 - name: http
58 port: 9090
Kiran Kamineni0e87f092018-09-17 15:17:18 -070059
60# probe configuration parameters
61liveness:
62 initialDelaySeconds: 10
63 periodSeconds: 30
64 timeoutSeconds: 30
65 # necessary to disable liveness probe when setting breakpoints
66 # in debugger so K8s doesn't restart unresponsive container
67 enabled: true
68
69readiness:
70 initialDelaySeconds: 10
71 periodSeconds: 30
72 timeoutSeconds: 30
73 enabled: true
74
75# default number of instances
76replicaCount: 1
77
78nodeSelector: {}
79
80affinity: {}
81
82ingress:
83 enabled: false
84
85flavor: small
86# Segregation for Different environment (Small and Large)
87resources:
88 small:
89 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010090 cpu: "1"
91 memory: "4Gi"
Kiran Kamineni0e87f092018-09-17 15:17:18 -070092 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010093 cpu: "10m"
94 memory: "1Gi"
Kiran Kamineni0e87f092018-09-17 15:17:18 -070095 large:
96 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010097 cpu: "2"
98 memory: "8Gi"
Kiran Kamineni0e87f092018-09-17 15:17:18 -070099 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100100 cpu: "20m"
101 memory: "2Gi"
Kiran Kamineni0e87f092018-09-17 15:17:18 -0700102 unlimited: {}
farida azmy72513552021-10-12 18:55:21 +0200103
104#Pods Service Account
105serviceAccount:
106 nameOverride: multicloud-prometheus
107 roles:
108 - read