You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add node-not-ready event monitoring support (#12)
* feat: Add node-not-ready event monitoring support
- Add 'node-not-ready' event type to EventConfiguration enum
- Implement mapNodeEventType function in event watcher
- Update event type filtering to handle Node events separately from Pod events
- Update CRD schemas to include node-not-ready event type
- Update documentation and examples with node monitoring capabilities
- Generate updated deepcopy code for API changes
This enables khook to monitor Kubernetes node readiness events and trigger
appropriate agent responses for node-level issues like kubelet failures,
network problems, or resource pressure.
Signed-off-by: Kyungho Kang <kyungho@dable.io>
* Update .gitignore
Signed-off-by: kyungho-for-ops <kyungho1495@gmail.com>
Signed-off-by: Kyungho Kang <kyungho@dable.io>
* Update .gitignore
Signed-off-by: kyungho-for-ops <kyungho1495@gmail.com>
Signed-off-by: Kyungho Kang <kyungho@dable.io>
* Trigger final checks update
Signed-off-by: Kyungho Kang <kyungho@dable.io>
---------
Signed-off-by: Kyungho Kang <kyungho@dable.io>
Signed-off-by: kyungho-for-ops <kyungho1495@gmail.com>
Co-authored-by: Kyungho Kang <kyungho@dable.io>
returnfmt.Errorf("event configuration %d: invalid event type '%s', must be one of: pod-restart, pod-pending, oom-kill, probe-failed", index, config.EventType)
95
+
returnfmt.Errorf("event configuration %d: invalid event type '%s', must be one of: pod-restart, pod-pending, oom-kill, probe-failed, node-not-ready", index, config.EventType)
allErrs=append(allErrs, fmt.Sprintf("spec.eventConfigurations[%d].eventType: invalid event type '%s', must be one of: pod-restart, pod-pending, oom-kill, probe-failed", i, config.EventType))
394
+
allErrs=append(allErrs, fmt.Sprintf("spec.eventConfigurations[%d].eventType: invalid event type '%s', must be one of: pod-restart, pod-pending, oom-kill, probe-failed, node-not-ready", i, config.EventType))
0 commit comments