Skip to content

teragrep/k8s_01

Repository files navigation

k8s_01

A container that will read mounted container logfiles, then enriches them using Kubernetes API server, and forwards them with RELP to wanted target server.

It uses KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT environment variables to connect to the Kubernetes API.

Example Helm Chart usage

See k8s_01/ directory for more information

Overriding configurations with environment variables

Currently supported:

  • K8S_01_RELP_TARGET overwrites .relp.target

  • K8S_01_RELP_PORT overwrites .relp.port

Example test cluster usage

You can find example cluster in /example directory

Contributing

You can involve yourself with our project by opening an issue or submitting a pull request.

Contribution requirements:

  1. All changes must be accompanied by a new or changed test. If you think testing is not required in your pull request, include a sufficient explanation as why you think so.

  2. Security checks must pass

  3. Pull requests must align with the principles and values of extreme programming.

  4. Pull requests must follow the principles of Object Thinking and Elegant Objects (EO).

Read more in our Contributing Guideline.

Contributor License Agreement

Contributors must sign Teragrep Contributor License Agreement before a pull request is accepted to organization’s repositories.

You need to submit the CLA only once. After submitting the CLA you can contribute to all Teragrep’s repositories.