GithubHelp home page GithubHelp logo

fairwinds-pod-logger's Introduction

Fairwinds Pod Logger

Installation

Helm Chart

git clone https://github.com/rarick/fairwinds-pod-logger.git
cd fairwinds-pod-logger/chart
helm install <deployment-name> .

Build from Source

git clone https://github.com/rarick/fairwinds-pod-logger.git
cd fairwinds-pod-logger/src
go install .

Configuration

Application

Application configuration will be added in the future

Helm Chart Values

Key Default Description
image.name rarick/fairwinds-pod-logger Image name
image.tag master Image tag
image.pullPolicy Always Image pull policy

Improvements

Application

  • Add configuration options via flags and/or env variables
  • Error handling, error messages
  • Add interface to allow customization and extensibility of logging messages
  • Allow custom annotation key / timestamp format
  • Unit tests, I'm sure there's a way to test this without installing into a cluster
  • Update context / timeout
  • Ability to filter which namespaces are desired with an annotation, or to list from namespaces by annotation
    • This could be accomplished by using corev1.Namespace(namespaceName) to get a NamespaceInterface, and checking the metadata on it. Update the podAdded call to return if the desired annotation is not found. The same approach could be used with the PodInterface.
  • Leader election

Docker image

  • Docker image user creation/improvements there
  • Make container use dumb-init, print out a startup message, etc

Helm chart

  • Nicer NOTES.txt
  • Usage of labels
  • Countless customization options
  • Use of _helpers.tpl to reduce possibilities of error
    • For example, the name of the service account is repeated in 3 different places

fairwinds-pod-logger's People

Contributors

rarick avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.