diff --git a/charts/incubator/loki/CHANGELOG.md b/charts/incubator/loki/CHANGELOG.md new file mode 100644 index 00000000000..a6d1c0bf58d --- /dev/null +++ b/charts/incubator/loki/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog
+ + + +### loki-0.0.1 (2021-11-21) + +#### Add + +* Add Loki ([#1367](https://github.com/truecharts/apps/issues/1367)) + diff --git a/charts/incubator/loki/CONFIG.md b/charts/incubator/loki/CONFIG.md new file mode 100644 index 00000000000..fc9b2fa2d5f --- /dev/null +++ b/charts/incubator/loki/CONFIG.md @@ -0,0 +1,8 @@ +# Configuration Options + +##### Connecting to other apps +If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide: +https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/ + +##### Available config options +In the future this page is going to contain an automated list of options available in the installation/edit UI. diff --git a/charts/incubator/loki/Chart.yaml b/charts/incubator/loki/Chart.yaml index a2c21acb120..2f536428d6a 100644 --- a/charts/incubator/loki/Chart.yaml +++ b/charts/incubator/loki/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: "0.20.36" +appVersion: "2.4.1" dependencies: - name: common repository: https://truecharts.org diff --git a/charts/incubator/loki/README.md b/charts/incubator/loki/README.md new file mode 100644 index 00000000000..b9cf62fe370 --- /dev/null +++ b/charts/incubator/loki/README.md @@ -0,0 +1,38 @@ +# Introduction + +Loki: like Prometheus, but for logs. + +TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation. +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)** + +## Source Code + +* + +## Requirements + +Kubernetes: `>=1.16.0-0` + +## Dependencies + +| Repository | Name | Version | +|------------|------|---------| +| https://grafana.github.io/helm-charts | promtail | ^2.2.0 | +| https://truecharts.org | common | 8.7.1 | + +## Installing the Chart + +To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/). + +## Uninstalling the Chart + +To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/). + +## Support + +- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) first. +- See the [Wiki](https://truecharts.org) +- Check our [Discord](https://discord.gg/tVsPTHWTtr) +- Open a [issue](https://github.com/truecharts/apps/issues/new/choose) +--- +All Rights Reserved - The TrueCharts Project diff --git a/charts/incubator/loki/helm-values.md b/charts/incubator/loki/helm-values.md new file mode 100644 index 00000000000..aa25c358643 --- /dev/null +++ b/charts/incubator/loki/helm-values.md @@ -0,0 +1,69 @@ +# Default Helm-Values + +TrueCharts is primarily build to supply TrueNAS SCALE Apps. +However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file. + +Most of our Apps also consume our "common" Helm Chart. +If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart. +You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document. + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| alerting_groups | list | `[]` | | +| args[0] | string | `"-config.file=/etc/loki/loki.yaml"` | | +| config.auth_enabled | bool | `false` | | +| config.chunk_store_config.max_look_back_period | string | `"0s"` | | +| config.compactor.shared_store | string | `"filesystem"` | | +| config.compactor.working_directory | string | `"/data/loki/boltdb-shipper-compactor"` | | +| config.ingester.chunk_block_size | int | `262144` | | +| config.ingester.chunk_idle_period | string | `"3m"` | | +| config.ingester.chunk_retain_period | string | `"1m"` | | +| config.ingester.lifecycler.ring.kvstore.store | string | `"inmemory"` | | +| config.ingester.lifecycler.ring.replication_factor | int | `1` | | +| config.ingester.max_transfer_retries | int | `0` | | +| config.ingester.wal.dir | string | `"/data/loki/wal"` | | +| config.limits_config.enforce_metric_name | bool | `false` | | +| config.limits_config.reject_old_samples | bool | `true` | | +| config.limits_config.reject_old_samples_max_age | string | `"168h"` | | +| config.schema_config.configs[0].from | string | `"2020-10-24"` | | +| config.schema_config.configs[0].index.period | string | `"24h"` | | +| config.schema_config.configs[0].index.prefix | string | `"index_"` | | +| config.schema_config.configs[0].object_store | string | `"filesystem"` | | +| config.schema_config.configs[0].schema | string | `"v11"` | | +| config.schema_config.configs[0].store | string | `"boltdb-shipper"` | | +| config.server.http_listen_port | int | `3100` | | +| config.storage_config.boltdb_shipper.active_index_directory | string | `"/data/loki/boltdb-shipper-active"` | | +| config.storage_config.boltdb_shipper.cache_location | string | `"/data/loki/boltdb-shipper-cache"` | | +| config.storage_config.boltdb_shipper.cache_ttl | string | `"24h"` | | +| config.storage_config.boltdb_shipper.shared_store | string | `"filesystem"` | | +| config.storage_config.filesystem.directory | string | `"/data/loki/chunks"` | | +| config.table_manager.retention_deletes_enabled | bool | `false` | | +| config.table_manager.retention_period | string | `"0s"` | | +| controller.replicas | int | `1` | Number of desired pods | +| controller.revisionHistoryLimit | int | `3` | ReplicaSet revision history limit | +| controller.rollingUpdate.partition | string | `nil` | Set statefulset RollingUpdate partition | +| controller.rollingUpdate.surge | string | `nil` | Set deployment RollingUpdate max surge | +| controller.rollingUpdate.unavailable | int | `1` | Set deployment RollingUpdate max unavailable | +| controller.strategy | string | `"RollingUpdate"` | 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. | +| controller.type | string | `"statefulset"` | Set the controller type. Valid options are deployment, daemonset or statefulset | +| env | object | `{}` | | +| image.pullPolicy | string | `"IfNotPresent"` | | +| image.repository | string | `"grafana/loki"` | | +| image.tag | string | `"2.4.1@sha256:f53b40251a601e491c36a4153aa65630c4ebf59404f36d6a532fb261a576ea9f"` | | +| persistence.config.enabled | bool | `true` | | +| persistence.config.mountPath | string | `"/etc/loki"` | Where to mount the volume in the main container. | +| persistence.config.objectName | string | `"{{ include \"common.names.fullname\" . -}}-config"` | Specify the name of the configmap object to be mounted | +| persistence.config.type | string | `"secret"` | | +| probes.liveness.path | string | `"/ready"` | | +| probes.readiness.path | string | `"/ready"` | | +| probes.startup.path | string | `"/ready"` | | +| promtail.enabled | bool | `true` | | +| service.main.ports.main.port | int | `3100` | | +| service.main.ports.main.protocol | string | `"HTTP"` | | +| service.main.ports.main.targetPort | int | `3100` | | +| volumeClaimTemplates.data.enabled | bool | `true` | | +| volumeClaimTemplates.data.mountPath | string | `"/data"` | | + +All Rights Reserved - The TrueCharts Project diff --git a/docs/apps/incubator/loki/CHANGELOG.md b/docs/apps/incubator/loki/CHANGELOG.md new file mode 100644 index 00000000000..a6d1c0bf58d --- /dev/null +++ b/docs/apps/incubator/loki/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog
+ + + +### loki-0.0.1 (2021-11-21) + +#### Add + +* Add Loki ([#1367](https://github.com/truecharts/apps/issues/1367)) + diff --git a/docs/apps/incubator/loki/CONFIG.md b/docs/apps/incubator/loki/CONFIG.md new file mode 100644 index 00000000000..fc9b2fa2d5f --- /dev/null +++ b/docs/apps/incubator/loki/CONFIG.md @@ -0,0 +1,8 @@ +# Configuration Options + +##### Connecting to other apps +If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide: +https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/ + +##### Available config options +In the future this page is going to contain an automated list of options available in the installation/edit UI. diff --git a/docs/apps/incubator/loki/helm-values.md b/docs/apps/incubator/loki/helm-values.md new file mode 100644 index 00000000000..aa25c358643 --- /dev/null +++ b/docs/apps/incubator/loki/helm-values.md @@ -0,0 +1,69 @@ +# Default Helm-Values + +TrueCharts is primarily build to supply TrueNAS SCALE Apps. +However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file. + +Most of our Apps also consume our "common" Helm Chart. +If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart. +You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document. + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| alerting_groups | list | `[]` | | +| args[0] | string | `"-config.file=/etc/loki/loki.yaml"` | | +| config.auth_enabled | bool | `false` | | +| config.chunk_store_config.max_look_back_period | string | `"0s"` | | +| config.compactor.shared_store | string | `"filesystem"` | | +| config.compactor.working_directory | string | `"/data/loki/boltdb-shipper-compactor"` | | +| config.ingester.chunk_block_size | int | `262144` | | +| config.ingester.chunk_idle_period | string | `"3m"` | | +| config.ingester.chunk_retain_period | string | `"1m"` | | +| config.ingester.lifecycler.ring.kvstore.store | string | `"inmemory"` | | +| config.ingester.lifecycler.ring.replication_factor | int | `1` | | +| config.ingester.max_transfer_retries | int | `0` | | +| config.ingester.wal.dir | string | `"/data/loki/wal"` | | +| config.limits_config.enforce_metric_name | bool | `false` | | +| config.limits_config.reject_old_samples | bool | `true` | | +| config.limits_config.reject_old_samples_max_age | string | `"168h"` | | +| config.schema_config.configs[0].from | string | `"2020-10-24"` | | +| config.schema_config.configs[0].index.period | string | `"24h"` | | +| config.schema_config.configs[0].index.prefix | string | `"index_"` | | +| config.schema_config.configs[0].object_store | string | `"filesystem"` | | +| config.schema_config.configs[0].schema | string | `"v11"` | | +| config.schema_config.configs[0].store | string | `"boltdb-shipper"` | | +| config.server.http_listen_port | int | `3100` | | +| config.storage_config.boltdb_shipper.active_index_directory | string | `"/data/loki/boltdb-shipper-active"` | | +| config.storage_config.boltdb_shipper.cache_location | string | `"/data/loki/boltdb-shipper-cache"` | | +| config.storage_config.boltdb_shipper.cache_ttl | string | `"24h"` | | +| config.storage_config.boltdb_shipper.shared_store | string | `"filesystem"` | | +| config.storage_config.filesystem.directory | string | `"/data/loki/chunks"` | | +| config.table_manager.retention_deletes_enabled | bool | `false` | | +| config.table_manager.retention_period | string | `"0s"` | | +| controller.replicas | int | `1` | Number of desired pods | +| controller.revisionHistoryLimit | int | `3` | ReplicaSet revision history limit | +| controller.rollingUpdate.partition | string | `nil` | Set statefulset RollingUpdate partition | +| controller.rollingUpdate.surge | string | `nil` | Set deployment RollingUpdate max surge | +| controller.rollingUpdate.unavailable | int | `1` | Set deployment RollingUpdate max unavailable | +| controller.strategy | string | `"RollingUpdate"` | 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. | +| controller.type | string | `"statefulset"` | Set the controller type. Valid options are deployment, daemonset or statefulset | +| env | object | `{}` | | +| image.pullPolicy | string | `"IfNotPresent"` | | +| image.repository | string | `"grafana/loki"` | | +| image.tag | string | `"2.4.1@sha256:f53b40251a601e491c36a4153aa65630c4ebf59404f36d6a532fb261a576ea9f"` | | +| persistence.config.enabled | bool | `true` | | +| persistence.config.mountPath | string | `"/etc/loki"` | Where to mount the volume in the main container. | +| persistence.config.objectName | string | `"{{ include \"common.names.fullname\" . -}}-config"` | Specify the name of the configmap object to be mounted | +| persistence.config.type | string | `"secret"` | | +| probes.liveness.path | string | `"/ready"` | | +| probes.readiness.path | string | `"/ready"` | | +| probes.startup.path | string | `"/ready"` | | +| promtail.enabled | bool | `true` | | +| service.main.ports.main.port | int | `3100` | | +| service.main.ports.main.protocol | string | `"HTTP"` | | +| service.main.ports.main.targetPort | int | `3100` | | +| volumeClaimTemplates.data.enabled | bool | `true` | | +| volumeClaimTemplates.data.mountPath | string | `"/data"` | | + +All Rights Reserved - The TrueCharts Project diff --git a/docs/apps/incubator/loki/index.md b/docs/apps/incubator/loki/index.md new file mode 100644 index 00000000000..b9cf62fe370 --- /dev/null +++ b/docs/apps/incubator/loki/index.md @@ -0,0 +1,38 @@ +# Introduction + +Loki: like Prometheus, but for logs. + +TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation. +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)** + +## Source Code + +* + +## Requirements + +Kubernetes: `>=1.16.0-0` + +## Dependencies + +| Repository | Name | Version | +|------------|------|---------| +| https://grafana.github.io/helm-charts | promtail | ^2.2.0 | +| https://truecharts.org | common | 8.7.1 | + +## Installing the Chart + +To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/). + +## Uninstalling the Chart + +To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/). + +## Support + +- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) first. +- See the [Wiki](https://truecharts.org) +- Check our [Discord](https://discord.gg/tVsPTHWTtr) +- Open a [issue](https://github.com/truecharts/apps/issues/new/choose) +--- +All Rights Reserved - The TrueCharts Project diff --git a/docs/index.yaml b/docs/index.yaml index e7cae4210b3..a921065961e 100644 --- a/docs/index.yaml +++ b/docs/index.yaml @@ -110615,6 +110615,41 @@ entries: urls: - https://github.com/truecharts/apps/releases/download/logitech-media-server-1.0.0/logitech-media-server-1.0.0.tgz version: 1.0.0 + loki: + - annotations: + truecharts.org/SCALE-support: "true" + truecharts.org/catagories: | + - logs + truecharts.org/grade: U + apiVersion: v2 + appVersion: 2.4.1 + created: "2021-11-21T20:56:32.310748575Z" + dependencies: + - name: common + repository: https://truecharts.org + version: 8.7.1 + - condition: promtail.enabled + name: promtail + repository: https://grafana.github.io/helm-charts + version: ^2.2.0 + description: 'Loki: like Prometheus, but for logs.' + digest: d13d61a7cf0d1067550512ef3ab5d99185fd6f01412950c25df4d5de3e238e21 + home: https://github.com/truecharts/apps/tree/master/charts/stable/loki + icon: https://raw.githubusercontent.com/grafana/loki/master/docs/sources/logo.png + keywords: + - logs + kubeVersion: '>=1.16.0-0' + maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org + name: loki + sources: + - https://github.com/grafana/loki + type: application + urls: + - https://github.com/truecharts/apps/releases/download/loki-0.0.1/loki-0.0.1.tgz + version: 0.0.1 lychee: - annotations: truecharts.org/SCALE-support: "true" @@ -248361,4 +248396,4 @@ entries: urls: - https://github.com/truecharts/apps/releases/download/zwavejs2mqtt-3.1.5/zwavejs2mqtt-3.1.5.tgz version: 3.1.5 -generated: "2021-11-21T19:23:31.168316313Z" +generated: "2021-11-21T20:56:32.38646276Z"