
Answer-first summary for fast verification
Answer: Configure a GKE Ingress resource.
To expose an application on GKE behind a Cloud HTTP(S) Load Balancer, configuring a GKE Ingress resource (Option A) is the correct approach. GKE Ingress automatically provisions a global HTTP(S) Load Balancer. Options C and D are incorrect because Ingress resources do not use a 'type: LoadBalancer' specification (that applies to Services for regional TCP/UDP load balancers). Option B (Service resource) alone would not create an HTTP(S) load balancer.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
To expose your application running in a Google Kubernetes Engine (GKE) cluster publicly behind a Cloud Load Balancing HTTP(S) load balancer, what steps should you take?
A
Configure a GKE Ingress resource.
B
Configure a GKE Service resource.
C
Configure a GKE Ingress resource with type: LoadBalancer.
D
Configure a GKE Service resource with type: LoadBalancer.
No comments yet.