You are using Google Kubernetes Engine with autoscaling enabled to host a new application. You want to expose this new application to the public, using HTTPS on a public IP address. What should you do?
B、 Create a Kubernetes Service of type ClusterIP for your application. Configure the public DNS name of your application using the IP of this Service.
C、 Create a Kubernetes Service of type NodePort to expose the application on port 443 of each node of the Kubernetes cluster. Configure the public DNS name of your application with the IP of every node of the cluster to achieve load-balancing.
D、 Create a HAProxy pod in the cluster to load-balance the traffic to all the pods of the application. Forward the public traffic to HAProxy with an iptable rule. Configure the DNS name of your application using the public IP of the node HAProxy is running on.
相关题目
You create a new Google Kubernetes Engine (GKE) cluster and want to make sure that it always runs a supported
A、 Enable the Node Auto-Repair feature for your GKE cluster.
B、 Enable the Node Auto-Upgrades feature for your GKE cluster.
C、 Select the latest available cluster version for your GKE cluster.
D、 Select ג€Container-Optimized OS (cos)ג€ as a node image for your GKE cluster.
You deployed a new application inside your Google Kubernetes Engine cluster using the YAML file specified
A、 Review details of the myapp-service Service object and check for error messages.
B、 Review details of the myapp-deployment Deployment object and check for error messages.
C、 Review details of myapp-deployment-58ddbbb995-lp86m Pod and check for warning messages.
D、 View logs of the container in myapp-deployment-58ddbbb995-lp86m pod and check for warning messages.
You want to enable your running Google Kubernetes Engine cluster to scale as demand for your application
A、 Add additional nodes to your Kubernetes Engine cluster using the folowing command : gcloud container clusters resize CLUSTER _ Name ""- size 10
B、 Add a tag to the instances in the cluster with the folowing command : gcloud compute instances á dd-tags INSTANCE -- tags enable-autoscaling max-nodes -10
C、 Update the existing Kubernetes Engine cluster with the following command : gcloud alpha container clusters update mycluster -- enable-autoscaling -- min-nodes =1-- max -nodes =10
D、 Create a new Kubernetes Engine cluster with the folowing command : gcloud alpha container clusters create mycluster -- enable-autoscaling -- min-nodes =1-- max-nodes =10 and redeploy your application
You are using multiple configurations for gcloud.
A、 Use gcloud config configurations describe to review the output.
B、 Use gcloud config configurations activate and gcloud config list to review the output.
C、 Use kubectl config get-contexts to review the output.
D、 Use kubectl config use-context and kubectl config view to review the output.