
Ultimate access to all questions.
You have an application deployed on Google Kubernetes Engine (GKE) using a Deployment named echo-deployment, which consists of multiple pods running the application. The deployment is exposed to external traffic using a Service called echo-service, allowing your application to be accessible. You need to perform an update to the application's container image with minimal downtime, ensuring that the service remains available to users during the update process. What should you do?
A
Use kubectl set image deployment/echo-deployment <new-image>
B
Use the rolling update functionality of the Instance Group behind the Kubernetes cluster
C
Update the deployment yaml file with the new container image. Use kubectl delete deployment/echo-deployment and kubectl create -f <yaml-file>
D
Update the service yaml file with the new container image. Use kubectl delete service/echo-service and kubectl create -f <yaml-file>