Kubernetes

Why using a wildcard in ingress host may lead to issues?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

The reason you should not wildcard value in a host (like - host: *) is because you basically tell your Kubernetes cluster to forward all the traffic to the container where you used this ingress. This may cause the entire cluster to go down.