switch example to use deployments instead of applying config changes directly

all 127s replaced w/ localhosts.