Skip to content

Latest commit

 

History

History
 
 

k8s-event-logger

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

k8s-event-logger

Version: 1.1 AppVersion: 1.6

This chart runs a pod that simply watches Kubernetes Events and logs them to stdout in JSON to be collected and stored by your logging solution, e.g. fluentd or fluent-bit.

https://github.com/max-rocket-internet/k8s-event-logger

Events in Kubernetes log very important information. If are trying to understand what happened in the past then these events show clearly what your Kubernetes cluster was thinking and doing. Some examples:

  • Pod events like failed probes, crashes, scheduling related information like TriggeredScaleUp or FailedScheduling
  • HorizontalPodAutoscaler events like scaling up and down
  • Deployment events like scaling in and out of ReplicaSets
  • Ingress events like create and update

The problem is that these events are simply API objects in Kubernetes and are only stored for about 1 hour. Without some way of storing these events, debugging a problem in the past very tricky.

Homepage: https://github.com/max-rocket-internet/k8s-event-logger

How to install this chart

Add Delivery Hero public chart repo:

helm repo add deliveryhero https://charts.deliveryhero.io/

A simple install with default values:

helm install deliveryhero/k8s-event-logger

To install the chart with the release name my-release:

helm install my-release deliveryhero/k8s-event-logger

To install with some set values:

helm install my-release deliveryhero/k8s-event-logger --set values_key1=value1 --set values_key2=value2

To install with custom values file:

helm install my-release deliveryhero/k8s-event-logger -f values.yaml

Source Code

Values

Key Type Default Description
affinity object {}
env.CA_FILE string "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
env.KUBERNETES_API_URL string "https://172.20.0.1:443"
fullnameOverride string ""
image.pullPolicy string "IfNotPresent"
image.repository string "maxrocketinternet/k8s-event-logger"
image.tag string "1.6"
imagePullSecrets list []
nameOverride string ""
nodeSelector object {}
podLabels object {}
resources.limits.cpu string "100m"
resources.limits.memory string "128Mi"
resources.requests.cpu string "10m"
resources.requests.memory string "128Mi"
tolerations list []

Maintainers

Name Email Url
max-rocket-internet [email protected]