Files
platform/modules/k8s/scripts/zap-node-exporters.sh
2025-06-30 12:21:05 +02:00

6 lines
128 B
Bash
Executable File

#!/usr/bin/env bash
for i in $(kubectl get nodes | sed -nr 's/^(k[^ ]+) .*/\1/p'); do
ssh root@$i pkill node_exporter
done