Topic 1 Question 93
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 automatically. How should you deploy to GKE?
Use the Horizontal Pod Autoscaler and enable cluster autoscaling. Use an Ingress resource to load-balance the HTTPS traffic.
Use the Horizontal Pod Autoscaler and enable cluster autoscaling on the Kubernetes cluster. Use a Service resource of type LoadBalancer to load-balance the HTTPS traffic.
Enable autoscaling on the Compute Engine instance group. Use an Ingress resource to load-balance the HTTPS traffic.
Enable autoscaling on the Compute Engine instance group. Use a Service resource of type LoadBalancer to load-balance the HTTPS traffic.
ユーザの投票
コメント(17)
Why not using Ingress? (A)
👍 26crypt02019/10/24Name is service resource, it's B:
https://cloud.google.com/kubernetes-engine/docs/concepts/service?hl=es-419
👍 12jcmoranp2019/10/26There are four types of services that Kubernetes supports: ClusterIP, NodePort, LoadBalancer, and Ingress.
ClusterIP is the default service that enables the communication of multiple pods within the cluster.
A NodePort is the simplest networking type of all. It requires no configuration, and it simply routes traffic on a random port on the host to a random port on the container.
LoadBalancer is the most commonly used service type for Kubernetes networking. It is a standard load balancer service that runs on each pod and establishes a connection to the outside world, either to networks like the Internet, or within your datacenter.
An Ingress is a Kubernetes object that sits in front of multiple services and acts as an intelligent router. It defines how external traffic can reach the cluster services, and it configures a set of rules to allow inbound connections to reach the services on the cluster.
👍 5Danomine4162023/05/01
シャッフルモード