In Kubernetes, what main function does an Ingress resource serve?
Think about how users outside the cluster reach applications running inside.
An Ingress manages external access by routing incoming traffic to services inside the cluster, typically handling HTTP and HTTPS requests.
What output do you expect from kubectl get ingress if an Ingress resource named web-ingress is correctly configured?
kubectl get ingressLook for the output format that shows hosts, addresses, and ports related to Ingress.
The kubectl get ingress command lists Ingress resources with columns like NAME, CLASS, HOSTS, ADDRESS, PORTS, and AGE.
Which Ingress YAML snippet correctly routes HTTP traffic from myapp.example.com to a service named myapp-service on port 80?
Check the correct indentation and field names for Ingress backend service and port.
Option C uses the correct API version and the proper nested structure for backend service name and port number with pathType 'Prefix'.
You created an Ingress resource, but external HTTP requests to your domain are not reaching the service. Which is the most likely cause?
Ingress resources need a controller to act on them and route traffic.
Without an Ingress controller, the Ingress resource rules are not enforced, so external traffic won't be routed to services.
Which practice best secures external access managed by an Ingress in Kubernetes?
Think about protecting data in transit and user privacy.
Using TLS with HTTPS ensures encrypted communication, protecting data and user privacy when accessing services externally.