Your application runs in Google Kubernetes Engine (GKE). You want to use Spinnaker with the Kubernetes Provider v2 to perform blue/green deployments and control which version of the application receives the traffic. What should you do?
A. Use a Kubernetes Replica Set and use Spinnaker to create a new service for each new version of the application to be deployed.
B. Use a Kubernetes Replica Set and use Spinnaker to update the Replica Set for each new version of the application to be deployed.
C. Use a Kubernetes Deployment and use Spinnaker to update the deployment for each new version of the application to be deployed.
D. Use aKubernetes Deployment and use Spinnaker to create a new deployment object for each new version of the application to be deployed.
Disclaimer
This is a practice question. There is no guarantee of coming this question in the certification exam.
Answer
B
Explanation
Key points are underlined.
Your application runs in Google Kubernetes Engine (GKE). You want to use Spinnaker with the Kubernetes Provider v2 to perform blue/green deployments and control which version of the application receives the traffic. What should you do?
According to this guide of Spinnaker, you must use Replica Set for Blue/Green deployment with Spinnaker.
So option C and D are ruled out.
The guide is also mentioning to update the Replica Set and not about creating a new service. So option A is also ruled out.
A. Use a Kubernetes Replica Set and use Spinnaker to create a new service for each new version of the application to be deployed.
B. Use a Kubernetes Replica Set and use Spinnaker to update the Replica Set for each new version of the application to be deployed.
C. Use a Kubernetes Deployment and use Spinnaker to update the deployment for each new version of the application to be deployed.
D. Use aKubernetes Deployment and use Spinnaker to create a new deployment object for each new version of the application to be deployed.