Skip to content

Commit

Permalink
Fixed code identation in toolsets examples
Browse files Browse the repository at this point in the history
  • Loading branch information
itisallgood committed Dec 8, 2024
1 parent eca06c1 commit 940ce5b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/configuration/ai-analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -584,12 +584,6 @@ This toolset provides diagnostics for Kubernetes clusters, helping developers id
description: "Drain a node safely by evicting all pods."
command: "kubectl drain {{ node_name }} --ignore-daemonsets --force --delete-emptydir-data"
- name: "kubectl_pod_restart_count"
description: "Check the restart count for all pods in a namespace."
command: |
kubectl get pods -n {{ namespace }} -o jsonpath="{.items[*].status.containerStatuses[*].restartCount}" \
| awk '{s+=$1} END {print s}'
Adding Custom Tools to Holmes
-----------------------------
As an example, let's add custom toolset named ``http_tools`` that makes requests to ``example.com``
Expand Down

0 comments on commit 940ce5b

Please sign in to comment.