fluxcd / notification-controller

The GitOps Toolkit event forwarded and notification dispatcher

Home Page:https://fluxcd.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pod support for alerts

pulkitanz opened this issue · comments

I was wondering if there is something planned to add Pod in Slack alerts, this will help us a lot in configuring alerts for breaking kustomize controller.

apiVersion: notification.toolkit.fluxcd.io/v1beta3
kind: Alert
metadata:
  name: grafana
  namespace: monitoring
spec:
  providerRef:
    name: grafana
  eventSeverity: info
  eventSources:
    - kind: GitRepository
      name: '*'
      namespace: flux-system
  - kind: Pod
      name: '*'
      namespace: flux-system
    

Is there any other way to configure pod alerts using notification-controller?

Flux notification-controller can only work for custom resources which are managed by Kubernetes controllers built with the GitOps Toolkit, the pod manager is not.