<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Composition on Crossplane</title><link>https://deploy-preview-1143--crossplane.netlify.app/master/composition/</link><description>Recent content in Composition on Crossplane</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 01 Jan 0001 00:00:00 +0000</lastBuildDate><atom:link href="https://deploy-preview-1143--crossplane.netlify.app/master/composition/index.xml" rel="self" type="application/rss+xml"/><item><title>Composite Resources</title><link>https://deploy-preview-1143--crossplane.netlify.app/master/composition/composite-resources/</link><pubDate/><guid>https://deploy-preview-1143--crossplane.netlify.app/master/composition/composite-resources/</guid><description>&lt;p&gt;A composite resource, or XR, represents a set of Kubernetes resources as a
single Kubernetes object. Crossplane creates composite resources when users
access a custom API, defined in the CompositeResourceDefinition.&lt;/p&gt;
&lt;div class="admonition tip d-flex flex-column mx-4 p-0"&gt;
&lt;div class="admonition-title"&gt;
&lt;svg class="bi flex-shrink-0" role="img" aria-label="tip:"&gt;&lt;use
xlink:href="#check"/&gt;&lt;/svg&gt;
&lt;span class="ps-1"&gt;Tip&lt;/span&gt;
&lt;/div&gt;
&lt;div class="admonition-content"&gt;
Composite resources are a &lt;em&gt;composite&lt;/em&gt; of Kubernetes resources.&lt;br&gt;
A &lt;em&gt;Composition&lt;/em&gt; defines how to &lt;em&gt;compose&lt;/em&gt; the resources together.
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="accordion mb-3" id="what-are-xrs-xrds-and-compositions-1941-Parent"&gt;
&lt;div class="accordion-item"&gt;
&lt;h2 class="accordion-header" id="what-are-xrs-xrds-and-compositions-1941"&gt;
&lt;button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#what-are-xrs-xrds-and-compositions-1941-Content" aria-expanded="false" aria-controls="what-are-xrs-xrds-and-compositions-1941-Content"&gt;
What are XRs, XRDs and Compositions?
&lt;/button&gt;
&lt;/h2&gt;
&lt;div id="what-are-xrs-xrds-and-compositions-1941-Content" class="accordion-collapse collapse" aria-labelledby="what-are-xrs-xrds-and-compositions-1941" data-bs-parent="#what-are-xrs-xrds-and-compositions-1941-Parent"&gt;
&lt;div class="accordion-body rounded-bottom"&gt;
&lt;p&gt;A composite resource or XR (this page) is a custom API.&lt;/p&gt;</description></item><item><title>Composite Resource Definitions</title><link>https://deploy-preview-1143--crossplane.netlify.app/master/composition/composite-resource-definitions/</link><pubDate/><guid>https://deploy-preview-1143--crossplane.netlify.app/master/composition/composite-resource-definitions/</guid><description>&lt;p&gt;Composite resource definitions (&lt;code&gt;XRDs&lt;/code&gt;) define the schema for a custom API.
Users create composite resources (&lt;code&gt;XRs&lt;/code&gt;) using the API schema defined by an
XRD.&lt;/p&gt;
&lt;div class="admonition note d-flex flex-column mx-4 p-0"&gt;
&lt;div class="admonition-title"&gt;
&lt;svg class="bi flex-shrink-0" role="img" aria-label="note:"&gt;&lt;use
xlink:href="#info"/&gt;&lt;/svg&gt;
&lt;span class="ps-1"&gt;Note&lt;/span&gt;
&lt;/div&gt;
&lt;div class="admonition-content"&gt;
Read the &lt;a href="https://deploy-preview-1143--crossplane.netlify.app/master/composition/composite-resources/"&gt;composite resources&lt;/a&gt; page for more
information about composite resources.
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="accordion mb-3" id="what-are-xrs-xrds-and-compositions-1708-Parent"&gt;
&lt;div class="accordion-item"&gt;
&lt;h2 class="accordion-header" id="what-are-xrs-xrds-and-compositions-1708"&gt;
&lt;button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#what-are-xrs-xrds-and-compositions-1708-Content" aria-expanded="false" aria-controls="what-are-xrs-xrds-and-compositions-1708-Content"&gt;
What are XRs, XRDs and Compositions?
&lt;/button&gt;
&lt;/h2&gt;
&lt;div id="what-are-xrs-xrds-and-compositions-1708-Content" class="accordion-collapse collapse" aria-labelledby="what-are-xrs-xrds-and-compositions-1708" data-bs-parent="#what-are-xrs-xrds-and-compositions-1708-Parent"&gt;
&lt;div class="accordion-body rounded-bottom"&gt;
&lt;p&gt;A &lt;a href="https://deploy-preview-1143--crossplane.netlify.app/master/composition/composite-resources/"&gt;composite resource&lt;/a&gt; or XR is a custom API.&lt;/p&gt;
&lt;p&gt;You use two Crossplane types to create a new custom API:&lt;/p&gt;</description></item><item><title>Compositions</title><link>https://deploy-preview-1143--crossplane.netlify.app/master/composition/compositions/</link><pubDate/><guid>https://deploy-preview-1143--crossplane.netlify.app/master/composition/compositions/</guid><description>&lt;p&gt;Compositions are a template for creating multiple Kubernetes resources as a
single &lt;em&gt;composite&lt;/em&gt; resource.&lt;/p&gt;
&lt;p&gt;A Composition &lt;em&gt;composes&lt;/em&gt; individual resources together into a larger, reusable,
solution.&lt;/p&gt;
&lt;p&gt;An example Composition may combine a virtual machine, storage resources and
networking policies. A Composition template links all these individual
resources together.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s an example Composition. When you create an
&lt;code&gt;&lt;highlight-term id="1787675143622648286" data-label=intro data-line=8&gt;AcmeBucket&lt;/highlight-term&gt;&lt;/code&gt; composite resource
(XR) that uses this Composition, Crossplane uses the template to create the
Amazon S3 &lt;code&gt;&lt;highlight-term id="1787675143622710457" data-label=intro data-line=18&gt;Bucket&lt;/highlight-term&gt;&lt;/code&gt; managed
resource.&lt;/p&gt;</description></item><item><title>Composition Revisions</title><link>https://deploy-preview-1143--crossplane.netlify.app/master/composition/composition-revisions/</link><pubDate/><guid>https://deploy-preview-1143--crossplane.netlify.app/master/composition/composition-revisions/</guid><description>&lt;p&gt;This guide discusses the use of &amp;ldquo;Composition Revisions&amp;rdquo; to make and roll
back changes to a Crossplane &lt;a href="https://deploy-preview-1143--crossplane.netlify.app/master/composition/compositions/"&gt;&lt;code&gt;Composition&lt;/code&gt;&lt;/a&gt;. It assumes
familiarity with Crossplane and
&lt;a href="https://deploy-preview-1143--crossplane.netlify.app/master/composition/compositions/"&gt;Compositions&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A &lt;code&gt;Composition&lt;/code&gt; configures how Crossplane should reconcile a Composite Resource
(XR). Put otherwise, when you create an XR the selected &lt;code&gt;Composition&lt;/code&gt; determines
what resources Crossplane creates in response. For example,
you define a &lt;code&gt;PlatformDB&lt;/code&gt; XR, which represents your organisation&amp;rsquo;s common
database configuration of an Azure MySQL Server and some firewall rules. The
&lt;code&gt;Composition&lt;/code&gt; contains the &amp;lsquo;base&amp;rsquo; configuration for the MySQL server and the
firewall rules that the &lt;code&gt;PlatformDB&lt;/code&gt; configuration extends.&lt;/p&gt;</description></item><item><title>Environment Configs</title><link>https://deploy-preview-1143--crossplane.netlify.app/master/composition/environment-configs/</link><pubDate/><guid>https://deploy-preview-1143--crossplane.netlify.app/master/composition/environment-configs/</guid><description>&lt;!--
TODO: Add Policies
--&gt;
&lt;p&gt;A Crossplane EnvironmentConfig is a cluster-scoped, strongly typed,
&lt;a href="https://kubernetes.io/docs/concepts/configuration/configmap/"&gt;ConfigMap&lt;/a&gt;-like
resource used by Compositions. Compositions can use the environment to store
information from individual resources or to apply patches.&lt;/p&gt;
&lt;p&gt;Crossplane supports multiple &lt;code&gt;EnvironmentConfigs&lt;/code&gt;, each acting as a unique
data store.&lt;/p&gt;
&lt;p&gt;When Crossplane creates a composite resource, Crossplane merges all the
EnvironmentConfigs referenced in the associated Composition and creates a unique
in-memory environment for that composite resource.&lt;/p&gt;
&lt;p&gt;The composite resource can read and write data to their unique
in-memory environment.&lt;/p&gt;</description></item></channel></rss>