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' +}