
Answer-first summary for fast verification
Answer: Integrate the cluster's API as a new Type Provider in Deployment Manager, and utilize this new type to establish the DaemonSet.
Option A is the correct choice because adding the cluster's API as a new Type Provider in Deployment Manager allows for the direct creation of the DaemonSet within the kube-system namespace. This method leverages the RESTful API capabilities of Deployment Manager for efficient resource management. Options B, C, and D introduce unnecessary complexity or do not directly facilitate the creation of the DaemonSet, making them less optimal solutions. For detailed information on creating and utilizing type providers in Deployment Manager, refer to the Google Cloud documentation.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As the head of GCP projects in your firm, you're utilizing Deployment Manager to manage and configure GCP resources. You're currently working on a Deployment Manager template to create a GKE cluster and wish to also create a DaemonSet in the kube-system namespace of the cluster using the same template, with minimal service usage. What is the best approach?
A
Integrate the cluster's API as a new Type Provider in Deployment Manager, and utilize this new type to establish the DaemonSet.
B
Develop a new Config resource via the Deployment Manager Runtime Configurator that includes the DaemonSet definition.
C
Incorporate a Compute Engine instance in the Deployment Manager template equipped with a startup script that employs kubectl to generate the DaemonSet.
D
Embed metadata within the cluster's definition in Deployment Manager, setting kube-system as the key and the DaemonSet manifest as the value.
No comments yet.