Kind Resource

In the T-matic platform's ecosystem, a Resource is fundamental, denoting the underlying infrastructure components critical for systems to function. These might span databases, cloud storage mechanisms, message broadcasting systems, or even content delivery mechanisms. Integrating them with other entities, like Components and Systems, facilitates a holistic understanding of the infrastructure, enabling better visualization and tooling enhancements.

Example Descriptor for Resource:

apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
  name: ecommerce-website-database
  description: Database of eCommerce entities and related processes.
spec:
  type: database
  owner: ecommerce-team
  system: ecommerce-website

Resource Structure:

  • apiVersion and kind [required]:

  • spec.type [required]:

    • Details the nature of the resource, for instance, "database" or "s3-bucket."

  • spec.owner [required]:

    • Indicates the entity responsible for the resource within T-matic, ensuring accountability.

  • spec.system [optional]:

    • Ties the resource to a broader system or service within the organization.

  • spec.dependsOn [optional]:

    • Lists components and resources that this specific resource relies upon.

  • spec.dependencyOf [optional]:

    • Details the components and resources that depend on this resource.

Considerations:

  1. The type field provides flexibility, and while T-matic doesn't enforce a strict set of values, it's recommended to maintain consistency across the organization for clearer comprehension.

  2. The owner typically points to a team or entity responsible for managing and maintaining the resource. This is crucial for accountability and easy troubleshooting.

  3. Establishing interdependencies using fields like system, dependsOn, and dependencyOf offers insights into how different infrastructure components interrelate, fostering efficient management.

In essence, defining a Resource within T-matic provides a structured representation of the organization's infrastructure, making it easier to manage, monitor, and maintain these crucial components.

Last updated