You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
notes="reports count of case-insensitive grep string per pod, over the last 5 minutes. Can optionally add additional param like '10m' or '24h' to change the --since= value."
pod_names=$2
grep_string=$3
since="${4:-5m}"
# reads "env" param, loads "namespace" param
. "$(dirname "${BASH_SOURCE[0]}")/load-config.sh"
for pod in $(kubectl --namespace=$namespace get pods | grep "$pod_names" | cut -f 1 -d ' '); do