@@ -8,11 +8,11 @@ aliases:
88description : " Compositions are a template for creating Crossplane resources"
99---
1010
11- Compositions are a template for creating multiple managed resources as a single
12- object .
11+ Compositions are a template for creating multiple Kubernetes resources as a
12+ single _ composite _ resource .
1313
14- A Composition _ composes_ individual managed resources together into a larger,
15- reusable, solution.
14+ A Composition _ composes_ individual resources together into a larger, reusable ,
15+ solution.
1616
1717An example Composition may combine a virtual machine, storage resources and
1818networking policies. A Composition template links all these individual
@@ -60,7 +60,7 @@ Crossplane has four core components that users commonly mix up:
6060 (` XRD`) - A custom API specification.
6161* [Composite Resource]({{<ref "./composite-resources">}}) (`XR`) - Created by
6262 using the custom API defined in a Composite Resource Definition. XRs use the
63- Composition template to create new managed resources.
63+ Composition template to create new resources.
6464{{</expand >}}
6565
6666# # Create a Composition
@@ -145,8 +145,8 @@ you create a composite resource. The Function also tells Crossplane what to do
145145with these resources when you update or delete a composite resource.
146146
147147When Crossplane calls a Function it sends it the current state of the composite
148- resource. It also sends it the current state of any managed resources the
149- composite resource owns.
148+ resource. It also sends it the current state of any resources the composite
149+ resource owns.
150150
151151Crossplane knows what Function to call when a composite resource changes by
152152looking at the Composition the composite resource uses.
@@ -239,11 +239,10 @@ spec:
239239` ` `
240240
241241
242- # ## Enable composite resources
242+ # ## Match composite resources
243243
244- A Composition is only a template defining how to create managed
245- resources. A Composition limits which Composite Resources can use this
246- template.
244+ A Composition is only a template defining how to create composed resources. A
245+ Composition limits which kind of composite resource (XR) can use this template.
247246
248247A Composition's {{<hover label="typeref" line="6">}}compositeTypeRef{{</hover>}}
249248defines which Composite Resource type can use this Composition.
@@ -559,13 +558,8 @@ stable, so the Function returns the same exact request two times in a row.
559558Crossplane errors if stability isn't reached after 5 iterations.
560559
561560{{<hint "tip">}}
562- <!-- vale write-good.Weasel = NO -->
563- <!-- Disable Weasel to say "usually", which is correct in this context. -->
564561A _composed_ resource is a resource created by a composite resource. Composed
565- resources are usually Crossplane managed resources (MRs), but they can be any
566- kind of Crossplane resource. For example a composite resource could also create
567- a ProviderConfig, or another kind of composite resource.
568- <!-- vale write-good.Weasel = YES -->
562+ resources can be any kind of Kubernetes resource.
569563{{</hint>}}
570564
571565# ## Observed state
0 commit comments