Skip to main content

Nudgebee Playbook Catalog

This catalog provides a categorized reference of all supported Nudgebee playbooks. Each entry includes the action name, a brief description, and its configurable parameters.


๐Ÿณ Pod Playbooksโ€‹

Action NameDescriptionParameters
pod_enricherEnriches the alert with pod-level metadata.None
logs_enricherStreams logs from the pod. Not suitable for Jinja.container_name, tail_lines (default: 1000), previous (default: false)
pod_events_enricherEnriches alert with pod events.max_events (default: 8), included_types (default: ["Normal", "Warning"])
report_crash_loopReports pods in CrashLoopBackOff state.None
pod_issue_investigatorInvestigates the issue with the pod.None
pod_profilerProfiles pod CPU or memory.duration (default: 60), action_name, profile_type (default: "cpu")
pod_bash_enricherRuns a bash command in the pod.bash_command (required)
pod_script_runRuns a script in the pod.name, pod_name, namespace, image, command, secret, ephemeral, use_side_car
pod_graph_analyzer_cpu / pod_graph_analyzer_memoryPod-level resource usage graphs.resource_type, display_limits (default: false), graph_duration_minutes (default: 60)
pod_metric_analyzer_cpu / pod_metric_analyzer_memoryResource graphs with metrics insights.Same as above
pod_node_metrics_analyzer_memoryNode-level Memory metrics for pods.resource_type, graph_duration_minutes

๐Ÿš€ Deployment Playbooksโ€‹

Action NameDescriptionParameters
deployment_events_enricherEnriches alert with deployment events.max_pods, dependent_pod_mode
get_kubernetes_deploymentFetches the specified Kubernetes deployment.name, namespace, action_name, resource_type, all_namespaces

๐Ÿงฑ Node Playbooksโ€‹

Action NameDescriptionParameters
node_cpu_enricherAnalyzes node CPU usage.None
node_disk_analyzerAnalyzes disk usage across node and pods.show_pods, show_containers
node_running_pods_enricherLists pods running on a node.None
node_allocatable_resources_enricherShows node allocatable resources.None
node_status_enricherAdds node status to the alert.None
node_pod_capacity_analyzerAnalyzes pod capacity and scheduling constraints.None
node_semantic_version_mismatch_analyzerDetects mismatched K8s versions on nodes.None

๐Ÿงต Job Playbooksโ€‹

Action NameDescriptionParameters
job_events_enricherEnriches alert with job events.max_events, included_types
job_pod_enricherAdds job pod details (logs/events).logs, events
job_infoProvides job execution information.None

๐ŸŒ Cluster Playbooksโ€‹

Action NameDescriptionParameters
cluster_memory_requests_enricherAnalyzes memory requests across the cluster.default_query_duration
cluster_cpu_requestsAnalyzes CPU requests across the cluster.default_query_duration

๐Ÿ“Š Monitoring and Miscellaneous Playbooksโ€‹

Action NameDescriptionParameters
alert_explanation_analyzerAdds human-readable explanation and resolution.alert_explanation, recommended_resolution
prometheus_query_analyzerRuns a Prometheus query.promql_query, duration, instant, action_name
alert_resource_graph_analyzer_cpu / memory / diskGraphs for Prometheus alert resource usage.item_type, resource_type, graph_duration_minutes
prometheus_rules_analyzerProvides Prometheus rule metadata.None
dns_target_down_silencerSilences DNS target down alerts.None
daemonset_status_analyzerAdds pod status breakdown for a DaemonSet.None
daemonset_misscheduled_analyzerReports scheduling failures of DaemonSets.None
hpa_mismatch_analyzerAnalyzes HPA target mismatches.check_for_metrics_server
api_service_statusEnriches alert with API service status.None
api_failure_analyzerDetects API request failures.None
api_traces_analyzerProvides traces for API requests.duration, action_name
oom_killer_analyzerAnalyzes recent OOMKills and memory usage.metrics_duration_in_secs, new_oom_kills_duration_in_sec
impacted_services_analyzerIdentifies affected services for a crashing pod.delay_s

๐Ÿ›  Utility and Custom Actionsโ€‹

Action NameDescriptionParameters
kubectl_command_executorRuns a kubectl command.command (required)
text_enricherAdds a plain text message to alert.text, severity
get_resource_yamlFetches resource YAML for debugging.None
resource_events_enricherFetches recent resource events.max_pods, dependent_pod_mode
get_kubernetes_podRetrieves pod(s) info by name or owner.name, namespace, owner, resource_type, action_name, all_namespaces
custom_image_runRuns script using a custom container image.image, command, args, env_variables, secret, config_map, image_pull_policy, service_account
postgres_query_runnerRuns custom SQL queries on PostgreSQL DB.queries, secret_name, secret_namespace
postgres_healthChecks health of PostgreSQL using standard queries.secret_name, secret_namespace
nudgebee_runbook_triggerTriggers another Nudgebee runbook.runbook_id