For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Get traces for Crossplane reconciliation

If a Custom Resource of the Cennso Database extension, such as the database operator or the database instance, is not ready after applying to the cluster, you can use the crossplaneOpens in a new tab utility to get tracing of the events related to this resource.

You can download this utility using the following command:

bash

The following section explains how to inspect Crossplane's reconciliation of a resource tree and check why a composite resource is stuck in a pending or error state.

Step-by-step trace

The crossplane beta trace command shows the tree of resources that Crossplane creates for a Custom Resource, together with the status of every resource in the tree. To trace a Custom Resource, execute the following steps:

  1. List the resources you are interested in. Use the resource name that corresponds to the Custom Resource:

    To get the list of all Cluster-scoped resources, use the following command:

    bash

    To get the list of all Namespace-scoped resources, use the following command:

    bash
  2. Run the trace command for the resource you are interested in and capture the logs of events, references, and status updates.

    To trace a Cluster-scoped resource, use the following command:

    bash

    To trace a Namespaced resource, use the following command:

    bash
  3. Check the status of the objects created by the composition. If there are errors in the output of the crossplane command above, you can find more information by inspecting the object that returned an error.

    • A Cluster-scoped resource creates Cluster-scoped objects. To inspect such an object, use the following command:

      bash
    • A Namespaced resource creates Namespaced objects in the namespace of the Custom Resource. To inspect such an object, use the following command:

      bash