#!/bin/bash

trap 'kill $(jobs -p)' EXIT

while read -r p; do
	kubectl -n kube-system exec -ti $p -- cilium monitor $*&
done <<< "$(kubectl -n kube-system get pods -l k8s-app=cilium | awk '{print $1}' | grep cilium)"

wait

Add script to run cilium monitor on all k8s nodes
contrib: Add script to run cilium monitor on all k8s nodes

Signed-off-by: Thomas Graf <5f50a84c1fa3bcff146405017f36aec1a10a9e38@cilium.io>
