add affinity domain example