- Ignore the "not found" error on deletion. - Recognize the "already exists" error on creation and check if the existing pod meets requirement. If so, don't report an error. - Immediately create a mirror pod after a successful deletion, if needed.
Use the hash to track whether the mirror pod is a truthful representation of the static pod.
This change moves pod_manager.go and mirror_client.go to a separate package. Also made necessary, minor changes to facilitate testing.