Preparing and using Bootstrap services

This page is for infrastructure operators or platform administrators. This page describes how to prepare and install Bootstrap services. With Bootstrap services, infrastructure operators provision extra resources to extend the functionality of Anthos user clusters, for example:

  • Preinstall storage operators like NetApp Trident to provision a default StorageClass.
  • Preinstall GPU drivers to support workloads which need GPUs.

Infrastructure operators prepare Bootstrap services which contain feature manifests. Platform administrators select Bootstrap services that they need to install on user clusters.

Prepare Bootstrap services

Infrastructure operators must prepare Bootstrap services first. Anthos Management Center does not support Bootstrap services preparation. Use the kubectl command-line tool to complete this task. Here's a sequence of steps to follow:

  1. Create a ConfigMap which contains the manifests:

    kubectl create configmap configmap name --from-file=path to manifests
    
  2. Create a Bootstrap service with reference to the preceding ConfigMap and specify Bootstrap services as reusable or not. For more information, see the sample BootstrapService configuration file.

Use Bootstrap services

After the successful preparation of Bootstrap services, platform administrators install Bootstrap services that they need on user clusters during cluster creation flow or after cluster creation. Use either Anthos Management Center Console or kubectl to complete this task.

Management Center Console

On the user cluster creation page, select the Bootstrap services that you need. After the user cluster is ready, the manifests are applied to the user cluster shortly.

To install a Bootstrap service on an existing user cluster, go to the cluster edit page, select the Bootstrap services that you need, and submit.

kubectl

Install Bootstrap services using kubectl, by creating BootstrapServiceBindings. For details, see the sample BootstrapServiceBinding configuration file.