
Answer-first summary for fast verification
Answer: Add the cluster's API as a new Type Provider in Deployment Manager, and use the new type to create the DaemonSet.
The correct answer is A. Adding the cluster's API as a new Type Provider in Deployment Manager allows you to directly interact with the Kubernetes API to create the DaemonSet. This method is more efficient and involves fewer services compared to the other options. It lets you manage the DaemonSet and the cluster within the same Deployment Manager deployment, providing a seamless integration.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As part of your role in deploying and managing Google Cloud resources, you are currently using Deployment Manager to set up a Google Kubernetes Engine (GKE) cluster. Your objective is to streamline the process by incorporating additional components into this deployment. Specifically, you want to ensure that within the same Deployment Manager deployment, a DaemonSet is created in the kube-system namespace of your newly created GKE cluster. What steps should you take to achieve this integration successfully?
A
Add the cluster's API as a new Type Provider in Deployment Manager, and use the new type to create the DaemonSet.
B
Use the Deployment Manager Runtime Configurator to create a new Config resource that contains the DaemonSet definition.
C
With Deployment Manager, create a Compute Engine instance with a startup script that uses kubectl to create the DaemonSet.
D
In the cluster's definition in Deployment Manager, add a metadata that has kube-system as key and the DaemonSet manifest as value.
No comments yet.