#!/usr/bin/env bash

CONTROLLERS=`kubectl get pods -o=name | grep controller | sed "s/^.\{4\}//"`

for c in ${CONTROLLERS[@]}
do
    kubectl delete pod ${c}
    sleep 30
done