What should you do?

You are using Deployment Manager to create a Google Kubernetes Engine cluster. Using the same Deployment Manager deployment, you also want to create a DaemonSet in the kube-system namespace of the cluster. You want a solution that uses the fewest possible services.

What should you do?
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.

Answer: A

Explanation:

Adding an API as a type provider

This page describes how to add an API to Google Cloud Deployment Manager as a type provider. To learn more about types and type providers, read the Types overview documentation.

A type provider exposes all of the resources of a third-party API to Deployment Manager as base types that you can use in your configurations. These types must be directly served by a RESTful API that supports Create, Read, Update, and Delete (CRUD).

If you want to use an API that is not automatically provided by Google with Deployment Manager, you must add the API as a type provider.

https://cloud.google.com/deployment-manager/docs/configuration/type-providers/creating-type-provider

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments