0
0
Kubernetesdevops~5 mins

Ingress resource definition in Kubernetes - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is an Ingress resource in Kubernetes?
An Ingress resource manages external access to services inside a Kubernetes cluster, usually HTTP. It defines rules to route traffic from outside to services inside the cluster.
Click to reveal answer
beginner
Which Kubernetes object does an Ingress resource route traffic to?
Ingress routes traffic to Kubernetes Services, which then forward traffic to Pods.
Click to reveal answer
intermediate
What is the purpose of the 'host' field in an Ingress rule?
The 'host' field specifies the domain name to match for routing traffic. It helps direct requests to the correct backend service based on the requested hostname.
Click to reveal answer
intermediate
Explain the 'path' and 'pathType' fields in an Ingress rule.
'path' defines the URL path to match for routing. 'pathType' specifies how the path is matched, such as 'Prefix' (matches path prefix) or 'Exact' (matches exact path).
Click to reveal answer
beginner
What is the role of an Ingress controller in Kubernetes?
An Ingress controller watches Ingress resources and configures the underlying load balancer or proxy to route traffic according to the Ingress rules.
Click to reveal answer
What does an Ingress resource primarily manage in Kubernetes?
AContainer image building
BExternal HTTP/S traffic routing to services
CStorage volume allocation
DPod scheduling inside nodes
Which field in an Ingress rule specifies the domain name to match?
Abackend
BserviceName
Cpath
Dhost
What does the 'pathType' field in an Ingress rule define?
AHow the URL path is matched
BThe protocol used
CThe type of backend service
DThe port number
An Ingress controller is responsible for:
AWatching Ingress resources and configuring routing
BManaging persistent volumes
CCreating Pods
DBuilding container images
Which Kubernetes object does Ingress route traffic to?
ANodes
BPods directly
CServices
DConfigMaps
Describe the main components of a Kubernetes Ingress resource and their roles.
Think about how traffic is matched and routed.
You got /4 concepts.
    Explain how an Ingress resource and an Ingress controller work together to route external traffic.
    Consider the division of responsibilities.
    You got /4 concepts.