Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add loki-stack chart #119

Closed
wants to merge 246 commits into from
Closed

Add loki-stack chart #119

wants to merge 246 commits into from

Conversation

torstenwalter
Copy link
Collaborator

@torstenwalter torstenwalter commented Dec 9, 2020

No description provided.

tomwilkie and others added 30 commits April 15, 2018 14:31
* Add loki helm chart

Signed-off-by: Julien Garcia Gonzalez <julien@giantswarm.io>

* Add promtail helm chart

Signed-off-by: Julien Garcia Gonzalez <julien@giantswarm.io>

* Update loki conf from comment

Signed-off-by: Julien Garcia Gonzalez <julien@giantswarm.io>

* Update promtail conf from comment

Signed-off-by: Julien Garcia Gonzalez <julien@giantswarm.io>

* Update values from comment

Signed-off-by: Julien Garcia Gonzalez <julien@giantswarm.io>

* adding resources limit and request

Signed-off-by: Julien Garcia Gonzalez <julien@giantswarm.io>

* update README

Signed-off-by: Julien Garcia Gonzalez <julien@giantswarm.io>

* rename to daemonset promtail

Signed-off-by: Julien Garcia Gonzalez <julien@giantswarm.io>

* use masger for loki

Signed-off-by: Julien Garcia Gonzalez <julien@giantswarm.io>

* Move into production repo, re-add readme.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

* Move to production folder

Signed-off-by: Julien Garcia Gonzalez <julien@giantswarm.io>

* Review feedback; add instructions for installing Grafana with helm.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Xiang Dai <764524258@qq.com>
Signed-off-by: Xiang Dai <764524258@qq.com>
* allow promtail target path to be a glob match

Promtail now expects __path__ to be a glob. All files that match
the glob expression will be tailed.  If new files are created that
match the glob, they will immediately be tailed.

* remove entry from positions file when file is deleted

* fix syncing the current positions to positions file

* handle file renames

When a file is renamed a "rename" and a "create" event are sent.
We need to treat the rename as a remove.  If the new filename matches
the path glob, then we will start tailing it when the "create" event
is reveived.

* lint
fixes #190
Pods can have multiple containers. This fix ensures that we collect
logs for all containers.
add container_name label to logs
…me/ for the helm chart too.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* Update cortex to include optionally-enforce-metric-name

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

* Configure validation to allow 'metrics' without metric names.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* Flush idle chunks properly

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

* Review feedback

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

* Review feedback.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

* Check the correct chunk is full before appending a new chunk.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

* Add the config to helm and ksonnet too.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kubelet creates a new log file when a container is restarted.
So we need to catpure all log files in the
`/var/logs/pods/<uid>/<container_name>/` dir.
tail all container log files
dont add pods twice if they have app and name labels
* update helm values yaml

- set persistence.enabled as 'false' as default since there is no pv as
default

- set persistence.storageClassName as 'default' since even if pv exists, pvc
still need storageClassName:

```
  Normal  FailedBinding  8s (x4 over 35s)  persistentvolume-controller  no persistent volumes available for this claim and no storage class is set
```

Signed-off-by: Xiang Dai <764524258@qq.com>

* helm: delete duplicate empty blank

Signed-off-by: Xiang Dai <764524258@qq.com>
Loki pod needs secret mounting privileges
- Loki and promtail are under heavy development, always pulling makes sure bug fixes are shipped
Change image pull default policy to Always
…adiness proble for loki and example antiaffinity.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
StevenReitsma and others added 24 commits July 17, 2020 09:54
* Logstash plugin

* include_labels

* include_labels

* Removes binary.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Improve documentation and remove the push path.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Move to cmd.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Add more precision for jruby.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Update docs/clients/logstash/README.md

* p
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* ignore

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* remove ignore file/

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* More precision for installing jruby

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Rename without Grafana

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* A lot of refactoring and testing.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* change delay logic

* Fully tested version.

Now testing/writing docs and charts.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Forgot to save merge.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* working version.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Makefile + easier docker build.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* adds ci to build logstash image.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Fix build for logstash.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Adds example with helm charts.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Fix target to send 10 logs with logstash.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Improved documentation.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* add missing helm add repo for external repo

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Review comment.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Fixes loki service in Promtail.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Update loki-stack version

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

Co-authored-by: Cyril Tovena <cyril.tovena@gmail.com>
Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>
As per discussed in #2406.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
* enable externalIPs support

Signed-off-by: Ryan Holt <ryan@ryanholt.net>

* bump loki-stack chart version too

Signed-off-by: Ryan Holt <ryan@ryanholt.net>
* makes pod security policy configurable

* bump promtail chart version

* bump loki-stack chart version
* change the max batch size to 1MB for all the defaults including helm and fluent-bit, attempt to centralize this config a little where possible.

* fix test
* Bump Helm chart dependencies to fix linting

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>

* Fix ct config

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>

* Add new repos to Makefile

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>
* helm and ksonnet to use boltdb-shipper

* updating image versions and chart versions

* update the chart deps

* updating reference to new version

* fix helm config for boltdb-shipper
* Fix broken logo

The log has moved, so Chart.yaml logo is incorrect. This causes tools like CNCF Artifact Hub to fail displaying the logo.

* Update all logos.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

Co-authored-by: Cyril Tovena <cyril.tovena@gmail.com>
* force fluent-bit configmap BatchSize to be evaluated as an `int`

* update fluent-bit helm chart patch version
Co-authored-by: Cyril Tovena <cyril.tovena@gmail.com>
- ConfigMap containing the rules
- VolumeMount for rules
- scratch mount for rule parsing

Fixes #2964

Signed-off-by: Christian Zunker <christian.zunker@codecentric.cloud>
* Fix schema of logstash default values

* Bump helm chart version
This prevents a clash with the Loki plugin now included with
the Fluent Bit agent by default.

The output plugin is now named `grafana-loki`.

Signed-off-by: Heds Simons <heds@whaleway.net>
Signed-off-by: Torsten Walter <torsten.walter@syncier.com>
Signed-off-by: Torsten Walter <torsten.walter@syncier.com>
Signed-off-by: Torsten Walter <torsten.walter@syncier.com>
@torstenwalter torstenwalter changed the title Add loki chart Add loki-stack chart Dec 9, 2020
loki charts do not have explicit CODEOWNERS defined
therefor it's not possible to validate those.

Signed-off-by: Torsten Walter <torsten.walter@syncier.com>
@torstenwalter torstenwalter deleted the add-loki-chart branch December 9, 2020 22:08
@shinebayar-g
Copy link

Hi. is loki/loki chart at https://grafana.github.io/loki/charts moving to here?

@torstenwalter
Copy link
Collaborator Author

Yes https://github.com/grafana/helm-charts/tree/main/charts/loki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.