blob: d000d5a1453ed3abccb589d756c2d30f5e2e5ffe [file] [log] [blame]
Mohammed Naser8a2c8fb2023-02-19 17:23:55 +00001# Copyright (c) 2023 VEXXHOST, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# 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, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
15_loki_helm_values:
Mohammed Naser65cda132024-05-02 14:34:08 -040016 deploymentMode: SingleBinary
Mohammed Naser8a2c8fb2023-02-19 17:23:55 +000017 loki:
Giovanni Tirlonie3e78a02024-04-18 22:35:28 -030018 server:
19 log_level: warn
Mohammed Naser11937742023-03-01 20:37:04 +000020 image:
Mohammed Naser31171f42023-03-19 00:10:46 +000021 registry: "{{ atmosphere_images['loki'] | vexxhost.kubernetes.docker_image('domain') }}"
22 repository: "{{ atmosphere_images['loki'] | vexxhost.kubernetes.docker_image('path') }}"
23 tag: "{{ atmosphere_images['loki'] | vexxhost.kubernetes.docker_image('tag') }}"
Mohammed Naser8a2c8fb2023-02-19 17:23:55 +000024 auth_enabled: false
25 commonConfig:
26 replication_factor: 1
Oleksandr K.6f6ddec2024-08-23 14:49:14 +020027 limits_config:
28 max_label_names_per_series: 25
Oleksandr K.7c30f262024-08-31 20:52:55 +020029 rulerConfig:
30 alertmanager_url: http://alertmanager-operated.monitoring:9093
31 enable_alertmanager_v2: true
32 enable_api: true
33 rule_path: /var/loki/rules-temp
34 ring:
35 kvstore:
36 store: inmemory
37 storage:
38 type: local
39 local:
40 directory: /var/loki/rulestorage
Mohammed Naser8a2c8fb2023-02-19 17:23:55 +000041 storage:
42 type: filesystem
Mohammed Naser65cda132024-05-02 14:34:08 -040043 schemaConfig:
44 configs:
45 - from: 2024-04-01
46 store: tsdb
47 object_store: filesystem
48 schema: v13
49 index:
50 prefix: index_
51 period: 24h
Mohammed Naser8a2c8fb2023-02-19 17:23:55 +000052 test:
53 enabled: false
Mohammed Naser8a2c8fb2023-02-19 17:23:55 +000054 singleBinary:
55 replicas: 1
56 nodeSelector:
57 openstack-control-plane: enabled
58 persistence:
Mohammed Naser62301c42023-10-16 13:06:27 -040059 size: 256Gi
Oleksandr K.7c30f262024-08-31 20:52:55 +020060 extraVolumeMounts:
61 - name: rules
62 mountPath: /var/loki/rulestorage/fake
63 extraVolumes:
64 - name: rules
65 configMap:
66 name: loki-alerting-rules
Mohammed Naser65cda132024-05-02 14:34:08 -040067 write:
68 replicas: 0
69 read:
70 replicas: 0
71 backend:
72 replicas: 0
Mohammed Naser11937742023-03-01 20:37:04 +000073 gateway:
74 image:
Mohammed Naser31171f42023-03-19 00:10:46 +000075 registry: "{{ atmosphere_images['loki_gateway'] | vexxhost.kubernetes.docker_image('domain') }}"
76 repository: "{{ atmosphere_images['loki_gateway'] | vexxhost.kubernetes.docker_image('path') }}"
77 tag: "{{ atmosphere_images['loki_gateway'] | vexxhost.kubernetes.docker_image('tag') }}"
Michiel Piscaerd450dba2023-10-18 14:24:33 +020078 nodeSelector:
79 openstack-control-plane: enabled
Mohammed Naser65cda132024-05-02 14:34:08 -040080 lokiCanary:
81 enabled: false
Oleksandr K.7c30f262024-08-31 20:52:55 +020082 extraObjects:
83 - apiVersion: v1
84 kind: ConfigMap
85 metadata:
86 name: loki-alerting-rules
87 labels:
88 loki_rule: "atmosphere"
89 data:
90 loki-alerting-rules.yaml: |-
91 groups:
92 - name: additional-loki-rules
93 rules:
94 - alert: NovaCellNotResponding
95 expr: 'count_over_time({pod_label_component="compute"} |= "not responding and hence is being omitted from the results" [1m]) > 0'
96 labels:
97 severity: critical
98 annotations:
99 summary: Nova Cell is not responding. It can cause port deletion in CAPI.