Study. uk . com
  1. Home
  2. All questions
  3. Question 738

CKA study material · question 738 of 1000

An Ingress is written with no rules at all. What must it contain to be valid?

  1. At least one TLS entry
  2. An ingressClassName
  3. A hostname wildcard
  4. spec.defaultBackend
Show the answer

Answer: D. spec.defaultBackend

An Ingress with no spec.rules must specify spec.defaultBackend, which then receives every request that arrives through it.

Source: Ingress (Kubernetes) — The Ingress resource › Default backend

Challenge yourself on this topic → Study as cards