Using Deployment Manager to create a GKE cluster, you also need to create a DaemonSet in the cluster's kube-system namespace within the same deployment using the fewest services. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Add the cluster's API as a new Type Provider in Deployment Manager, and use that new type to create the DaemonSet..
Why this is the answer
The correct approach is to add the GKE cluster's API as a new Type Provider in Deployment Manager. This allows Deployment Manager to directly interact with the Kubernetes API server of the newly created cluster, enabling the creation of Kubernetes resources like DaemonSets within the same deployment. This method is efficient as it leverages Deployment Manager's capabilities to manage both GCP infrastructure and Kubernetes resources natively, minimizing the number of services involved. Using Runtime Configurator is for sharing configuration between services, not for deploying Kubernetes resources. Creating a Compute Engine instance with a startup script is a less integrated and more complex solution, requiring manual kubectl commands and additional resource management. Adding metadata to the cluster resource is for passing information to the cluster, not for deploying Kubernetes objects directly.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed