# Since Cilium 1.20.5, what happens to egress allowed by a rule that combines toServices and toPorts when the referenced Service doesn't exist?

Cilium, Medium (Advanced), Policies. https://k8wiz.com/uquiz/since-cilium-1205-what-happens-to-egress-allowed-by-a-rule-that-combines-toservices-and-toports-when-the-referenced-service-does

- A. It is denied until the Service exists
- B. It is allowed to any destination on those ports
- C. It is rejected by the API server on apply
- D. It is matched against the Service's DNS name

**Answer:** It is denied until the Service exists

**Explanation:** Earlier releases resolved the missing Service to an empty peer set, so the port restriction stood alone and allowed any destination on those ports. Cilium 1.20.5, 1.19.11 and 1.18.17 fix this, and such rules now deny the traffic until the Service exists and, for a selector-less Service, has backends. The upgrade notes ask you to create those Services before upgrading.
