Code for distributing pod names at random