kubernetes-event-exporter

by joaquinito2051

Helm chartv2.1.2App 1.0.0

Kubernetes Event Exporter makes it easy to export Kubernetes events to other tools, thereby enabling better event observability, custom alerts and aggregation.

About this chart

Kubernetes Event Exporter packaged by Bitnami

Kubernetes Event Exporter makes it easy to export Kubernetes events to other tools, thereby enabling better event observability, custom alerts and aggregation.

Overview of Kubernetes Event Exporter

Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.

Azure-ready Charts with Containers from marketplace.azurecr.io

This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo

TL;DR

$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/kubernetes-event-exporter

Introduction

This chart bootstraps a Kubernetes Event Exporter deployment on a Kubernetes cluster using the Helm package manager.

Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+

Installing the Chart

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

$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/kubernetes-event-exporter

These commands deploy Kubernetes Event Exporter on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list or helm ls --all-namespaces

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Parameters

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]

Common parameters

NameDescriptionValue
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override kubernetes-event-exporter.fullname include (will maintain the release name)""
fullnameOverrideString to fully override kubernetes-event-exporter.fullname template""
commonAnnotationsAnnotations to add to all deployed objects{}
commonLabelsLabels to add to all deployed objects{}
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the deployment["sleep"]
diagnosticMode.argsArgs to override all containers in the deployment["infinity"]
extraDeployArray of extra objects to deploy with the release (evaluated as a template)[]

Kubernetes Event Exporter parameters

NameDescriptionValue
replicaCountDesired number of pod replicas1
image.registryContainer image registrydocker.io
image.repositoryContainer image namebitnami/kubernetes-event-exporter
image.tagContainer image tag1.0.0-debian-11-r9
image.digestContainer image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
image.pullPolicyContainer image pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an array[]
hostAliasesAdd deployment host aliases[]
config.logLevelVerbosity of the logs (options: fatal, error, warn, info or debug)debug
config.logFormatHow the logs are formatted. Allowed values: pretty or jsonpretty
config.receiversArray containing event receivers[]
config.route.routesArray containing event route configuration[]
rbac.createCreate the RBAC roles for API accessibilitytrue
serviceAccount.createSpecifies whether a ServiceAccount should be createdtrue
serviceAccount.nameName of the service account to use. If not set and create is true, a name is generated using the fullname template.""
serviceAccount.automountServiceAccountTokenAutomount service account token for the server service accounttrue
serviceAccount.annotationsAnnotations for service account. Evaluated as a template. Only used if create is true.{}
podAnnotationsPod annotations{}
podLabelsPod labels{}
podSecurityContext.enabledEnable security contexttrue
podSecurityContext.fsGroupGroup ID for the container1001
containerSecurityContext.enabledEnable container security contexttrue
containerSecurityContext.capabilities.addAdd capabilities for the securityContext[]
containerSecurityContext.capabilities.dropDrop capabilities for the securityContext[]
containerSecurityContext.readOnlyRootFilesystemAllows the pod to mount the RootFS as ReadOnly onlytrue
containerSecurityContext.runAsNonRootIf the pod should run as a non root container.true
containerSecurityContext.runAsUserDefine the uid with which the pod will run1001
commandOverride default container command (useful when using custom images)[]
argsOverride default container args (useful when using custom images)[]
lifecycleHooksLifecycle for the container to automate configuration before or after startup{}
resources.limitsSpecify resource limits which the container is not allowed to succeed.{}
resources.requestsSpecify resource requests which the container needs to spawn.{}
customStartupProbeConfigure startup probe for Kubernetes event exporter pod{}
customLivenessProbeConfigure liveness probe for Kubernetes event exporter pod{}
customReadinessProbeConfigure readiness probe for Kubernetes event exporter pod{}
nodeSelectorNode labels for pod assignment{}
priorityClassNameSet Priority Class Name to allow priority control over other pods""
schedulerNameName of the k8s scheduler (other than default)""
topologySpreadConstraintsTopology Spread Constraints for pod assignment[]
tolerationsTolerations for pod assignment[]
podAffinityPresetPod affinity preset. Ignored if affinity is set. Allowed values: soft or hard""
podAntiAffinityPresetPod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hardsoft
nodeAffinityPreset.typeNode affinity preset type. Ignored if affinity is set. Allowed values: soft or hard""
nodeAffinityPreset.keyNode label key to match. Ignored if affinity is set.""

Deploy kubernetes-event-exporter with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubernetes-event-exporter on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkubernetes-event-exporter is pinned at v2.1.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply