Skip to content

Commit

Permalink
Removed redundant comments from kubernetes.yaml toolset file
Browse files Browse the repository at this point in the history
  • Loading branch information
itisallgood committed Jan 8, 2025
1 parent b8e290f commit e8f9bb2
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions holmes/plugins/toolsets/kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ toolsets:
}' | sort -k3 -nr
- name: "kubernetes_jq_query"
description: Use kubectl to get json for all resources of a specific kind pipe the results to jq to filter them. Do not worry about escaping the jq_expr it will be done by the system on an unescaped expression that you give. e.g. give an expression like .items[] | .spec.containers[].image | select(test("^gcr.io/") | not)
description: >
Use kubectl to get json for all resources of a specific kind pipe the results to jq to filter them. Do not worry about escaping the jq_expr it will be done by the system on an unescaped expression that you give. e.g. give an expression like .items[] | .spec.containers[].image | select(test("^gcr.io/") | not)
command: kubectl get {{ kind }} --all-namespaces -o json | jq -r {{ jq_expr }}


Expand All @@ -137,12 +138,9 @@ toolsets:
# description: "Run an http Kubernetes liveness probe for a given pod and return the results. Can be used to troubleshoot previous failures of the same probe assuming they fail now in the same manner."
# command: "kubectl get --raw '/api/v1/namespaces/{{pod_namespace}}/pods/{{pod_name}}:{{liveness_probe_port}}/healthz'"

#- name: "healthcheck_plugin"
# description: "Check why a kubernetes health probe is failing. First call get_healthcheck_details"
# command: "kubectl exec -n {{namespace}} {{ pod_name }} -- wget {{ url }}:{{port}}"
#- name: "kubectl_debug_node"
# description: "Run a command on a Kubernetes node"
# command: "kubectl debug node/mynode --image=ubuntu"
#- name: "kubectl_debug_node"
# description: "Run a command on a Kubernetes node"
# command: "kubectl debug node/mynode --image=ubuntu"

#- name: "healthcheck_plugin"
# description: "Check why a kubernetes health probe is failing. First call get_healthcheck_details"
Expand Down

0 comments on commit e8f9bb2

Please sign in to comment.