-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Closed
Add loki-stack chart #119
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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>
* 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>
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>
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>
Hi. is loki/loki chart at https://grafana.github.io/loki/charts moving to here? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.