From e12c1cfadfd6b6e3c6b12e6df22300dc62cc2900 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Wed, 22 Jun 2022 11:12:20 +0200 Subject: [PATCH] added node taints listing --- .functions/kubernetes.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.functions/kubernetes.sh b/.functions/kubernetes.sh index 8f9ea23..0cf4c5b 100644 --- a/.functions/kubernetes.sh +++ b/.functions/kubernetes.sh @@ -75,3 +75,7 @@ function neuvector_cve_db_version(){ printf "%-40s %s\n" "$POD" "$version" done } + +function k8s_node_taints(){ + kubectl get nodes -o json | jq '.items[].spec.taints' +}