<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Managed Resources on Crossplane</title><link>https://deploy-preview-1077--crossplane.netlify.app/master/managed-resources/</link><description>Recent content in Managed Resources 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-1077--crossplane.netlify.app/master/managed-resources/index.xml" rel="self" type="application/rss+xml"/><item><title>Managed Resources</title><link>https://deploy-preview-1077--crossplane.netlify.app/master/managed-resources/managed-resources/</link><pubDate/><guid>https://deploy-preview-1077--crossplane.netlify.app/master/managed-resources/managed-resources/</guid><description>&lt;p>A &lt;em>managed resource&lt;/em> (&lt;code>MR&lt;/code>) represents an external service in a Provider. When
users create a new managed resource, the Provider reacts by creating an external
resource inside the Provider&amp;rsquo;s environment. Every external service managed by
Crossplane maps to a managed resource.&lt;/p>
&lt;div class="admonition note d-flex flex-column mx-4 p-0">
&lt;div class="admonition-title">
&lt;svg class="bi flex-shrink-0" role="img" aria-label="note:">&lt;use
xlink:href="#info"/>&lt;/svg>
&lt;span class="ps-1">Note&lt;/span>
&lt;/div>
&lt;div class="admonition-content">
Crossplane calls the object inside Kubernetes a &lt;em>managed resource&lt;/em> and the
external object inside the Provider an &lt;em>external resource&lt;/em>.
&lt;/div>
&lt;/div>
&lt;p>Examples of managed resources include:&lt;/p></description></item><item><title>Managed Resource Definitions</title><link>https://deploy-preview-1077--crossplane.netlify.app/master/managed-resources/managed-resource-definitions/</link><pubDate/><guid>https://deploy-preview-1077--crossplane.netlify.app/master/managed-resources/managed-resource-definitions/</guid><description>&lt;div class="admonition important d-flex flex-column mx-4 p-0">
&lt;div class="admonition-title">
&lt;svg class="bi flex-shrink-0" role="img" aria-label="important:">&lt;use
xlink:href="#exclamation"/>&lt;/svg>
&lt;span class="ps-1">Important&lt;/span>
&lt;/div>
&lt;div class="admonition-content">
Crossplane v2.0+ enables managed resource definitions by default. This
automatically converts provider CRDs to MRDs during installation. To disable
this
behavior, set &lt;code>--enable-custom-to-managed-resource-conversion=false&lt;/code> when
installing Crossplane.
&lt;/div>
&lt;/div>
&lt;p>A &lt;code>ManagedResourceDefinition&lt;/code> (MRD) is a lightweight abstraction over
Kubernetes CustomResourceDefinitions (CRDs) that enables selective activation of
managed resources. MRDs solve the problem of providers installing hundreds of
CRDs when you only need one or two, reducing API server overhead and improving
cluster performance.&lt;/p></description></item><item><title>Managed Resource Activation Policies</title><link>https://deploy-preview-1077--crossplane.netlify.app/master/managed-resources/managed-resource-activation-policies/</link><pubDate/><guid>https://deploy-preview-1077--crossplane.netlify.app/master/managed-resources/managed-resource-activation-policies/</guid><description>&lt;div class="admonition important d-flex flex-column mx-4 p-0">
&lt;div class="admonition-title">
&lt;svg class="bi flex-shrink-0" role="img" aria-label="important:">&lt;use
xlink:href="#exclamation"/>&lt;/svg>
&lt;span class="ps-1">Important&lt;/span>
&lt;/div>
&lt;div class="admonition-content">
Managed resource activation policies work with
&lt;a href="https://deploy-preview-1077--crossplane.netlify.app/master/managed-resources/managed-resource-definitions/">managed resource definitions&lt;/a>,
which Crossplane v2.0+ enables by default. To disable this behavior, set
&lt;code>--enable-custom-to-managed-resource-conversion=false&lt;/code> when installing
Crossplane.
&lt;/div>
&lt;/div>
&lt;p>A &lt;code>ManagedResourceActivationPolicy&lt;/code> (MRAP) controls which
&lt;a href="https://deploy-preview-1077--crossplane.netlify.app/master/managed-resources/managed-resource-definitions/">ManagedResourceDefinitions&lt;/a>
become active in your cluster. MRAPs enable selective installation of provider
resources, allowing you to activate only the 10 managed resources you need
instead of the 100+ that a provider ships.&lt;/p>
&lt;h2 id="the-selective-activation-problem">The selective activation problem &lt;a class="anchor-link" id="the-selective-activation-problem" href="#the-selective-activation-problem" aria-label="Link to this section: The selective activation problem">&lt;/a>&lt;/h2>
&lt;p>Modern Crossplane providers can ship dozens or hundreds of managed resources,
but most users only need a small subset. Before MRAPs, you got &amp;ldquo;all or
nothing&amp;rdquo; - installing a provider meant getting every managed resource it
supported, consuming unnecessary cluster resources.&lt;/p></description></item><item><title>Usages</title><link>https://deploy-preview-1077--crossplane.netlify.app/master/managed-resources/usages/</link><pubDate/><guid>https://deploy-preview-1077--crossplane.netlify.app/master/managed-resources/usages/</guid><description>&lt;p>A &lt;code>Usage&lt;/code> indicates a resource is in use. Two main use cases for Usages are
as follows:&lt;/p>
&lt;ol>
&lt;li>Protecting a resource from accidental deletion.&lt;/li>
&lt;li>Deletion ordering by ensuring that a resource isn&amp;rsquo;t deleted before the
deletion of its dependent resources.&lt;/li>
&lt;/ol>
&lt;p>See the section &lt;a href="#usage-for-deletion-protection">Usage for Deletion Protection&lt;/a> for the
first use case and the section &lt;a href="#usage-for-deletion-ordering">Usage for Deletion Ordering&lt;/a>
for the second one.&lt;/p>
&lt;h2 id="enable-usages">Enable usages &lt;a class="anchor-link" id="enable-usages" href="#enable-usages" aria-label="Link to this section: Enable usages">&lt;/a>&lt;/h2>
&lt;!-- vale write-good.Passive = NO -->
&lt;p>Usages are a beta feature. Crossplane enables beta features by default.&lt;/p></description></item></channel></rss>