Sha256: 10156e13807b5fc34972edb9e841cf9d7f677446fec83727868c532a4592dfa8

Contents?: true

Size: 1.31 KB

Versions: 14

Compression:

Stored size: 1.31 KB

Contents

# fluent-plugin-append_kubernetes_annotations_to_tag

## A Fluent plugin to add kubernetes container annotations to the log tag

## Prerequisites

This plugin is intended for use with the [kuberenetes_metadata_filter](https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter) plugin. You will need to filter with `kubernetes_metadata_filter` so that your log records have the `kubernetes` attribute loaded with the required data.

## TODO

[ ] Open source this gem
  * [ ] Stop relying on a Redbubble-owned Docker image for the build
  * [ ] Publish to Rubygems.org
  * [ ] Make repo public

## Usage

In your Gemfile:

```ruby
gem 'fluent-plugin-append-kubernetes-annotations-to-tag'
```

In your Fluent config:

```
<filter **>
  @type kubernetes_metadata_filter # See 'Prerequisites' above
  
  ...
  
</filter>

<filter **>
  @type append_kubernetes_annotations_to_tag
  
  annotations ['log_destination']
</filter>
```


## Contributing

If you would like to contribute a fix or feature, here's what you should do:

1. Raise an issue so we can discuss your change, and be sure you're not wasting your time
1. Fork this repo (optional if you are a Redbubble engineer)
2. Make your changes
3. Submit a pull request

## Maintainers

delivery-engineers@redbubble.com


    Copyright (c) Redbubble 2017. All rights reserved.

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fluent-plugin-append-kubernetes-annotations-to-tag-0.2.0 README.md
fluent-plugin-append-kubernetes-annotations-to-tag-0.1.0.pre.12 README.md
fluent-plugin-append-kubernetes-annotations-to-tag-0.1.0.pre.11 README.md
fluent-plugin-append-kubernetes-annotations-to-tag-0.1.0.pre.10 README.md
fluent-plugin-append-kubernetes-annotations-to-tag-0.1.0.pre.9 README.md
fluent-plugin-append-kubernetes-annotations-to-tag-0.1.0.pre.8 README.md
fluent-plugin-append-kubernetes-annotations-to-tag-0.1.0.pre.7 README.md
fluent-plugin-append-kubernetes-annotations-to-tag-0.1.0.pre.6 README.md
fluent-plugin-append-kubernetes-annotations-to-tag-0.1.0.pre.5 README.md
fluent-plugin-append-kubernetes-annotations-to-tag-0.1.0.pre.4 README.md
fluent-plugin-append-kubernetes-annotations-to-tag-0.1.0.pre.3 README.md
fluent-plugin-append-kubernetes-annotations-to-tag-0.1.0.pre.2 README.md
fluent-plugin-append-kubernetes-annotations-to-tag-0.1.0.pre.1 README.md
fluent-plugin-append-kubernetes-annotations-to-tag-0.0.1 README.md