@@ -8,11 +8,11 @@ aliases:
8
8
description : " Compositions are a template for creating Crossplane resources"
9
9
---
10
10
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 .
13
13
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.
16
16
17
17
An example Composition may combine a virtual machine, storage resources and
18
18
networking policies. A Composition template links all these individual
@@ -60,7 +60,7 @@ Crossplane has four core components that users commonly mix up:
60
60
(` XRD`) - A custom API specification.
61
61
* [Composite Resource]({{<ref "./composite-resources">}}) (`XR`) - Created by
62
62
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.
64
64
{{</expand >}}
65
65
66
66
# # Create a Composition
@@ -145,8 +145,8 @@ you create a composite resource. The Function also tells Crossplane what to do
145
145
with these resources when you update or delete a composite resource.
146
146
147
147
When 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.
150
150
151
151
Crossplane knows what Function to call when a composite resource changes by
152
152
looking at the Composition the composite resource uses.
@@ -239,11 +239,10 @@ spec:
239
239
` ` `
240
240
241
241
242
- # ## Enable composite resources
242
+ # ## Match composite resources
243
243
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.
247
246
248
247
A Composition's {{<hover label="typeref" line="6">}}compositeTypeRef{{</hover>}}
249
248
defines 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.
559
558
Crossplane errors if stability isn't reached after 5 iterations.
560
559
561
560
{{<hint "tip">}}
562
- <!-- vale write-good.Weasel = NO -->
563
- <!-- Disable Weasel to say "usually", which is correct in this context. -->
564
561
A _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.
569
563
{{</hint>}}
570
564
571
565
# ## Observed state
0 commit comments