diff --git a/docs/playbook-reference/kubernetes-examples/playbook-failed-liveness.rst b/docs/playbook-reference/kubernetes-examples/playbook-failed-liveness.rst index 838b6d2f0..90a7a2ece 100644 --- a/docs/playbook-reference/kubernetes-examples/playbook-failed-liveness.rst +++ b/docs/playbook-reference/kubernetes-examples/playbook-failed-liveness.rst @@ -1,10 +1,10 @@ Track Failed Liveness Probes ############################## -Lets track failed Liveness Probes and notify the user. Notifications will be sent to all configured :ref:`Sinks ` -like Slack, MSTeams, or DataDog. It is also possible to :ref:`route notifications to specific sinks`. +Lets track failed Liveness Probes and notify the user. Notifications will be sent to configured :ref:`Sinks ` +like Slack or MSTeams. It is also possible to :ref:`route notifications to specific sinks`. -Defining a Playbook +Define a Playbook to Track Liveness Probes ----------------------------------------------------- Add the following YAML to the ``customPlaybooks`` Helm value: @@ -34,7 +34,9 @@ Apply the following command the create a failing liveness probe. kubectl apply -f https://raw.githubusercontent.com/robusta-dev/kubernetes-demos/main/liveness_probe_fail/failing_liveness_probe.yaml -.. details:: Output +You should get a notification in your configured sink. + +.. details:: Example Slack Notification .. image:: /images/failedlivenessprobe.png :alt: Failed liveness probe notification on Slack @@ -43,7 +45,7 @@ Apply the following command the create a failing liveness probe. How it Works ------------- -This playbook uses the :ref:`on_kubernetes_warning_event_create` trigger, that fires once for each Liveness probe failure. +This playbook uses the :ref:`on_kubernetes_warning_event_create` trigger, which fires for Liveness probe failures in your cluster. It uses the :ref:`create_finding ` action to generate a notification message, and :ref:`event_resource_events ` action to gather all other events on the same resource in the near past. diff --git a/docs/playbook-reference/kubernetes-examples/playbook-job-failure.rst b/docs/playbook-reference/kubernetes-examples/playbook-job-failure.rst index 6b8482e4b..2bd7e7f2a 100644 --- a/docs/playbook-reference/kubernetes-examples/playbook-job-failure.rst +++ b/docs/playbook-reference/kubernetes-examples/playbook-job-failure.rst @@ -1,7 +1,7 @@ Track Failed Kubernetes Jobs ############################## -Notify about failed Kubernetes Jobs in Slack, MSTeams, DataDog, or other :ref:`Sinks `. +Notify about failed Kubernetes Jobs in Slack, MSTeams or other :ref:`Sinks `. .. image:: /images/failingjobs.png :alt: Failing Kubernetes jobs notification on Slack @@ -11,7 +11,7 @@ Notify about failed Kubernetes Jobs in Slack, MSTeams, DataDog, or other :ref:`S If you installed Robusta with the embedded Prometheus stack, you don't need to configure this playbook. It's configured by default. -Defining a Playbook +Defining a Playbook to Track Failed Jobs ------------------------------------------ Add the following YAML to the ``customPlaybooks`` Helm value: