**Description** Move the following apps to incubator. ``` | Chart Name | Chart Name | Chart Name | | ----------------- | ----------- | -------------------------- | | authentik | darktable | guacamole-client | | cloudflared | dsmr-reader | habridge | | dupeguru | filerun | filezilla | | firefox | flashpaper | focalboard | | gotify | grist | icantbelieveitsnotvaletudo | | icinga2 | inventree | invidious | | joplin-server | k8s-gateway | kimai | | koel | kopia | kutt | | leantime | libreoffice | librephotos | | linkace | loki | lychee | | mattermost | mealie | miniflux | | ml-workspace | mosquitto | nextcloud | | openkm | openldap | penpot | | photoview | pialert | piaware | | pidgin | pihole | plexanisync | | protonmail-bridge | pydio-cells | recipes | | rtmpserver | sdtd | shiori | | snipe-it | statping-ng | synapse | | teamspeak3 | typecho | wbo | | wger | wireshark | zusam | | xbackbone | youtrack | | ``` ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Co-authored-by: xtar97 <dev.xtar97@gmail.com>
164 lines
4.1 KiB
YAML
164 lines
4.1 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/loki
|
|
pullPolicy: IfNotPresent
|
|
tag: 2.8.1@sha256:00c008b06432843b5ad3754d3da927080ec4e0a42f9a828cd6d8c74f338d96f1
|
|
|
|
controller:
|
|
# -- Set the controller type.
|
|
# Valid options are deployment, daemonset or statefulset
|
|
type: statefulset
|
|
# -- Number of desired pods
|
|
replicas: 1
|
|
# -- Set the controller upgrade strategy
|
|
# For Deployments, valid values are Recreate (default) and RollingUpdate.
|
|
# For StatefulSets, valid values are OnDelete and RollingUpdate (default).
|
|
# DaemonSets ignore this.
|
|
strategy: RollingUpdate
|
|
rollingUpdate:
|
|
# -- Set deployment RollingUpdate max unavailable
|
|
unavailable: 1
|
|
# -- Set deployment RollingUpdate max surge
|
|
surge:
|
|
# -- Set statefulset RollingUpdate partition
|
|
partition:
|
|
# -- ReplicaSet revision history limit
|
|
revisionHistoryLimit: 3
|
|
|
|
args:
|
|
- "-config.file=/etc/loki/loki.yaml"
|
|
|
|
## TODO add alertinggroups support like this
|
|
# configmap:
|
|
# alerting:
|
|
# enabled: true
|
|
# data:
|
|
# '{{ include "tc.common.names.fullname" . }}-alerting-rules.yaml': |-
|
|
# {{- if gt (len .Values.alerting_groups) 0 }}
|
|
# groups:
|
|
# {{- toYaml .Values.alerting_groups | nindent 6 }}
|
|
# {{- end }}
|
|
|
|
secret:
|
|
config:
|
|
enabled: true
|
|
data:
|
|
loki.yaml: |
|
|
{{- tpl (toYaml .Values.config) . | nindent 8 }}
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: HTTP
|
|
targetPort: 3100
|
|
port: 3100
|
|
|
|
probes:
|
|
liveness:
|
|
path: "/ready"
|
|
|
|
readiness:
|
|
path: "/ready"
|
|
|
|
startup:
|
|
path: "/ready"
|
|
|
|
config:
|
|
# existingSecret:
|
|
auth_enabled: false
|
|
ingester:
|
|
chunk_idle_period: 3m
|
|
chunk_block_size: 262144
|
|
chunk_retain_period: 1m
|
|
max_transfer_retries: 0
|
|
wal:
|
|
dir: /data/loki/wal
|
|
lifecycler:
|
|
ring:
|
|
kvstore:
|
|
store: inmemory
|
|
replication_factor: 1
|
|
|
|
## Different ring configs can be used. E.g. Consul
|
|
# ring:
|
|
# store: consul
|
|
# replication_factor: 1
|
|
# consul:
|
|
# host: "consul:8500"
|
|
# prefix: ""
|
|
# http_client_timeout: "20s"
|
|
# consistent_reads: true
|
|
limits_config:
|
|
enforce_metric_name: false
|
|
reject_old_samples: true
|
|
reject_old_samples_max_age: 168h
|
|
schema_config:
|
|
configs:
|
|
- from: 2020-10-24
|
|
store: boltdb-shipper
|
|
object_store: filesystem
|
|
schema: v11
|
|
index:
|
|
prefix: index_
|
|
period: 24h
|
|
server:
|
|
http_listen_port: 3100
|
|
storage_config:
|
|
boltdb_shipper:
|
|
active_index_directory: /data/loki/boltdb-shipper-active
|
|
cache_location: /data/loki/boltdb-shipper-cache
|
|
cache_ttl: 24h
|
|
shared_store: filesystem
|
|
filesystem:
|
|
directory: /data/loki/chunks
|
|
chunk_store_config:
|
|
max_look_back_period: 0s
|
|
table_manager:
|
|
retention_deletes_enabled: false
|
|
retention_period: 0s
|
|
compactor:
|
|
working_directory: /data/loki/boltdb-shipper-compactor
|
|
shared_store: filesystem
|
|
# Needed for Alerting: https://grafana.com/docs/loki/latest/alerting/
|
|
# This is just a simple example, for more details: https://grafana.com/docs/loki/latest/configuration/#ruler_config
|
|
# ruler:
|
|
# storage:
|
|
# type: local
|
|
# local:
|
|
# directory: /rules
|
|
# rule_path: /tmp/scratch
|
|
# alertmanager_url: http://alertmanager.svc.namespace:9093
|
|
# ring:
|
|
# kvstore:
|
|
# store: inmemory
|
|
# enable_api: true
|
|
|
|
# Specify Loki Alerting rules based on this documentation: https://grafana.com/docs/loki/latest/alerting/
|
|
# When specified, you also need to add a ruler config section above. An example is shown in the alerting docs.
|
|
alerting_groups: []
|
|
# - name: example
|
|
# rules:
|
|
# - alert: HighThroughputLogStreams
|
|
# expr: sum by(container) (rate({job=~"loki-dev/.*"}[1m])) > 1000
|
|
# for: 2m
|
|
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
type: secret
|
|
# -- Specify the name of the configmap object to be mounted
|
|
objectName: '{{ include "tc.common.names.fullname" . -}}-config'
|
|
# -- Where to mount the volume in the main container.
|
|
mountPath: "/etc/loki"
|
|
|
|
volumeClaimTemplates:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/data"
|
|
|
|
promtail:
|
|
enabled: true
|
|
|
|
portal:
|
|
enabled: true
|