Pod support for alerts
pulkitanz opened this issue · 1 comments
pulkitanz commented
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?
stefanprodan commented
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.