Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Support chart deploy #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

huiwq1990
Copy link

Support chart deploy and manage.

@huiwq1990 huiwq1990 changed the title 支持chart部署 Support chart deploy Jan 4, 2021
@mkilchhofer
Copy link

Issue link: #63

Just FYI, there's already a chart in the bitnami organization: https://artifacthub.io/packages/helm/bitnami/kubernetes-event-exporter

@tomkerkhove
Copy link

That's correct, but it's not using the official image

@mkilchhofer
Copy link

Yup, but you can override it to the official one, like I do 😄

@tomkerkhove
Copy link

@mustafaakin-atl Any plans to support this?

@mustafaakin-atl
Copy link
Contributor

Hello, I don't have enough experience with Helm, so the following might be short-sighted. it feels more suited with things that can be customized deeply, hence this repository is configured via one YAML file, and there is not much to configure like Pod settings, etc., templating needs seems minimal and not worth maintaining a helm chart. I know some organizations deploy only via Helm, but not sure if you are cloning a repository already you are already doing something custom. Please help me understand the actual benefits of having this as Helm chart. There is also another PR if would like to have a look. #112

@tomkerkhove
Copy link

No problem, that's fair.

The benefit of Helm is that people can very easily install tools, in this walkthrough you can see how you can easily install it through Helm by using the bitnami chart (for now) without having to clone this repo or whatever.

@asomir
Copy link

asomir commented Feb 2, 2022

Yup, but you can override it to the official one, like I do 😄

I've also tried to change the image in the Bitnami chart but it isn't working well. Could you share your helm chart? Thank you in advance!

@mkilchhofer
Copy link

Sure. My values file looks like this

image:
  registry: ghcr.io
  repository: opsgenie/kubernetes-event-exporter
  tag: v0.10
replicaCount: 2
resources:
  limits:
    cpu: 100m
    memory: 250Mi
  requests:
    cpu: 10m
    memory: 25Mi
config:
  logLevel: warn
  logFormat: pretty
  receivers:
    - name: "dump"
      stdout:
        layout:
          message: "{{ .Message }}"
          reason: "{{ .Reason }}"
          type: "{{ .Type }}"
          count: "{{ .Count }}"
          kind: "{{ .InvolvedObject.Kind }}"
          name: "{{ .InvolvedObject.Name }}"
          namespace: "{{ .Namespace }}"
          component: "{{ .Source.Component }}"
          host: "{{ .Source.Host }}"
  route:
    routes:
      - match:
          - receiver: "dump"
        drop:
          - type: "Normal"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants