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
orFailedScheduling
- 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
A simple install with default values, latest chart version and generated name:
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/k8s-event-logger
To install a specific version of this chart:
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/k8s-event-logger --version 1.1.9
To install the chart with the release name my-release
:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/k8s-event-logger
To install with some set values:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/k8s-event-logger --set values_key1=value1 --set values_key2=value2
To install with custom values file:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/k8s-event-logger -f values.yaml
Key | Type | Default | Description |
---|---|---|---|
affinity | object | {} |
|
annotations | object | {} |
|
args | list | [] |
|
containerName | string | "k8s-event-logger" |
|
env | object | {} |
A map of environment variables |
fullnameOverride | string | "" |
|
image.pullPolicy | string | "IfNotPresent" |
|
image.repository | string | "maxrocketinternet/k8s-event-logger" |
|
imagePullSecrets | list | [] |
|
nameOverride | string | "" |
|
nodeSelector | object | {} |
|
podAnnotations | object | {} |
|
podLabels | object | {} |
|
podSecurityContext.allowPrivilegeEscalation | bool | false |
|
podSecurityContext.capabilities.drop[0] | string | "ALL" |
|
podSecurityContext.readOnlyRootFilesystem | bool | true |
|
podSecurityContext.runAsGroup | int | 10001 |
|
podSecurityContext.runAsNonRoot | bool | true |
|
podSecurityContext.runAsUser | int | 10001 |
|
podSecurityContext.seccompProfile.type | string | "RuntimeDefault" |
|
resources.limits.cpu | string | "100m" |
|
resources.limits.memory | string | "128Mi" |
|
resources.requests.cpu | string | "10m" |
|
resources.requests.memory | string | "128Mi" |
|
securityContext | object | {} |
|
tolerations | list | [] |
Name | Url | |
---|---|---|
max-rocket-internet | https://github.com/max-rocket-internet |
Chart source: github.com/deliveryhero/helm-charts/k8s-event-logger
Older chart versions: github.com/deliveryhero/helm-charts/pkgs/container/helm-charts/k8s-event-logger