Crossplane Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 16: Line 16:
===Reconciliation===
===Reconciliation===
==<span id='Composite_Resource'></span><span id='XR'></span>Composite Resource (XR)==
==<span id='Composite_Resource'></span><span id='XR'></span>Composite Resource (XR)==
* It can be thought of as a type.
* It can be thought of as a type. <font color=darkkhaki>Can it, or it's the Composite Resource Definition that can be thought of as a type?</font>
* An arbitrary number of [[#Composition|compositions]] (implementations) can be mapped onto one composite resource type.
* An arbitrary number of [[#Composition|compositions]] (implementations) can be mapped onto one composite resource type.
* Type of composite resource - defined with a Composite Resource Definition.
* Type of composite resource - defined with a Composite Resource Definition.

Revision as of 00:07, 2 November 2022

External

Internal

TODEPLETE

Crossplane Concepts TODEPLETE

Overview

Resources in a Crossplane Context

Custom Resource

Kubernetes Custom Resources

Managed Resource (MR)

https://crossplane.io/docs/v1.10/concepts/managed-resources.html

Managed Resource Name

https://crossplane.io/docs/v1.10/concepts/managed-resources.html#external-name

Reconciliation

Composite Resource (XR)

  • It can be thought of as a type. Can it, or it's the Composite Resource Definition that can be thought of as a type?
  • An arbitrary number of compositions (implementations) can be mapped onto one composite resource type.
  • Type of composite resource - defined with a Composite Resource Definition.
  • Type of claim - defined with a Composite Resource Definition.

External Resource

Composite Resource Claim (Claim, XRC)

Composite Resource Definition (XRD)

Composition

Why do we need a 'composition' to define how a composite resource maps onto managed resources? Why is not that information built into the composite resource definition itself?

Crossplane Resource Model (XRM)

https://crossplane.io/docs/v1.10/concepts/terminology.html#crossplane-resource-model
  • Standard Crossplane Resource Model fields.

Package

Package Format

https://github.com/crossplane/crossplane/blob/1aa83092172bdf0d2ed64754d33517c612ff7368/design/one-pager-package-format-v2.md#package-format-v2

Package Varieties

Provider Package

https://crossplane.io/docs/v1.10/concepts/packages.html#provider-packages

Configuration Package

https://crossplane.io/docs/v1.10/concepts/packages.html#configuration-packages

Crossplane Package Manager

Provider

Is the provider a package?

Provider Kinds

Kubernetes Provider

Helm Provider

Configuration

Is the configuration a package?

Crossplane Architecture

Core Crossplane Controller