Use etcd compare and swap to update the list of pods, to remove a race.

In the interest of attempting to keep the magic numbers contained to this file, what do you think about making this a private function?