Skip to content

Commit 1b49c0f

Browse files
Misc updates for next release (#28)
* clean up helm chart * update this * missed this --------- Co-authored-by: Max Williams <[email protected]>
1 parent d910d1b commit 1b49c0f

File tree

5 files changed

+7
-22
lines changed

5 files changed

+7
-22
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
IMG ?= maxrocketinternet/k8s-event-logger
2-
TAG ?= 1.9
2+
TAG ?= 2.0
33
PLATFORMS ?= linux/amd64,linux/arm64
44
BUILDXDRIVER ?= docker-container
55
WITHSBOM ?= true

chart/Chart.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
apiVersion: v1
2-
appVersion: "1.9"
2+
appVersion: "2.0"
33
version: "1.2.0"
44
description: A tool to log k8s events to stdout in JSON
55
home: https://github.com/max-rocket-internet/k8s-event-logger
66
name: k8s-event-logger
77
maintainers:
88
- name: max-rocket-internet
99
10-
- name: mmingorance-dh
11-
1210
engine: gotpl
1311
icon: https://github.com/kubernetes/kubernetes/raw/master/logo/logo.png
1412
keywords:

chart/OWNERS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
approvers:
22
- max-rocket-internet
3-
- mmingorance-dh
43
reviewers:
54
- max-rocket-internet
6-
- mmingorance-dh

chart/README.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
# k8s-event-logger
22

3-
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](https://github.com/fluent/fluentd-kubernetes-daemonset), [fluent-bit](https://fluentbit.io/), [Filebeat](https://www.elastic.co/guide/en/beats/filebeat/current/running-on-kubernetes.html), or [Promtail](https://grafana.com/docs/loki/latest/clients/promtail/). Other tools exist for persisting Kubernetes Events, such as Sysdig, Datadog, or Google's [event-exporter](https://github.com/GoogleCloudPlatform/k8s-stackdriver/tree/master/event-exporter) but this tool is open and will work with any logging solution.
4-
5-
[Source code](https://github.com/max-rocket-internet/k8s-event-logger)
6-
7-
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:
8-
9-
- Pod events like failed probes, crashes, scheduling related information like `TriggeredScaleUp` or `FailedScheduling`
10-
- HorizontalPodAutoscaler events like scaling up and down
11-
- Deployment events like scaling in and out of ReplicaSets
12-
- Ingress events like create and update
13-
14-
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.
3+
This chart installs [github.com/max-rocket-internet/k8s-event-logger](https://github.com/max-rocket-internet/k8s-event-logger).
154

165
## Prerequisites
176

@@ -22,7 +11,7 @@ The problem is that these events are simply API objects in Kubernetes and are on
2211
To install the chart with the release name `my-release` and default configuration:
2312

2413
```sh
25-
helm install --name my-release stable/k8s-event-logger
14+
helm install my-release ./chart
2615
```
2716

2817
## Uninstalling the Chart
@@ -40,8 +29,8 @@ The following table lists the configurable parameters for this chart and their d
4029
| Parameter | Description | Default |
4130
| -------------------------|--------------------------------------|--------------------------------------------------------|
4231
| `resources` | Resources for the overprovision pods | `{}` |
43-
| `image.repository` | Image repository | `maxrocketinternet/k8s-event-logger` |
44-
| `image.tag` | Image tag | `1.8` |
32+
| `image.repository` | Image repository | `maxrocketinternet/k8s-event-logger` |
33+
| `image.tag` | Image tag | `2.0` |
4534
| `image.pullPolicy` | Container pull policy | `IfNotPresent` |
4635
| `affinity` | Map of node/pod affinities | `{}` |
4736
| `nodeSelector` | Node labels for pod assignment | `{}` |

chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
image:
22
repository: maxrocketinternet/k8s-event-logger
3-
tag: "1.8"
3+
tag: "2.0"
44
pullPolicy: IfNotPresent
55

66
resources:

0 commit comments

Comments
 (0)