Skip to main content
This guide shows you how to export a cluster template from a cluster created in the UI. This is useful when you want to switch a cluster from being manually managed to being managed by cluster templates (i.e. via the CLI, to be used in CI automation).

Exporting the cluster template

To export a cluster, run the following command:
It will export the template for the cluster with name my-cluster into the file my-cluster-exported-template.yaml. If you inspect the exported template, you will see an output like the following:

Using the exported cluster template to manage the cluster

You can now use this template to manage the cluster - edit the template as needed and sync it using the CLI:
Check the sync status: