PrepAway - Latest Free Exam Questions & Answers

Which code snippet should you include in your Pod configuration?

You are planning to deploy your application in a Google Kubernetes Engine (GKE) cluster The application exposes an HTTP-based health check at /healthz. You want to use this health check endpoint to determine whether traffic should be routed to the pod by the load balancer.

Which code snippet should you include in your Pod configuration?

PrepAway - Latest Free Exam Questions & Answers

A.

B.

C.

D.

Explanation:
For the GKE ingress controller to use your readinessProbes as health checks, the Pods for an Ingress must exist at the time of Ingress creation. If your replicas are scaled to 0, the default health check will apply.


Leave a Reply

Your email address will not be published. Required fields are marked *