0
0
GCPcloud~5 mins

GKE Ingress with Load Balancer in GCP - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of an Ingress in GKE?
An Ingress in GKE manages external access to services in a cluster, typically HTTP and HTTPS, by routing traffic to the right service based on rules.
Click to reveal answer
beginner
Which GCP resource does GKE Ingress create to expose services externally?
GKE Ingress creates a Google Cloud HTTP(S) Load Balancer to expose services outside the cluster.
Click to reveal answer
intermediate
What is the role of the Ingress controller in GKE?
The Ingress controller watches Ingress resources and configures the cloud load balancer to route traffic according to the Ingress rules.
Click to reveal answer
intermediate
Name one key annotation used in GKE Ingress to specify backend service timeout.
The annotation 'ingress.gcp.kubernetes.io/backend-config' is used to specify backend service settings like timeout.
Click to reveal answer
intermediate
How does GKE Ingress handle SSL/TLS termination?
GKE Ingress can terminate SSL/TLS at the load balancer by specifying TLS certificates in the Ingress resource, so encrypted traffic is decrypted before reaching services.
Click to reveal answer
What type of load balancer does GKE Ingress create by default?
ANetwork Load Balancer
BTCP Load Balancer
CInternal Load Balancer
DHTTP(S) Load Balancer
Which Kubernetes resource defines routing rules for GKE Ingress?
AIngress
BPod
CService
DConfigMap
How do you specify TLS certificates in GKE Ingress?
AUsing a Secret referenced in the Ingress TLS section
BIn the Service resource
CDirectly in the Pod spec
DIn the ConfigMap
What happens if you create an Ingress without any backend service?
AIngress controller returns an error
BTraffic is routed to default backend
CNo external access is configured
DLoad balancer routes traffic to all pods
Which annotation would you use to enable Cloud Armor security policies on GKE Ingress?
Aingress.kubernetes.io/enable-cloud-armor
Bingress.gcp.kubernetes.io/pre-shared-cert
Cingress.gcp.kubernetes.io/security-policy
Dingress.kubernetes.io/ssl-redirect
Explain how GKE Ingress uses a Load Balancer to route external traffic to services inside the cluster.
Think about how external users reach your app through the cloud load balancer.
You got /5 concepts.
    Describe the steps to enable HTTPS traffic using GKE Ingress with a TLS certificate.
    Focus on how certificates are stored and linked to Ingress.
    You got /4 concepts.