1 2 3 4 5 6
#!/bin/sh kubecfg list replicationControllers | awk 'NR>2 {print $1}' | xargs -i kubecfg delete replicationControllers/{}