Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only showing resources from the namespace where exporter is deployed #191

Open
nikolaops opened this issue Jul 17, 2024 · 1 comment
Open

Comments

@nikolaops
Copy link

Hello,
I can only see the events within the namespace where its exporter deployed (monitoring) and cant see any other event from other namespaces.
Configuration:

config:
  logFormat: json
  logLevel: debug
  metricsNamePrefix: event_exporter_
  clusterName: ${eks_cluster}
  receivers:
  - name: loki
    webhook:
      endpoint: http://loki-stack:3100/loki/api/v1/push
      headers:
        Content-Type: application/json
        User-Agent: kube-event-exporter
      layout:
        streams:
        - stream:
            kind: kube-event
            type: '{{ .Type }}'
          values:
          - - '{{ mul .GetTimestampMs 1000000 }}'
            - level={{ lower .Type | replace "normal" "notice" }} namespace={{ .InvolvedObject.Namespace
              }} object={{ .InvolvedObject.Kind }}/{{ .InvolvedObject.Name }} reason={{
              .Reason }} message={{ quote .Message }}
@LHozzan
Copy link

LHozzan commented Jul 23, 2024

Hi there.
I think, but I am not sure, that you missing RBAC.
Have you deployed the exporter via Bitnami HelmChart ?
BR!

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

No branches or pull requests

2 participants