PROFESSIONAL-CLOUD-DEVELOPER · Question #264
You have an application running in a production Google Kubernetes Engine (GKE) cluster. You use Cloud Deploy to automatically deploy your application to your production GKE cluster. As part of your de
The correct answer is C. Minikube and Skaffold. Minikube is a tool that runs a single-node Kubernetes cluster locally on your laptop, allowing you to test and run your application on a simulated production environment. Skaffold is a command line tool that automates the process of building and deploying your application to a lo
Question
You have an application running in a production Google Kubernetes Engine (GKE) cluster. You use Cloud Deploy to automatically deploy your application to your production GKE cluster. As part of your development process, you are planning to make frequent changes to the application's source code and need to select the tools to test the changes before pushing them to your remote source code repository. Your toolset must meet the following requirements:
- Test frequent local changes automatically.
- Local deployment emulates production deployment.
Which tools should you use to test building and running a container on your laptop using minimal resources?
Options
- ADocker Compose and dockerd
- BTerraform and kubeadm
- CMinikube and Skaffold
- Dkaniko and Tekton
How the community answered
(55 responses)- A4% (2)
- B16% (9)
- C73% (40)
- D7% (4)
Explanation
Minikube is a tool that runs a single-node Kubernetes cluster locally on your laptop, allowing you to test and run your application on a simulated production environment. Skaffold is a command line tool that automates the process of building and deploying your application to a local or remote Kubernetes cluster. Together, Minikube and Skaffold allow you to test your frequent changes locally, with a deployment that emulates a production environment, using minimal resources. Minikube provides the simulated production environment, while Skaffold takes care of building and deploying your application, making the development process smoother and more efficient.
Topics
Community Discussion
No community discussion yet for this question.