Kiran Kamineni | 0e87f09 | 2018-09-17 15:17:18 -0700 | [diff] [blame] | 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 |
Kiran Kamineni | 0e87f09 | 2018-09-17 15:17:18 -0700 | [diff] [blame] | 20 | alertmanager: |
Kiran Kamineni | 60f7247 | 2018-12-18 13:30:38 -0800 | [diff] [blame] | 21 | enabled: false |
Kiran Kamineni | 0e87f09 | 2018-09-17 15:17:18 -0700 | [diff] [blame] | 22 | grafana: |
Kiran Kamineni | 60f7247 | 2018-12-18 13:30:38 -0800 | [diff] [blame] | 23 | enabled: false |
Kiran Kamineni | 0e87f09 | 2018-09-17 15:17:18 -0700 | [diff] [blame] | 24 | configmapReload: |
| 25 | image: |
| 26 | repository: jimmidyson/configmap-reload |
| 27 | tag: v0.2.2 |
| 28 | persistence: {} |
| 29 | |
| 30 | pullPolicy: Always |
| 31 | |
| 32 | # flag to enable debugging - application support required |
| 33 | debugEnabled: false |
| 34 | |
| 35 | #Server Configuration |
| 36 | image: |
| 37 | repository: prom/prometheus |
| 38 | tag: v2.4.0 |
| 39 | |
| 40 | server: |
| 41 | enableAdminApi: false |
| 42 | |
| 43 | persistence: |
| 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 |
| 53 | service: |
Kiran Kamineni | 60f7247 | 2018-12-18 13:30:38 -0800 | [diff] [blame] | 54 | type: ClusterIP |
Kiran Kamineni | 0e87f09 | 2018-09-17 15:17:18 -0700 | [diff] [blame] | 55 | internalPort: 9090 |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 56 | ports: |
| 57 | - name: http |
| 58 | port: 9090 |
Kiran Kamineni | 0e87f09 | 2018-09-17 15:17:18 -0700 | [diff] [blame] | 59 | |
| 60 | # probe configuration parameters |
| 61 | liveness: |
| 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 | |
| 69 | readiness: |
| 70 | initialDelaySeconds: 10 |
| 71 | periodSeconds: 30 |
| 72 | timeoutSeconds: 30 |
| 73 | enabled: true |
| 74 | |
| 75 | # default number of instances |
| 76 | replicaCount: 1 |
| 77 | |
| 78 | nodeSelector: {} |
| 79 | |
| 80 | affinity: {} |
| 81 | |
| 82 | ingress: |
| 83 | enabled: false |
| 84 | |
| 85 | flavor: small |
| 86 | # Segregation for Different environment (Small and Large) |
| 87 | resources: |
| 88 | small: |
| 89 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 90 | cpu: "1" |
| 91 | memory: "4Gi" |
Kiran Kamineni | 0e87f09 | 2018-09-17 15:17:18 -0700 | [diff] [blame] | 92 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 93 | cpu: "10m" |
| 94 | memory: "1Gi" |
Kiran Kamineni | 0e87f09 | 2018-09-17 15:17:18 -0700 | [diff] [blame] | 95 | large: |
| 96 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 97 | cpu: "2" |
| 98 | memory: "8Gi" |
Kiran Kamineni | 0e87f09 | 2018-09-17 15:17:18 -0700 | [diff] [blame] | 99 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 100 | cpu: "20m" |
| 101 | memory: "2Gi" |
Kiran Kamineni | 0e87f09 | 2018-09-17 15:17:18 -0700 | [diff] [blame] | 102 | unlimited: {} |
farida azmy | 7251355 | 2021-10-12 18:55:21 +0200 | [diff] [blame] | 103 | |
| 104 | #Pods Service Account |
| 105 | serviceAccount: |
| 106 | nameOverride: multicloud-prometheus |
| 107 | roles: |
| 108 | - read |