PROFESSIONAL-CLOUD-ARCHITECT · Question #154
A development team at your company has created a dockerized HTTPS web application. You need to deploy the application on Google Kubernetes Engine (GKE) and make sure that the application scales automa
The correct answer is A. Use the Horizontal Pod Autoscaler and enable cluster autoscaling. Use an Ingress resource to. When you specify kind: Ingress in a resource manifest, you instruct GKE to create an Ingress resource. By including annotations and supporting workloads and Services, you can create a custom Ingress controller. Otherwise, GKE makes appropriate Google Cloud API calls to create an
Question
Options
- AUse the Horizontal Pod Autoscaler and enable cluster autoscaling. Use an Ingress resource to
- BUse the Horizontal Pod Autoscaler and enable cluster autoscaling on the Kubernetes cluster. Use
- CEnable autoscaling on the Compute Engine instance group. Use an Ingress resource to load
- DEnable autoscaling on the Compute Engine instance group. Use a Service resource of type
How the community answered
(23 responses)- A83% (19)
- B9% (2)
- C4% (1)
- D4% (1)
Explanation
When you specify kind: Ingress in a resource manifest, you instruct GKE to create an Ingress resource. By including annotations and supporting workloads and Services, you can create a custom Ingress controller. Otherwise, GKE makes appropriate Google Cloud API calls to create an external HTTP(S) load balancer.If you are exposing an HTTP(S) service hosted on GKE, HTTP(S) load balancing is the recommended method for load balancing.External Network Load When you specify kind: Service with type: LoadBalancer in a resources manifest, GKE creates a Service of type LoadBalancer. Although you can use either of these types of load balancers for HTTP(S) traffic, they operate in OSI layers 3/4 and are not aware of HTTP connections or individual HTTP requests and responses. Another important characteristic is that the requests are not proxied to the destination. https://cloud.google.com/kubernetes-engine/docs/tutorials/http-balancerIngress
Topics
Community Discussion
No community discussion yet for this question.