content large_stringlengths 3 20.5k | url large_stringlengths 53 192 ⌀ | branch large_stringclasses 4
values | source large_stringclasses 51
values | embeddings listlengths 384 384 | score float64 -0.21 0.65 |
|---|---|---|---|---|---|
Starting with the v1.10.0 release, Crossplane is released on a quarterly (13 week) cadence. A cycle is comprised of three general stages: - Weeks 1—11: [Active Development] - Week 12: [Feature Freeze] - Week 13: [Code Freeze] This results in four releases per year, with the most recent three releases being maintained a... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/learn/release-cycle.md | master | crossplane | [
-0.058480557054281235,
-0.09638641029596329,
0.07576838880777359,
-0.06982032209634781,
0.043983589857816696,
0.014977969229221344,
-0.06627611815929413,
-0.0012202846119180322,
-0.10587085783481598,
0.024414537474513054,
0.04878360778093338,
0.04056166857481003,
-0.10706786066293716,
-0.0... | 0.041278 |
of an exception by Crossplane maintainers. This process is currently informal, but may be formalized in the future. ## Release dates Crossplane releases once a quarter (every 13 weeks). Typically, the release happens on the Tuesday of the last week of the quarter, as shown on the [community calendar][community calendar... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/learn/release-cycle.md | master | crossplane | [
-0.03071451745927334,
-0.0660717561841011,
0.054860349744558334,
-0.03445284441113472,
0.047981563955545425,
0.007246077060699463,
-0.10832444578409195,
-0.02989131398499012,
-0.03822394087910652,
0.05896719917654991,
0.024707121774554253,
-0.004722138401120901,
-0.10251724720001221,
-0.05... | -0.06293 |
If you have any questions, please drop us a note on [Crossplane Slack][join-crossplane-slack] or [contact us][contact-us]. \*\*\*Learn more about using Crossplane\*\*\* - [Latest Design Docs](https://github.com/crossplane/crossplane/tree/main/design) - [Roadmap](https://github.com/crossplane/crossplane/blob/main/ROADMA... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/learn/_index.md | master | crossplane | [
-0.06818708032369614,
-0.03883186727762222,
0.019976487383246422,
-0.03435925394296646,
-0.05980806425213814,
-0.0770929753780365,
-0.01954200118780136,
-0.04092969000339508,
0.0005801687948405743,
0.03933548554778099,
-0.04995313286781311,
-0.10277435183525085,
0.02339254319667816,
-0.039... | 0.005649 |
Crossplane is a control plane framework for platform engineering. \*\*Crossplane lets you build control planes to manage your cloud native software.\*\* It lets you design the APIs and abstractions that your users use to interact with your control planes. {{< hint "tip" >}} \*\*A control plane is software that controls... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/whats-crossplane/_index.md | master | crossplane | [
-0.08006491512060165,
-0.10913938283920288,
0.012750956229865551,
-0.03295225277543068,
0.015842532739043236,
0.0163281187415123,
0.04725831374526024,
0.010498721152544022,
0.053213976323604584,
0.0720314159989357,
0.0036823968403041363,
-0.0554448701441288,
-0.020708909258246422,
-0.12943... | 0.205375 |
including [YAML](https://yaml.org), [KCL](https://www.kcl-lang.io), [Python](https://python.org), and [Go](https://go.dev). {{}} You can use composition together with [managed resources](#managed-resources) to build new custom resource APIs powered by managed resources. Follow [Get Started with Composition]({{}}) to se... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/whats-crossplane/_index.md | master | crossplane | [
-0.00021984412160236388,
-0.07259815186262131,
0.02948666177690029,
-0.013181142508983612,
-0.03346128761768341,
0.017021510750055313,
-0.030528660863637924,
-0.04058930277824402,
0.06105276197195053,
0.08261148631572723,
-0.0211426243185997,
-0.04446355253458023,
0.04989713802933693,
0.00... | 0.145272 |
The `crossplane` CLI provides utilities to make using Crossplane easier. Read the [Crossplane CLI overview]({{}}) page for information on installing `crossplane`. ## Global flags The following flags are available for all commands. {{< table "table table-sm table-striped">}} | Short flag | Long flag | Description | |---... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/cli/command-reference.md | master | crossplane | [
-0.03790253400802612,
-0.009952210821211338,
-0.07485875487327576,
-0.00913946982473135,
0.04650449752807617,
-0.04944445565342903,
-0.033649563789367676,
0.012875907123088837,
-0.0570085346698761,
0.060147784650325775,
0.05715255066752434,
-0.11089645326137543,
-0.025018997490406036,
-0.0... | 0.010534 |
in a Crossplane cluster. A function can reference and manipulate the included resource as part of running the function. The `observed-resources` may be a single YAML file with multiple resources or a directory of YAML files representing multiple resources. Inside the YAML file include an {{}}apiVersion{{}}, {{}}kind{{}... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/cli/command-reference.md | master | crossplane | [
-0.04263579472899437,
-0.029032962396740913,
0.00665621180087328,
0.03914579376578331,
0.10590360313653946,
-0.03126872330904007,
0.01223890483379364,
-0.054702404886484146,
0.019081812351942062,
-0.01899365894496441,
-0.00598163390532136,
-0.1078505590558052,
0.004392816219478846,
-0.0510... | 0.116541 |
xpkg init The `crossplane xpkg init` command populates the current directory with files to build a package. Provide a name to use for the package and the package template to start from with the command `crossplane xpkg init ` The `` input isn't used. Crossplane reserves the `` for future releases. The `` value may be o... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/cli/command-reference.md | master | crossplane | [
-0.09628964215517044,
0.0007392986444756389,
-0.018078818917274475,
-0.0468742698431015,
0.00783439539372921,
-0.006860040128231049,
-0.0029932258184999228,
0.05622430145740509,
-0.03862180933356285,
-0.014505509287118912,
0.06006048247218132,
-0.0709054172039032,
-0.038901206105947495,
-0... | 0.01679 |
`kubectl describe configuration`. Use `--wait` to have the `crossplane xpkg install` command to wait for a package to have the condition `HEALTHY` before continuing. The command returns an error if the `wait` time expires before the package is `HEALTHY`. #### Require manual package activation Set the package to require... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/cli/command-reference.md | master | crossplane | [
-0.03442087769508362,
-0.0008767219260334969,
0.037862204015254974,
-0.03583599999547005,
-0.00937145296484232,
0.01640358567237854,
-0.028586655855178833,
-0.01772480271756649,
0.03654222935438156,
0.04789935424923897,
0.058658283203840256,
-0.10518605262041092,
-0.03968743979930878,
-0.1... | 0.032533 |
my-package.xpkg crossplane-docs/my-package:v0.14.0` To push to another package registry, like [DockerHub](https://hub.docker.com/) provide the full URL along with the package name. For example, to push a local package named `my-package` to DockerHub organization `crossplane-docs/my-package:v0.14.0` use: `crossplane xpk... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/cli/command-reference.md | master | crossplane | [
0.0004268334887456149,
0.010184478014707565,
-0.016514262184500694,
-0.03103487566113472,
-0.01301747839897871,
-0.028239261358976364,
-0.024015557020902634,
0.04968351125717163,
-0.019457602873444557,
0.011248474940657616,
0.019823532551527023,
-0.1407884806394577,
-0.01795952394604683,
-... | -0.08563 |
logging information with the output. | {{< /table >}} The Kubernetes metrics server may take some time to collect data for the `crossplane beta top` command. Before the metrics server is ready, running the `top` command may produce an error, for example, `crossplane: error: error adding metrics to pod, check if metrics... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/cli/command-reference.md | master | crossplane | [
0.030899234116077423,
-0.045673269778490067,
0.016755644232034683,
0.016925541684031487,
0.031634509563446045,
-0.06014132872223854,
0.026520991697907448,
-0.008933976292610168,
0.0934799537062645,
0.06535719335079193,
-0.029795488342642784,
-0.11441566795110703,
-0.05722380429506302,
-0.0... | 0.172966 |
True Available │ └─ Secret/3f11c30b-dd94-4f5b-aff7-10fe4318ab1f (upbound-system) - - ├─ XEKS/platform-ref-aws-mlnwb-fqjzz True True Available │ ├─ OpenIDConnectProvider/platform-ref-aws-mlnwb-h26xx True True Available │ └─ Secret/9666eccd-929c-4452-8658-c8c881aee137-eks (upbound-system) - - ├─ XServices/platform-ref-aw... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/cli/command-reference.md | master | crossplane | [
-0.10859250277280807,
-0.0394684299826622,
-0.06635916978120804,
-0.07062952220439911,
0.1413773000240326,
-0.013898064382374287,
0.0403999499976635,
-0.08677510172128677,
0.09141600131988525,
0.06151289865374565,
0.0904553234577179,
-0.02411668188869953,
0.024825895205140114,
-0.035639654... | 0.048564 |
True - HealthyPackageRevision │ ├─ ConfigurationRevision/upbound-configuration-app-5d95726dba8c v0.2.0 - True Active HealthyPackageRevision │ ├─ Provider/crossplane-contrib-provider-helm v0.16.0 True True - HealthyPackageRevision │ │ └─ ProviderRevision/crossplane-contrib-provider-helm-b4cc4c2c8db3 v0.16.0 - True Activ... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/cli/command-reference.md | master | crossplane | [
-0.022398756816983223,
-0.022840699180960655,
0.03558936342597008,
-0.08025162667036057,
0.0832926481962204,
-0.0602162629365921,
-0.0275452621281147,
-0.030725952237844467,
-0.0503685437142849,
0.04662049189209938,
0.12086256593465805,
-0.038549065589904785,
0.0012903097085654736,
-0.0535... | 0.037575 |
downloaded schemas. | | | `--clean-cache` | Clean the cache directory before downloading package schemas. | | | `--skip-success-results` | Skip printing success results. | | | `--verbose` | Print verbose logging statements. | {{< /table >}} #### Validate resources against a schema The `crossplane beta validate` command... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/cli/command-reference.md | master | crossplane | [
0.013823924586176872,
-0.0571230985224247,
0.029422760009765625,
-0.059885092079639435,
0.05661019682884216,
-0.03350748121738434,
0.02662627398967743,
-0.06425288319587708,
0.03267446532845497,
0.04625226929783821,
0.06867719441652298,
-0.08976033329963684,
-0.04006025940179825,
-0.016349... | 0.097627 |
kind: XR metadata: name: example spec: replicas: 49 minReplicas: 1 maxReplicas: 30 ``` Running `crossplane beta validate` with the example XRD and XR produces an error. ```shell `crossplane beta validate xrd.yaml xr.yaml [x] CEL validation error example.crossplane.io/v1beta1, Kind=XR, example : spec: Invalid value: "ob... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/cli/command-reference.md | master | crossplane | [
-0.02748964913189411,
-0.046024125069379807,
-0.0006357581005431712,
-0.06566744297742844,
0.0758223682641983,
-0.07000014185905457,
-0.0324278362095356,
0.038788244128227234,
0.008137851022183895,
-0.006844802293926477,
0.0499456450343132,
-0.0932171642780304,
0.008665944449603558,
0.0370... | 0.052404 |
The Crossplane CLI helps simplify some development and administration aspects of Crossplane. The Crossplane CLI includes: \* tools to build, install, update and push Crossplane Packages \* standalone Composition Function testing and rendering without the need to access a Kubernetes cluster running Crossplane \* trouble... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/cli/_index.md | master | crossplane | [
-0.0023035146296024323,
-0.08153114467859268,
0.05153186619281769,
-0.06437379866838455,
0.006307738367468119,
-0.021871892735362053,
-0.06185392290353775,
-0.010167709551751614,
0.018759790807962418,
0.004409194458276033,
-0.0027350273448973894,
-0.12992967665195465,
-0.11596106737852097,
... | 0.123443 |
A Crossplane EnvironmentConfig is a cluster-scoped, strongly typed, [ConfigMap](https://kubernetes.io/docs/concepts/configuration/configmap/)-like resource used by Compositions. Compositions can use the environment to store information from individual resources or to apply patches. Crossplane supports multiple `Environ... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/environment-configs.md | master | crossplane | [
0.017939038574695587,
-0.06864602118730545,
0.043294455856084824,
0.020498741418123245,
0.024828661233186722,
0.036404382437467575,
0.036693278700113297,
-0.0469328872859478,
0.06929583102464676,
0.024379657581448555,
-0.0447150394320488,
-0.12522220611572266,
0.03358561545610428,
-0.08245... | 0.146146 |
the composite resource. Use `type: FromCompositeFieldPath` and provide the field to match in the `valueFromFieldPath` field. ```yaml {label="byLabel",copy-lines="all"} apiVersion: apiextensions.crossplane.io/v1 kind: Composition metadata: name: example-composition spec: mode: Pipeline pipeline: - step: environmentConfi... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/environment-configs.md | master | crossplane | [
0.04231225326657295,
-0.015713561326265335,
-0.00858472753316164,
-0.016424108296632767,
0.04494382441043854,
0.02965112403035164,
0.015993138775229454,
-0.0009182117646560073,
0.004466245416551828,
-0.02879256382584572,
-0.014140399172902107,
-0.1358225792646408,
-0.023134110495448112,
-0... | 0.006721 |
the label always overwrites the label value. {{< /hint >}} ## Patching with EnvironmentConfigs using function-patch-and-transform `EnvironmentConfigs` selected as explained above, are then merged in an `in-memory environment` by [function-environment-configs] and passed to the next function in the pipeline at a well kn... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/environment-configs.md | master | crossplane | [
-0.0484386645257473,
0.03830476477742195,
-0.01538978610187769,
0.03745637834072113,
0.028290707617998123,
0.008679130114614964,
0.0592384934425354,
0.04221128672361374,
-0.05196598544716835,
-0.020851904526352882,
0.003637982066720724,
-0.0768783837556839,
0.007120159920305014,
-0.0451242... | 0.089304 |
Compositions are a template for creating multiple Kubernetes resources as a single \_composite\_ resource. A Composition \_composes\_ individual resources together into a larger, reusable, solution. An example Composition may combine a virtual machine, storage resources and networking policies. A Composition template l... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/compositions.md | master | crossplane | [
-0.011701478622853756,
-0.06328156590461731,
0.028841575607657433,
-0.028980758041143417,
0.024979211390018463,
0.07031320780515671,
-0.028371719643473625,
-0.04420363903045654,
0.10557124763727188,
0.025041814893484116,
-0.011480385437607765,
-0.11287621408700943,
0.022991379722952843,
-0... | 0.073582 |
the {{}}name{{}} of the Function to call. Some Functions also allow you to specify an {{}}input{{}}. The function defines the {{}}kind{{}} of input. This example uses [Function Patch and Transform]({{}}). Function Patch and Transform implements Crossplane resource templates. The input kind is {{}}Resources{{}}, and it ... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/compositions.md | master | crossplane | [
-0.07848500460386276,
0.031632374972105026,
0.0363469198346138,
-0.03447325900197029,
0.04483060538768768,
-0.0005352035514079034,
-0.03211459890007973,
-0.011649098247289658,
0.008319543674588203,
0.02614765428006649,
-0.015211084857583046,
-0.05630643293261528,
-0.03452973812818527,
-0.0... | 0.065328 |
compose - including XRs and MRs.\*\* {{< /hint >}} ## Test a composition You can preview the output of any composition using the Crossplane CLI. You don't need a Crossplane control plane to do this. The Crossplane CLI uses Docker Engine to run functions. {{}} See the [Crossplane CLI docs]({{}}) to learn how to install ... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/compositions.md | master | crossplane | [
-0.03021419793367386,
-0.015004242770373821,
0.026363017037510872,
-0.023748677223920822,
0.03325659781694412,
-0.031821563839912415,
-0.04261447489261627,
-0.03407163545489311,
0.05898859724402428,
-0.0121006453409791,
-0.01269510854035616,
-0.12518705427646637,
-0.00434436509385705,
-0.0... | -0.014715 |
the specified target. It uses [gRPC target syntax](https://github.com/grpc/grpc/blob/v1.59.1/doc/naming.md). ## Verify a Composition View all available Compositions with `kubectl get composition`. ```shell {copy-lines="1"} kubectl get composition NAME XR-KIND XR-APIVERSION AGE xapps.aws.platformref.upbound.io XApp aws.... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/compositions.md | master | crossplane | [
0.028445091098546982,
-0.06428170949220657,
-0.0066290851682424545,
-0.10147706419229507,
0.04163408651947975,
-0.006481814198195934,
-0.002950406400486827,
-0.07492517679929733,
0.07159608602523804,
-0.014255983754992485,
0.02036735974252224,
-0.1294495016336441,
0.007414115592837334,
-0.... | 0.042808 |
it can request any cluster-scoped resource Crossplane already has access to, either by name or labels through the returned RunFunctionResponse. Crossplane then calls the function again including the requested \_\_extra resources\_\_ and the \_\_context\_\_ returned by the Function itself alongside the same \_\_input\_\... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/compositions.md | master | crossplane | [
-0.05655171722173691,
-0.0552813820540905,
0.048506010323762894,
0.0016198704252019525,
-0.003597789676859975,
0.03153921291232109,
0.04629131406545639,
-0.06873197108507156,
0.053032368421554565,
-0.0026373767759650946,
-0.02804545685648918,
-0.08018067479133606,
0.012096745893359184,
-0.... | 0.131899 |
the fields it cares about to the desired state. It should add these fields every time Crossplane calls it. If a function adds a field to the desired state once, but doesn't add it the next time it's called, Crossplane deletes the field. The same is true for composed resources. If a function adds a composed resource to ... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/compositions.md | master | crossplane | [
-0.035653114318847656,
-0.013680395670235157,
0.07132945954799652,
-0.037936776876449585,
0.02753753587603569,
0.008831585757434368,
0.03704995661973953,
-0.09604451805353165,
0.1634770780801773,
0.07236884534358978,
-0.030123241245746613,
-0.06830330938100815,
-0.019812924787402153,
-0.08... | 0.132649 |
This guide discusses the use of "Composition Revisions" to safely make and roll back changes to a Crossplane [`Composition`][composition type]. It assumes familiarity with Crossplane, and particularly with [Compositions]. A `Composition` configures how Crossplane should reconcile a Composite Resource (XR). Put otherwis... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/composition-revisions.md | master | crossplane | [
0.015543232671916485,
-0.048197392374277115,
-0.010098802857100964,
-0.050682611763477325,
-0.016065038740634918,
-0.007516719400882721,
-0.012302926741540432,
-0.09259388595819473,
0.04889921471476555,
0.024665093049407005,
-0.013880052603781223,
0.008831150829792023,
0.09646336734294891,
... | -0.005574 |
it's first created, but must manually be updated when you wish it to use another `CompositionRevision`. ```yaml apiVersion: example.org/v1alpha1 kind: PlatformDB metadata: name: example spec: storageGB: 20 crossplane: # The Manual policy specifies that you don't want this XR to update to the # latest CompositionRevisio... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/composition-revisions.md | master | crossplane | [
-0.011155663058161736,
-0.12813295423984528,
0.0270912516862154,
-0.03316874802112579,
-0.04177821800112724,
0.035136446356773376,
-0.048897068947553635,
-0.056314628571271896,
0.06098499894142151,
-0.01758280023932457,
0.010134255513548851,
-0.0525817908346653,
-0.005136681720614433,
-0.0... | -0.002832 |
the Composite Resource with the label `channel: staging` doesn't have a `REVISION`. All other XRs have a `REVISION` matching the created Composition Revision. ```shell kubectl get composite -o="custom-columns=NAME:.metadata.name,SYNCED:.status.conditions[0].status,REVISION:.spec.crossplane.compositionRevisionRef.name,P... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/composition-revisions.md | master | crossplane | [
0.022851934656500816,
0.004880496766418219,
-0.02426411397755146,
-0.022838061675429344,
0.02043680101633072,
-0.010963106527924538,
-0.05178814381361008,
-0.06960759311914444,
0.0834430530667305,
0.022218013182282448,
0.012455375865101814,
-0.1258150190114975,
0.03550740331411362,
-0.0552... | -0.025648 |
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. {{}} Composite resources are a \_composite\_ of Kubernetes resources. A \_Composition\_ defines how to \... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/composite-resources.md | master | crossplane | [
-0.03538981080055237,
-0.04419767111539841,
0.052609823644161224,
-0.03792858496308327,
0.0006747400038875639,
0.004991179797798395,
0.007329465355724096,
-0.02092282846570015,
0.0670405700802803,
-0.03408657759428024,
0.025482365861535072,
-0.153280571103096,
0.04477991908788681,
-0.00561... | 0.119358 |
metadata: namespace: default name: my-composite-resource spec: crossplane: compositionUpdatePolicy: Manual compositionRevisionRef: name: my-composition-b5aa1eb # Removed for brevity ``` {{}} Find the Composition revision name from {{}}kubectl get compositionrevision{{}} ```shell {label="getcomprev",copy-lines="1"} kube... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/composite-resources.md | master | crossplane | [
0.018085503950715065,
0.040841519832611084,
0.07687528431415558,
-0.017238862812519073,
-0.011605233885347843,
0.057990219444036484,
-0.03373992443084717,
-0.07687289267778397,
0.06800541281700134,
-0.01863812655210495,
-0.037452660501003265,
-0.12145432829856873,
0.032627545297145844,
-0.... | -0.011914 |
Composite resource definitions (`XRDs`) define the schema for a custom API. Users create composite resources (`XRs`) using the API schema defined by an XRD. {{}} Read the [composite resources]({{}}) page for more information about composite resources. {{}} {{}} A [composite resource]({{}}) or XR is a custom API. You us... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/composite-resource-definitions.md | master | crossplane | [
-0.035680774599313736,
-0.048210762441158295,
-0.004639953840523958,
-0.019702507182955742,
-0.010488532483577728,
0.018050041049718857,
-0.00459131458774209,
-0.015006103552877903,
0.04540393128991127,
-0.007819483056664467,
0.04363406449556351,
-0.10804835706949234,
0.09094631671905518,
... | 0.083054 |
follow the Kubernetes custom resource definition [OpenAPIv3 structural schema](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#specifying-a-structural-schema). {{< /hint >}} Each {{}}version{{}} of the API has a unique {{}}schema{{}}. All XRD {{}}schemas{{}} validate aga... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/composite-resource-definitions.md | master | crossplane | [
-0.005548061802983284,
0.04514367878437042,
0.043267276138067245,
0.01213746052235365,
0.028612984344363213,
-0.02722456306219101,
0.00801202841103077,
-0.04743390530347824,
0.061390623450279236,
0.004285270813852549,
-0.014916793443262577,
-0.10670604556798935,
0.030130311846733093,
0.026... | 0.14629 |
and upgrade users before deleting the older schema version. {{< /hint >}} The {{}}referenceable: true{{}} field indicates which version of the schema Compositions use. Only one version can be `referenceable`. {{< hint "note" >}} Changing which version is `referenceable:true` requires [updating the `compositeTypeRef.api... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/composite-resource-definitions.md | master | crossplane | [
0.010932762175798416,
-0.008071611635386944,
0.07766733318567276,
-0.06625769287347794,
0.04248889535665512,
0.025370527058839798,
-0.08209028840065002,
-0.07120160758495331,
-0.0028299768455326557,
0.01624521240592003,
0.013345085084438324,
-0.06708328425884247,
-0.023724958300590515,
-0.... | 0.055886 |
XRDs. View the conditions of a XRD under their `Status` with `kubectl describe xrd`. ```yaml {copy-lines="none"} kubectl describe xrd Name: xpostgresqlinstances.database.starter.org API Version: apiextensions.crossplane.io/v1 Kind: CompositeResourceDefinition # Removed for brevity Status: Conditions: Reason: WatchingCo... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/composition/composite-resource-definitions.md | master | crossplane | [
0.018814824521541595,
-0.06464921683073044,
0.030409835278987885,
-0.03070654161274433,
0.06429348886013031,
0.004674933850765228,
0.01320922002196312,
-0.06295772641897202,
0.06316015869379044,
0.039974145591259,
0.030090758576989174,
-0.09088922291994095,
0.023058051243424416,
-0.0330027... | 0.10931 |
The recommended upgrade method for an existing Crossplane install is to use [Helm](http://helm.io). ## Prerequisites \* [Helm](https://helm.sh/docs/intro/install/) version `v3.2.0` or later ## Add the Crossplane Preview Helm repository Verify Helm has the Crossplane repository. ```shell helm repo add crossplane-preview... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/upgrade-crossplane.md | master | crossplane | [
-0.0010627344017848372,
-0.058654576539993286,
0.03767554461956024,
-0.11565358936786652,
0.03777549788355827,
-0.031159918755292892,
-0.07808329910039902,
-0.02613905817270279,
-0.01921505108475685,
0.1055806428194046,
0.06065070256590843,
-0.06388016790151596,
-0.0647408589720726,
-0.062... | -0.013396 |
Composition functions (or just functions, for short) are custom programs that template Crossplane resources. Crossplane calls composition functions to determine what resources it should create when you create a composite resource (XR). Read the [concepts]({{}}) page to learn more about composition functions. You can wr... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/write-a-composition-function-in-go.md | master | crossplane | [
-0.03328874707221985,
0.005873453337699175,
0.030805932357907295,
-0.0342109240591526,
0.02594725973904133,
0.03063463792204857,
0.02834388241171837,
0.02079586125910282,
0.020042696967720985,
-0.015804801136255264,
0.025131192058324814,
-0.025406986474990845,
0.00972293596714735,
-0.04115... | 0.065161 |
`crossplane xpkg init` gives you the option of running an initialization script to automate tasks like replacing the template name with the new function's name. {{}} You must make some changes before you start adding code: \* Edit `package/crossplane.yaml` to change the package's name. \* Edit `go.mod` to change the Go... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/write-a-composition-function-in-go.md | master | crossplane | [
-0.060967378318309784,
-0.007208238355815411,
-0.0644744411110878,
-0.02856231853365898,
-0.03424590453505516,
-0.038025565445423126,
0.006079534534364939,
0.09335602819919586,
-0.03516089916229248,
-0.02668236568570137,
0.09331683814525604,
-0.01648830994963646,
0.016339417546987534,
-0.0... | 0.034391 |
:= response.SetDesiredComposedResources(rsp, desired); err != nil { response.Fatal(rsp, errors.Wrapf(err, "cannot set desired composed resources in %T", rsp)) return rsp, nil } return rsp, nil } ``` Expand the below block to view the full `fn.go`, including imports and commentary explaining the function's logic. {{}} `... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/write-a-composition-function-in-go.md | master | crossplane | [
-0.0628831684589386,
0.025959210470318794,
-0.0731172189116478,
-0.02944793552160263,
0.03929967060685158,
-0.001785538624972105,
0.009809859097003937,
0.05723759904503822,
0.019719313830137253,
-0.013833564706146717,
-0.004601648077368736,
-0.019100604578852654,
-0.0341072678565979,
0.051... | 0.10171 |
v1beta1.BucketParameters{ // Set the bucket's region to the value read from the XR. Region: ptr.To[string](region), }, }, } // Convert the bucket to the unstructured resource data format the SDK // uses to store desired composed resources. cd, err := composed.From(b) if err != nil { response.Fatal(rsp, errors.Wrapf(err... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/write-a-composition-function-in-go.md | master | crossplane | [
-0.02560430020093918,
0.08126302063465118,
-0.00783214159309864,
0.007409537676721811,
0.025737009942531586,
-0.04452265053987503,
0.047842979431152344,
0.048148106783628464,
0.03265240043401718,
-0.02841315232217312,
-0.06549409031867981,
-0.10951180011034012,
0.06455524265766144,
-0.0252... | 0.000341 |
{ "name": "test" }, "spec": { "region": "us-east-2", "names": [ "test-bucket-a", "test-bucket-b" ] } }`), }, }, }, }, want: want{ rsp: &fnv1.RunFunctionResponse{ Meta: &fnv1.ResponseMeta{Ttl: durationpb.New(60 \* time.Second)}, Desired: &fnv1.State{ Resources: map[string]\*fnv1.Resource{ "xbuckets-test-bucket-a": {Reso... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/write-a-composition-function-in-go.md | master | crossplane | [
-0.04463287070393562,
0.06253110617399216,
-0.007304792758077383,
-0.010152521543204784,
0.0446113683283329,
-0.00485271168872714,
-0.012547195889055729,
0.031908005475997925,
0.038744181394577026,
0.009046179242432117,
-0.057303283363580704,
-0.10344843566417694,
-0.025499043986201286,
0.... | -0.007405 |
```yaml --- apiVersion: example.crossplane.io/v1 kind: XBuckets metadata: name: example-buckets --- apiVersion: s3.aws.upbound.io/v1beta1 kind: Bucket metadata: annotations: crossplane.io/composition-resource-name: xbuckets-crossplane-functions-example-b crossplane.io/external-name: crossplane-functions-example-b gener... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/write-a-composition-function-in-go.md | master | crossplane | [
-0.03525663912296295,
-0.05204908549785614,
-0.026729965582489967,
-0.060599830001592636,
0.09761111438274384,
-0.0018147318623960018,
-0.0005598006537184119,
-0.042225781828165054,
0.053323086351156235,
0.05135924369096756,
0.016367174685001373,
-0.12896087765693665,
0.024937083944678307,
... | -0.006418 |
## Requested Resource Not Found If you use the Crossplane CLI to install a `Provider` or `Configuration` (for example, `crossplane xpkg install provider xpkg.crossplane.io/crossplane-contrib/provider-aws-s3:v1.21.1`) and get `the server could not find the requested resource` error, more often than not, that's an indica... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/troubleshoot-crossplane.md | master | crossplane | [
-0.0363084077835083,
-0.0881771445274353,
-0.014075381681323051,
-0.03740362823009491,
0.03752957656979561,
-0.01633499003946781,
-0.008375083096325397,
-0.07550002634525299,
0.04688515514135361,
0.038797542452812195,
-0.009198716841638088,
-0.13565292954444885,
-0.026937903836369514,
-0.0... | 0.037356 |
down its deployment: ```shell kubectl -n crossplane-system scale --replicas=0 deployment/crossplane ``` Once you have been able to rectify the problem or smooth things out, you can unpause Crossplane by scaling its deployment back up: ```shell kubectl -n crossplane-system scale --replicas=1 deployment/crossplane ``` ##... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/troubleshoot-crossplane.md | master | crossplane | [
0.012340613640844822,
-0.007097747642546892,
0.04302242398262024,
-0.016293764114379883,
-0.0018379183020442724,
-0.026241406798362732,
-0.038249339908361435,
-0.04394735395908356,
0.028849776834249496,
0.05397389829158783,
0.022953897714614868,
-0.08099046349525452,
-0.04238380119204521,
... | 0.048421 |
Function Patch and Transform allows you to write a Composition that specifies managed resource (MR) templates, and uses "patch and transform" operations to fill them out. Crossplane fills the templates out with values copied from a composite resource (XR). A [patch](#create-a-patch) copies a value from one resource and... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/function-patch-and-transform.md | master | crossplane | [
-0.10714749246835709,
-0.015066211111843586,
0.03535156697034836,
-0.06915518641471863,
0.04635458067059517,
0.02267366461455822,
-0.01602139323949814,
-0.018426043912768364,
0.00819157063961029,
0.04597318917512894,
0.022926079109311104,
-0.0551021508872509,
0.004266183823347092,
-0.07610... | 0.037589 |
include a list of patches. The `patches` field takes a list of patches to apply to the individual resource. Each patch has a `type`, which defines what kind of patch action Crossplane applies. Patches reference fields inside different resources depending on the patch type, but all patches reference a `fromFieldPath` an... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/function-patch-and-transform.md | master | crossplane | [
-0.029395172372460365,
-0.0337880402803421,
-0.017620937898755074,
-0.019895486533641815,
0.045119546353816986,
0.023444248363375664,
0.04865210875868797,
-0.042349670082330704,
0.03422434628009796,
0.053346969187259674,
-0.008692544884979725,
-0.060101237148046494,
0.0595836415886879,
-0.... | 0.042729 |
`FromCompositeFieldPath` patch to read data from the composite resource `status.secondResource` field in the composite resource and write it to a label named `secondResource` in the managed resource. ```yaml {label="patchBetween",copy-lines="9-11"} apiVersion: pt.fn.crossplane.io/v1beta1 kind: Resources resources: - na... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/function-patch-and-transform.md | master | crossplane | [
-0.022424515336751938,
-0.02916785702109337,
-0.04068555682897568,
-0.0011728402459993958,
0.07321300357580185,
0.010010145604610443,
0.035037875175476074,
-0.054100796580314636,
0.017518095672130585,
0.04333045333623886,
-0.004613248165696859,
-0.06308353692293167,
0.050190269947052,
-0.0... | 0.046873 |
resource. | | [FromEnvironmentFieldPath](#fromenvironmentfieldpath) | Data in the in-memory environment | A field in the composed resource. | | [ToEnvironmentFieldPath](#toenvironmentfieldpath) | A field in the composed resource. | The in-memory environment. | | [CombineFromEnvironment](#combinefromenvironment) | Multi... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/function-patch-and-transform.md | master | crossplane | [
-0.012851715087890625,
-0.0146540692076087,
-0.047283757477998734,
0.02419380098581314,
0.05390235409140587,
0.02802686020731926,
0.03520417585968971,
-0.045684244483709335,
-0.01813465543091297,
0.004073689691722393,
0.008109798654913902,
-0.06728620082139969,
0.07331334799528122,
-0.0477... | 0.035652 |
field. ```yaml {label="toCompMR",copy-lines="none"} $ kubectl describe bucket Name: my-example-p5pxf-5vnp8 # Removed for brevity Status: At Provider: Hosted Zone Id: Z2O1EMRO9K5GLX # Removed for brevity ``` Next view the composite resource and confirm the patch applied the `label` ```yaml {label="toCompositeXR",copy-li... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/function-patch-and-transform.md | master | crossplane | [
-0.0017964118160307407,
0.07404448091983795,
0.04191407188773155,
-0.025301983579993248,
0.028673868626356125,
0.02254614606499672,
0.051504138857126236,
-0.06537836790084839,
0.04396945610642433,
0.016896938905119896,
-0.005130793433636427,
-0.1296704113483429,
0.04726211726665497,
-0.048... | 0.018653 |
ToEnvironmentFieldPath {{}} For more information about using an EnvironmentConfig, read the [EnvironmentConfigs documentation]({{}}). {{< /hint >}} The `ToEnvironmentFieldPath` patch takes a value from the composed resource and applies it to the in-memory environment. {{}} Use `ToEnvironmentFieldPath` to write data to ... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/function-patch-and-transform.md | master | crossplane | [
0.011782356537878513,
0.035057105123996735,
-0.0008575415122322738,
-0.028781266883015633,
0.05042069032788277,
-0.014859051443636417,
0.009007368236780167,
0.01100113894790411,
-0.014385169371962547,
0.03172922879457474,
-0.009011327289044857,
-0.07080109417438507,
0.015322304330766201,
-... | 0.04986 |
Transform Type | Action | | --- | --- | | [convert](#convert-transforms) | Converts an input data type to a different type. Also called "casting." | | [map](#map-transforms) | Selects a specific output based on a specific input. | | [match](#match-transform) | Selects a specific output based on a string or regular expr... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/function-patch-and-transform.md | master | crossplane | [
-0.026274072006344795,
0.08558899164199829,
-0.017910605296492577,
-0.04001166298985481,
-0.06393223255872726,
0.0025675997603684664,
0.028224626556038857,
0.05682307854294777,
-0.051966384053230286,
-0.01656823791563511,
-0.014246751554310322,
-0.04954013600945473,
-0.03062264434993267,
0... | 0.094942 |
this conversion. ```yaml {label="object",copy-lines="all"} - type: convert convert: toType: object format: json ``` {{< hint "tip" >}} This conversion is useful for patching keys in an object. {{< /hint >}} The following example adds a tag to a resource with a `customized key`: ```yaml {label="patch-key",copy-lines="al... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/function-patch-and-transform.md | master | crossplane | [
0.007578100077807903,
0.05512373149394989,
-0.02395789511501789,
0.02639566920697689,
0.013308065012097359,
-0.009783400222659111,
0.03805806487798691,
0.027841368690133095,
0.0457652248442173,
0.012300651520490646,
0.010964063927531242,
-0.09328112006187439,
-0.03460623696446419,
0.006091... | 0.084783 |
there is no matching pattern. The default value can either be the original input value or a defined default value. Use `fallbackTo: Value` to provide a default value if a match isn't found. For example if the string `unknownString` isn't matched, Crossplane provides the `Value` `StringNotFound` to the `toFieldPath` ```... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/function-patch-and-transform.md | master | crossplane | [
-0.05868518725037575,
0.005276424810290337,
-0.005120216403156519,
-0.033195171505212784,
-0.013906066305935383,
0.06793776899576187,
0.06765016913414001,
-0.014141137711703777,
0.03566022589802742,
-0.01344206277281046,
-0.0031345756724476814,
-0.09770216792821884,
-0.07407065480947495,
-... | 0.071583 |
String format The `type: format` applies [Go string formatting](https://pkg.go.dev/fmt) to the input. ```yaml {label="typeFormat"} patches: - type: FromCompositeFieldPath fromFieldPath: spec.field1 toFieldPath: metadata.annotations["stringAnnotation"] transforms: - type: string string: type: Format fmt: "the-field-%s" ... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/function-patch-and-transform.md | master | crossplane | [
0.026484260335564613,
0.09851434081792831,
-0.01562555693089962,
-0.006881705950945616,
-0.03680131211876869,
0.053707461804151535,
0.060119640082120895,
0.04579797759652138,
0.03616293892264366,
-0.040502723306417465,
-0.05805230885744095,
-0.06371499598026276,
-0.05901685729622841,
0.072... | 0.042855 |
a string value. The `value` isn't added to the individual resource secret object. The `value` only appears in the combined composite resource secret. {{< /hint >}} ```yaml {label="conDeet",copy-lines="none"} kind: Composition spec: mode: Pipeline pipeline: - step: patch-and-transform functionRef: name: function-patch-a... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/function-patch-and-transform.md | master | crossplane | [
-0.07553955167531967,
0.04579322412610054,
-0.0396638885140419,
0.02844102866947651,
0.027379797771573067,
0.019648250192403793,
0.07159624993801117,
0.035317327827215195,
0.05039941519498825,
-0.014232603833079338,
-0.019589437171816826,
-0.0972987711429596,
-0.014743193984031677,
-0.0312... | 0.077735 |
`4` in the resource's `status.atProvider.state` field. ```yaml {label="matchint",copy-lines="none"} apiVersion: pt.fn.crossplane.io/v1beta1 kind: Resources resources: - name: my-resource base: # Removed for brevity readinessChecks: - type: MatchInteger fieldPath: status.atProvider.state matchInteger: 4 ``` ### Match th... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/function-patch-and-transform.md | master | crossplane | [
-0.04433152452111244,
0.03782308101654053,
-0.0025254273787140846,
-0.0032322730403393507,
0.04398699104785919,
-0.031815480440855026,
0.037746988236904144,
-0.0386001281440258,
0.07852257788181305,
0.01653696782886982,
0.018720265477895737,
-0.1062062531709671,
-0.022394079715013504,
-0.0... | 0.177819 |
The base Crossplane installation consists of two pods, the `crossplane` pod and the `crossplane-rbac-manager` pod. Both pods install in the `crossplane-system` namespace by default. ## Crossplane pod ### Init container Before starting the core Crossplane container an \_init\_ container runs. The init container installs... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/pods.md | master | crossplane | [
-0.04760652408003807,
-0.06846781075000763,
0.009546902030706406,
-0.039408013224601746,
-0.005848441272974014,
0.015444735996425152,
-0.006355151534080505,
0.008909840136766434,
0.007300637196749449,
0.061231888830661774,
0.03716171160340309,
-0.0928931012749672,
-0.028778111562132835,
-0... | 0.164863 |
use their own `--max-reconcile-rate`. This determines the same settings for Providers and their managed resources. Applying the `--max-reconcile-rate` to Crossplane only controls the rate for core Crossplane resources. {{< /hint >}} ##### Enable real time Compositions With real time compositions enabled Crossplane watc... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/pods.md | master | crossplane | [
0.011988404206931591,
-0.07791150361299515,
0.04545407369732857,
-0.010697702877223492,
-0.01949828304350376,
0.00795003492385149,
-0.022984663024544716,
-0.10035359114408493,
0.100063756108284,
0.05732755362987518,
-0.025353454053401947,
-0.08450522273778915,
-0.08522634953260422,
-0.0319... | 0.10489 |
describe clusterrole crossplane-admin ``` ##### crossplane-edit The `crossplane-edit` ClusterRole has the following permissions: \* full access to all Crossplane types \* full access to all secrets (even those unrelated to Crossplane) \* read-only access to all namespaces and events (even those unrelated to Crossplane)... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/pods.md | master | crossplane | [
0.026551997289061546,
-0.10199102014303207,
-0.03109525889158249,
0.005026523023843765,
0.02312229573726654,
0.03509372100234032,
0.029215143993496895,
-0.06188645213842392,
0.039689745754003525,
0.05583970621228218,
-0.017993129789829254,
-0.10141980648040771,
-0.011689051985740662,
-0.03... | 0.159939 |
[Argo CD](https://argoproj.github.io/cd/) and [Crossplane](https://crossplane.io) are a great combination. Argo CD provides GitOps while Crossplane turns any Kubernetes cluster into a Universal Control Plane for all of your resources. Configuration details are required in order for the two to work together properly. Th... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/crossplane-with-argo-cd.md | master | crossplane | [
-0.03729047626256943,
-0.07519084960222244,
-0.04530001059174538,
0.007972462102770805,
-0.038680773228406906,
0.009049545973539352,
0.07453171908855438,
-0.026816323399543762,
0.025218401104211807,
0.09339586645364761,
-0.046027977019548416,
-0.03949859365820885,
-0.07643307000398636,
-0.... | 0.20259 |
condition in ipairs(obj.status.conditions) do if condition.type == "LastAsyncOperation" then if condition.status == "False" then health\_status.status = "Degraded" health\_status.message = condition.message return health\_status end end if condition.type == "Synced" then if condition.status == "False" then health\_stat... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/crossplane-with-argo-cd.md | master | crossplane | [
-0.007209598086774349,
0.049249980598688126,
0.037154670804739,
0.0824844241142273,
-0.015591321513056755,
-0.03366749733686447,
0.08556552231311798,
-0.027639970183372498,
-0.03883790597319603,
0.014737630262970924,
0.05105960741639137,
-0.057245027273893356,
0.014292200095951557,
-0.0333... | 0.038975 |
{{}} Resources created by Crossplane aren't deleted if Crossplane isn't uninstalled in order. This can leave cloud resources running, requiring manual deletion. {{< /hint >}} ## Ordered Crossplane uninstall Most Crossplane resources have dependencies on other Crossplane resources. For example, a \_managed resource\_ is... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/uninstall-crossplane.md | master | crossplane | [
0.004983126651495695,
-0.02103859931230545,
0.08144788444042206,
-0.021284393966197968,
0.06691735982894897,
-0.021033409982919693,
0.009674189612269402,
-0.13173003494739532,
0.0868508368730545,
0.0656541958451271,
0.052474163472652435,
-0.04980125650763512,
-0.0013125489931553602,
-0.026... | 0.04027 |
with `helm uninstall`. Manually delete the Crossplane namespace with `kubectl delete namespace`. ```shell kubectl delete namespace crossplane-system ``` Verify Kubernetes removed the namespace with `kubectl get namespaces` ```shell kubectl get namespace NAME STATUS AGE default Active 2m45s kube-flannel Active 2m42s kub... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/uninstall-crossplane.md | master | crossplane | [
0.050459738820791245,
0.00429194001480937,
0.03862357512116432,
-0.04646046832203865,
0.024581369012594223,
0.005257115233689547,
-0.03146379813551903,
-0.04736058786511421,
0.08090870827436447,
0.07452728599309921,
0.024622146040201187,
-0.12679415941238403,
-0.038717687129974365,
-0.0725... | 0.036472 |
Composition functions (or just functions, for short) are custom programs that template Crossplane resources. Crossplane calls composition functions to determine what resources it should create when you create a composite resource (XR). Read the [concepts]({{}}) page to learn more about composition functions. You can wr... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/write-a-composition-function-in-python.md | master | crossplane | [
-0.04907120019197464,
-0.005415328312665224,
0.03176134079694748,
-0.028926385566592216,
0.01870090328156948,
-0.014530591666698456,
0.016284415498375893,
0.008995252661406994,
0.013072468340396881,
-0.006407571025192738,
0.019779091700911522,
-0.02578352391719818,
0.035397522151470184,
-0... | 0.073283 |
documentation explains composition function inputs. {{}} If you're writing a function that uses an input, edit the input YAML file to meet your function's requirements. Change the input's kind and API group. Don't use `Input` and `template.fn.crossplane.io`. Instead use something meaningful to your function. {{}} ## Ed... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/write-a-composition-function-in-python.md | master | crossplane | [
-0.003439428983256221,
-0.04984137788414955,
-0.03988507762551308,
-0.002330282935872674,
-0.03640669584274292,
-0.020350132137537003,
-0.02438647672533989,
0.0607130341231823,
0.02427057735621929,
-0.031425487250089645,
-0.008096113801002502,
-0.005790064577013254,
-0.04437348246574402,
0... | 0.073106 |
log.info("Added desired buckets", region=region, count=len(names)) return rsp ``` {{}} This code: 1. Gets the observed composite resource from the `RunFunctionRequest`. 1. Gets the region and bucket names from the observed composite resource. 1. Adds one desired S3 bucket for each bucket name. 1. Returns the desired S3... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/write-a-composition-function-in-python.md | master | crossplane | [
-0.010942846536636353,
-0.04542262479662895,
-0.033738039433956146,
-0.024182599037885666,
0.025838928297162056,
-0.0515269860625267,
-0.016413379460573196,
0.0003353827924001962,
0.044039107859134674,
0.0038819757755845785,
-0.07113643735647202,
-0.0871153399348259,
0.06419005990028381,
-... | 0.029123 |
a Crossplane control plane to do this. Create a directory under `function-xbuckets` named `example` and create Composite Resource, Composition and Function YAML files. Expand the following block to see example files. {{}} You can recreate the output below using by running `crossplane render` with these files. The `xr.y... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/write-a-composition-function-in-python.md | master | crossplane | [
-0.0179621409624815,
-0.0321662612259388,
0.0036520652938634157,
-0.028848275542259216,
0.03276268020272255,
-0.022377660498023033,
-0.05819522961974144,
0.006553090177476406,
0.04797488451004028,
0.04255332052707672,
-0.016371194273233414,
-0.08018707484006882,
0.019322535023093224,
-0.01... | -0.052867 |
platform. ```shell {copy-lines="1"} docker build . --quiet --platform=linux/amd64 --tag runtime-amd64 sha256:fdf40374cc6f0b46191499fbc1dbbb05ddb76aca854f69f2912e580cfe624b4b ``` ```shell {copy-lines="1"} docker build . --quiet --platform=linux/arm64 --tag runtime-arm64 sha256:cb015ceabf46d2a55ccaeebb11db5659a2fb5e93de3... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/write-a-composition-function-in-python.md | master | crossplane | [
0.03926962986588478,
0.061869822442531586,
-0.02860526740550995,
-0.0615125447511673,
0.0594637356698513,
-0.08556196838617325,
-0.03567466139793396,
0.041638828814029694,
0.01367360819131136,
-0.022668952122330666,
-0.01295462902635336,
-0.10787013918161392,
0.020924409851431847,
-0.00702... | -0.019754 |
Crossplane produces [Prometheus style metrics](https://prometheus.io/docs/introduction/overview/#what-are-metrics) for effective monitoring and alerting in your environment. These metrics are essential for helping to identify and resolve potential issues. This page offers explanations of all these metrics gathered from... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/metrics.md | master | crossplane | [
0.023498959839344025,
-0.026108689606189728,
0.010386651381850243,
-0.022472238168120384,
0.04778103530406952,
-0.054110463708639145,
-0.004711564630270004,
-0.016305340453982353,
0.016008585691452026,
0.015019765123724937,
-0.0015424120938405395,
-0.09963332861661911,
-0.0408826507627964,
... | 0.122318 |
| {{}}crossplane\_managed\_resource\_deletion\_seconds\_bucket{{}} | The time it took to delete a managed resource | | | {{}}crossplane\_managed\_resource\_first\_time\_to\_readiness\_seconds\_bucket{{}} | The time it took for a managed resource to become ready first time after creation | | | {{}}crossplane\_managed\_r... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/metrics.md | master | crossplane | [
-0.05264955759048462,
-0.05460957810282707,
-0.00758502259850502,
0.02486807480454445,
0.05606233701109886,
-0.05169130489230156,
0.01221438404172659,
-0.06689892709255219,
0.05986998602747917,
0.06496560573577881,
0.05471203848719597,
-0.018565721809864044,
-0.047295693308115005,
-0.00536... | 0.0237 |
## Distributing Crossplane extensions Crossplane provides a packaging specification for extending a Crossplane instance with APIs and business logic for composing resources. Building a Crossplane extension involves creating OCI images in the [xpkg] format. Authors and maintainers of Crossplane extensions must push thei... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/extensions-release-process.md | master | crossplane | [
-0.06718055158853531,
-0.07695035636425018,
-0.031558189541101456,
-0.05280621349811554,
0.03249998018145561,
-0.10494836419820786,
-0.026118608191609383,
0.08808579295873642,
-0.03220425173640251,
-0.039982445538043976,
0.026889527216553688,
-0.11268028616905212,
-0.011282790452241898,
-0... | 0.098863 |
details on tagging practices and optionally overriding the inferred git tag version. ## Common Configuration While the reusable workflows referenced in the quickstart guides are for convenience, users may choose to write their own custom GitHub Actions. This and following sections provide more detailed information abou... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/extensions-release-process.md | master | crossplane | [
-0.08335068821907043,
0.0006274095503613353,
-0.03872520104050636,
-0.03405065834522247,
0.015033887699246407,
-0.07560405880212784,
0.02337026223540306,
0.05303913727402687,
0.05067440867424011,
-0.03368014469742775,
-0.027560006827116013,
-0.006845994386821985,
0.010559922084212303,
0.02... | 0.02118 |
define the target registry: 1. `XPKG\_REG\_ORGS` - a space-delimited list of target repositories. 2. `XPKG\_REG\_ORGS\_NO\_PROMOTE` - for registries that don't use or infer channel tags. For example, the following dual-pushes to `xpkg.crossplane.io` as well as `index.docker.io`: ```make XPKG\_REG\_ORGS ?= xpkg.crosspla... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/extensions-release-process.md | master | crossplane | [
-0.07022535800933838,
-0.05768275633454323,
-0.03342833369970322,
-0.051336340606212616,
-0.01869097352027893,
-0.04036640748381615,
0.010443935170769691,
-0.039986249059438705,
0.03440568968653679,
-0.05727878212928772,
-0.008759360760450363,
-0.15006496012210846,
0.001922291237860918,
-0... | 0.089313 |
> Using self-signed certificates isn't advised in production, it's recommended to only use self-signed certificates for testing. When Crossplane loads Configuration and Provider Packages from private registries, it must be configured to trust the CA and Intermediate certs. Crossplane needs to be installed via the Helm ... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/guides/self-signed-ca-certs.md | master | crossplane | [
-0.03096073307096958,
-0.01183412130922079,
0.0039283582009375095,
-0.056608326733112335,
-0.022406630218029022,
-0.025850925594568253,
-0.05695321038365364,
0.10808218270540237,
-0.029178639873862267,
-0.0229682344943285,
0.05911290645599365,
-0.08906223624944687,
0.033846139907836914,
0.... | -0.094656 |
Providers enable Crossplane to provision infrastructure on an external service. Providers create new Kubernetes APIs and map them to external APIs. Providers are responsible for all aspects of connecting to non-Kubernetes resources. This includes authentication, making external API calls and providing [Kubernetes Contr... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/packages/providers.md | master | crossplane | [
-0.060247913002967834,
-0.04657293111085892,
0.023634925484657288,
-0.01318108756095171,
-0.02008492685854435,
0.03898763656616211,
0.07011130452156067,
-0.023439282551407814,
0.07694566249847412,
0.10258018970489502,
-0.010172652080655098,
-0.053057633340358734,
0.038379769772291183,
0.02... | 0.124828 |
given Provider package use the {{}}packagePullPolicy: Always{{}} configuration. ```yaml {label="pullpolicy",copy-lines="6"} apiVersion: pkg.crossplane.io/v1 kind: Provider metadata: name: provider-aws spec: packagePullPolicy: Always # Removed for brevity ``` #### Revision activation policy The `Active` package revision... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/packages/providers.md | master | crossplane | [
-0.07222669571638107,
-0.007925624959170818,
0.02876654639840126,
-0.03796616941690445,
0.031166380271315575,
0.004042538348585367,
-0.003096582368016243,
-0.05946773290634155,
0.029108649119734764,
0.09581441432237625,
0.06461434066295624,
-0.019181448966264725,
-0.019514381885528564,
-0.... | -0.071614 |
configuration requires the `--enable-dependency-version-upgrades` flag. Please check the [configuration options]({{}}) and [feature flags]({{}}) are available in the [Crossplane Install]({{}}) section for more details. {{}} {{}} Enabling automatic dependency downgrades may have unintended consequences, such as: 1) CRDs... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/packages/providers.md | master | crossplane | [
-0.040480878204107285,
-0.06230487301945686,
0.05763828009366989,
-0.06924118101596832,
0.048026103526353836,
0.020579464733600616,
-0.080742746591568,
0.01082510408014059,
-0.10653966665267944,
0.03343023732304573,
0.08140704780817032,
-0.02714625932276249,
-0.04295814409852028,
-0.000998... | -0.093708 |
create Deployments, Service Accounts or RBAC configuration. View the status of a Provider with `kubectl get providers` During the install a Provider report `INSTALLED` as `True` and `HEALTHY` as `Unknown`. ```shell {copy-lines="1"} kubectl get providers NAME INSTALLED HEALTHY PACKAGE AGE crossplane-contrib-provider-aws... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/packages/providers.md | master | crossplane | [
-0.008188852109014988,
-0.007678515277802944,
-0.009682749398052692,
-0.005693505983799696,
0.0011989708291366696,
-0.04207150638103485,
-0.004071803297847509,
-0.012947778217494488,
0.04044357314705849,
0.05753357335925102,
0.03776239603757858,
-0.1270504891872406,
0.04270748049020767,
-0... | 0.081631 |
`Function`. It's possible to configure the runtime manifest by applying a `DeploymentRuntimeConfig` and referencing it in the `Provider` or `Function` object. As an example, to enable the external secret stores alpha feature for a `Provider` by adding the `--enable-external-secret-stores` argument to the controller, on... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/packages/providers.md | master | crossplane | [
-0.02440652623772621,
-0.043843626976013184,
0.014566093683242798,
-0.05474301427602768,
0.0526917465031147,
0.01886826753616333,
0.021085117012262344,
0.020049190148711205,
-0.0499776266515255,
0.04743041470646858,
0.05623041093349457,
-0.07408308237791061,
-0.07550183683633804,
0.0108881... | 0.053027 |
metadata: name: my-runtime-config spec: deploymentTemplate: metadata: labels: my-label: my-value serviceAccountTemplate: metadata: name: my-service-account ``` {{}} Setting the `serviceAccountTemplate.metadata.name` field will override the name of service account created by the package manager and used in the provider ... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/packages/providers.md | master | crossplane | [
-0.07066026329994202,
-0.04871811717748642,
-0.016131052747368813,
-0.07440923154354095,
-0.039437804371118546,
-0.02446061559021473,
0.11862383037805557,
0.03013055957853794,
-0.01680673100054264,
0.047145094722509384,
0.0402255654335022,
-0.0925806537270546,
-0.00012106102803954855,
-0.0... | -0.02547 |
`ImageConfig` is an API for centralized control over the configuration of Crossplane package images. It allows you to configure package manager behavior for images globally, without needing to be referenced by other objects. ## Configuring a pull secret You can use `ImageConfig` to inject a pull secret into the Crosspl... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/packages/image-configs.md | master | crossplane | [
-0.12558233737945557,
-0.06726022064685822,
-0.05093391239643097,
0.004841864109039307,
0.022472387179732323,
0.004583731759339571,
0.09009008854627609,
0.08201930671930313,
-0.02989055961370468,
-0.01653105579316616,
0.07096169143915176,
-0.07458987832069397,
0.019198670983314514,
-0.0096... | 0.120918 |
acme packages keyless: identities: - issuer: https://token.actions.githubusercontent.com subject: https://github.com/acme-co/crossplane-packages/.github/workflows/supplychain.yml@refs/heads/main attestations: - name: verify attestations predicateType: spdxjson ``` `spec.verification.provider` specifies the signature ve... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/packages/image-configs.md | master | crossplane | [
-0.11017919331789017,
0.0022622609976679087,
-0.07223228365182877,
-0.04002159461379051,
0.07618837803602219,
-0.04433267563581467,
0.05417415127158165,
0.07276049256324768,
-0.0468282513320446,
-0.007377211935818195,
0.10211677849292755,
-0.04793085530400276,
0.03485431149601936,
-0.01784... | 0.137773 |
A \_Configuration\_ package is an [OCI container image](https://opencontainers.org/) containing a collection of [Compositions]({{}}), [Composite Resource Definitions]({{}}) and any required [Providers]({{}}) or [Functions]({{}}). Configuration packages make your Crossplane configuration fully portable. {{}} Crossplane ... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/packages/configurations.md | master | crossplane | [
-0.06960993260145187,
-0.04917140677571297,
0.00642048055306077,
-0.03593379259109497,
0.05722265690565109,
-0.036299653351306915,
0.03797481581568718,
0.039714619517326355,
-0.0653560683131218,
-0.029579082503914833,
0.0575893260538578,
-0.05212947726249695,
-0.025585442781448364,
-0.0270... | 0.085981 |
digest hashes like Kubernetes images. {{< /hint >}} For example, to `Always` download a given Configuration package use the {{}}packagePullPolicy: Always{{}} configuration. ```yaml {label="pullpolicy",copy-lines="6"} apiVersion: pkg.crossplane.io/v1 kind: Configuration metadata: name: platform-ref-aws spec: packagePull... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/packages/configurations.md | master | crossplane | [
0.002473373431712389,
-0.0005223009502515197,
0.04531854763627052,
-0.07476384192705154,
0.04785313457250595,
-0.033396653831005096,
0.0028520955238491297,
-0.025389036163687706,
0.06068209558725357,
0.0654718354344368,
0.047906484454870224,
-0.0034978145267814398,
-0.012412488460540771,
-... | 0.014525 |
Ignore Crossplane version requirements A Configuration package may require a specific or minimum Crossplane version before installing. By default, Crossplane doesn't install a Configuration if the Crossplane version doesn't meet the required version. Crossplane can ignore the required version with {{}}ignoreCrossplaneC... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/packages/configurations.md | master | crossplane | [
0.01600465551018715,
0.007608869578689337,
0.04265915974974632,
-0.0887167751789093,
0.05139719694852829,
-0.017367994412779808,
-0.04228662699460983,
-0.0484587699174881,
-0.007664816454052925,
-0.007893434725701809,
0.04331132769584656,
-0.11596577614545822,
-0.027541853487491608,
-0.083... | -0.041944 |
build --package-root=test-directory --ignore=".tmp/\*"`. Including YAML files that aren't Compositions or CompositeResourceDefinitions isn't supported. {{}} By default, Crossplane creates a `.xpkg` file of the Configuration name and a SHA-256 hash of the package contents. For example, a {{}}Configuration{{}} named {{}}... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/packages/configurations.md | master | crossplane | [
-0.03587211295962334,
-0.0519290417432785,
0.004581790417432785,
-0.0942610427737236,
0.022624362260103226,
-0.029284505173563957,
0.022189123556017876,
-0.009385647252202034,
-0.02722596563398838,
0.005994538776576519,
0.054728131741285324,
-0.13560189306735992,
-0.027406612411141396,
-0.... | -0.01719 |
Functions extend Crossplane with new ways to configure [composition]({{}}). You can use different \_composition functions\_ to configure what Crossplane does when someone creates or updates a [composite resource (XR)]({{}}). {{}} This page is a work in progress. Functions are packages, like [Providers]({{}}) and [Confi... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/packages/functions.md | master | crossplane | [
-0.0800585225224495,
-0.059790875762701035,
0.035843994468450546,
-0.051859356462955475,
0.014766314066946507,
-0.0022620426025241613,
0.029210425913333893,
0.005386983510106802,
-0.010180721990764141,
-0.012419987469911575,
0.04736620932817459,
-0.04562461003661156,
-0.02734646387398243,
... | 0.049227 |
A `Usage` indicates a resource is in use. Two main use cases for Usages are as follows: 1. Protecting a resource from accidental deletion. 2. Deletion ordering by ensuring that a resource isn't deleted before the deletion of its dependent resources. See the section [Usage for Deletion Protection](#usage-for-deletion-pr... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/managed-resources/usages.md | master | crossplane | [
-0.0002633291878737509,
0.0256282240152359,
0.009269687347114086,
-0.0046928515657782555,
0.05580480024218559,
0.024725325405597687,
0.07435315102338791,
-0.07853087782859802,
0.11423113942146301,
0.020063113421201706,
0.025838328525424004,
0.03252505138516426,
-0.053985558450222015,
-0.02... | 0.220168 |
composition. This configuration radically decreases time for the deletion of the used resource, hence the composite owning it, by replaying the deletion of the used resource right after the using resource disappears instead of waiting for the long exponential backoff durations of the Kubernetes garbage collector. {{< /... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/managed-resources/usages.md | master | crossplane | [
-0.04132843390107155,
0.007161136716604233,
0.053455792367458344,
0.009508030489087105,
0.026166396215558052,
0.043882790952920914,
0.10505516082048416,
-0.1171157956123352,
0.14957983791828156,
-0.004637347534298897,
-0.016858402639627457,
-0.03876003995537758,
0.023585274815559387,
-0.01... | 0.139108 |
A \_managed resource\_ (`MR`) 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's environment. Every external service managed by Crossplane maps to a managed resource. {{< hint "note" >}} Crossplane calls the ... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/managed-resources/managed-resources.md | master | crossplane | [
-0.020652122795581818,
-0.04614269733428955,
-0.0015832281205803156,
0.05214431509375572,
-0.0049033090472221375,
0.016105301678180695,
0.059004396200180054,
-0.06782608479261398,
0.054481685161590576,
0.04150254651904106,
0.016971420496702194,
-0.05559977516531944,
0.046079717576503754,
-... | 0.128111 |
creating a Subnet managed resource attached to this VPC. ```yaml {copy-lines="none"} apiVersion: ec2.aws.m.upbound.io/v1beta1 kind: Subnet spec: forProvider: # Removed for brevity vpcIdRef: name: my-test-vpc ``` ##### Matching by selector Matching by selector is the most flexible matching method. Use `matchLabels` to m... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/managed-resources/managed-resources.md | master | crossplane | [
-0.09149475395679474,
0.025111138820648193,
-0.04322795569896698,
-0.015405631624162197,
0.08121714740991592,
0.019705912098288536,
0.08065319806337357,
-0.06534291803836823,
0.10112107545137405,
-0.039784278720617294,
-0.015543559566140175,
-0.09549252688884735,
0.0632229670882225,
-0.008... | 0.069338 |
metadata: namespace: default name: sample-eks-ng spec: managementPolicies: ["Observe", "Create", "Update", "Delete"] initProvider: scalingConfig: - desiredSize: 1 forProvider: region: us-west-1 scalingConfig: - maxSize: 4 minSize: 1 ``` ### managementPolicies {{}} The managed resource `managementPolicies` option is a b... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/managed-resources/managed-resources.md | master | crossplane | [
-0.06207730993628502,
-0.03398597612977028,
-0.028742756694555283,
0.048347536474466324,
0.04776057228446007,
-0.02594609744846821,
0.02549552544951439,
-0.05318586155772209,
-0.005876308307051659,
0.15212108194828033,
0.014599216170608997,
-0.055336844176054,
-0.01268385723233223,
0.04090... | 0.117074 |
resource. | | {{}} | | | {{}} | | Crossplane creates the external resource but doesn't apply any changes to the external resource or managed resource. Crossplane can't delete the resource. | | | | | {{}} | | Crossplane only observes a resource. | | | | | | | No policy set. An alternative method for [pausing](#paused) a... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/managed-resources/managed-resources.md | master | crossplane | [
-0.08606335520744324,
-0.05680447071790695,
-0.03814832121133804,
0.029789108783006668,
0.06607966125011444,
0.027903670445084572,
0.11258801072835922,
-0.08377121388912201,
-0.025542542338371277,
0.07636026293039322,
0.048000775277614594,
-0.04055262356996536,
0.043484147638082504,
0.0152... | -0.002396 |
resource inside AWS. ```yaml {label="custom-name",copy-lines="none"} apiVersion: database.aws.m.crossplane.io/v1beta1 kind: RDSInstance metadata: namespace: default name: my-rds-instance annotations: crossplane.io/external-name: my-custom-name ``` ```shell {copy-lines="1"} kubectl get rdsinstance NAME READY SYNCED EXTE... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/managed-resources/managed-resources.md | master | crossplane | [
-0.09218963980674744,
-0.030550450086593628,
0.002152804983779788,
0.020455043762922287,
0.03964966908097267,
-0.056926287710666656,
0.04619857296347618,
-0.0741942897439003,
0.11877451092004776,
0.05335090681910515,
0.006859959568828344,
-0.1122589111328125,
0.047484222799539566,
0.002057... | 0.054846 |
the timestamps to determine which is most recent. It's normal for a managed resource to have several creation annotations. {{}} The provider knows it might have leaked a resource because it updates all the resource's annotations at the same time. If the provider couldn't update the creation annotations after it created... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/managed-resources/managed-resources.md | master | crossplane | [
-0.10909294337034225,
-0.04486073926091194,
0.03666011244058609,
0.05451352149248123,
0.13717369735240936,
-0.08470714092254639,
0.01318945363163948,
-0.001998000778257847,
0.09415574371814728,
0.05466209724545479,
0.02651047892868519,
-0.06756646931171417,
-0.0539238303899765,
0.008408748... | 0.093809 |
Provider is attempting to delete the managed resource. ```yaml {copy-lines="none"} Conditions: Type: Ready Status: False Reason: Deleting ``` ### ReconcilePaused `Reason: ReconcilePaused` indicates the managed resource has a [Pause](#paused) annotation ```yaml {copy-lines="none"} Conditions: Type: Synced Status: False ... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/managed-resources/managed-resources.md | master | crossplane | [
-0.05899431183934212,
-0.03900359570980072,
0.006662049796432257,
0.033479366451501846,
0.07038594037294388,
-0.06154998019337654,
0.018138602375984192,
-0.13176891207695007,
0.04483084753155708,
0.08373195677995682,
0.05062870681285858,
-0.017760533839464188,
0.0001453027653042227,
0.0178... | 0.090535 |
Crossplane installs into an existing Kubernetes cluster, creating the Crossplane pod. Installing Crossplane enables the installation of Crossplane \_Provider\_, \_Function\_, and \_Configuration\_ resources. {{< hint "tip" >}} If you don't have a Kubernetes cluster create one locally with [Kind](https://kind.sigs.k8s.i... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/get-started/install.md | master | crossplane | [
-0.00047055722097866237,
-0.0690094605088234,
0.05512775480747223,
-0.05624239519238472,
0.011800071224570274,
0.04837118461728096,
-0.03167753294110298,
0.0038513250183314085,
0.03901759535074234,
0.09069189429283142,
0.019126592203974724,
-0.13229405879974365,
-0.07695768028497696,
-0.06... | 0.097772 |
This guide shows how to create a new kind of custom resource named `App`. When a user calls the custom resource API to create an `App`, Crossplane creates a `Deployment` and a `Service`. \*\*Crossplane calls this \_composition\_.\*\* The `App` is \_composed of\_ the `Deployment` and the `Service`. {{}} The guide shows ... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/get-started/get-started-with-composition.md | master | crossplane | [
-0.06395074725151062,
-0.021584484726190567,
-0.002585081849247217,
-0.050924938172101974,
-0.06111892685294151,
0.009065168909728527,
0.027998879551887512,
-0.0020314508583396673,
0.056908171623945236,
0.016683025285601616,
-0.012167544104158878,
-0.09388627856969833,
0.011223671026527882,
... | 0.126552 |
XR into a `Deployment` and a `Service`. {{< tabs >}} {{< tab "YAML" >}} YAML is a good choice for small, static compositions. It doesn't support loops or conditionals. Create this composition function to install YAML support: {{< manifest path="get-started/composition/fn-patch-and-transform.yaml" >}} Check that Crosspl... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/get-started/get-started-with-composition.md | master | crossplane | [
0.00018380799156147987,
0.02804189920425415,
0.0711584985256195,
-0.11101546138525009,
-0.0020297784358263016,
-0.0010042154463008046,
-0.015112413093447685,
-0.005641909781843424,
0.028855983167886734,
0.0072016967460513115,
0.040951430797576904,
-0.09482641518115997,
-0.04130183160305023,
... | 0.036747 |
composition the `App` is using. You can create multiple compositions for each kind of XR. [Read the XR page]({{}}) to learn how to select which composition Crossplane uses. {{}} Check that Crossplane created a `Deployment` and a `Service`: ```shell {copy-lines="1"} kubectl get deploy,service -l example.crossplane.io/ap... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/get-started/get-started-with-composition.md | master | crossplane | [
0.027028458192944527,
-0.04948920011520386,
0.025563515722751617,
-0.10271803289651871,
-0.01614333875477314,
-0.03474238142371178,
-0.017665399238467216,
-0.019792234525084496,
0.07300478219985962,
-0.007384251803159714,
0.02192883938550949,
-0.13548481464385986,
0.006993451621383429,
-0.... | 0.095523 |
This guide shows how to install and use a new kind of custom resource called `Bucket`. When a user calls the custom resource API to create a `Bucket`, Crossplane creates a bucket in AWS S3. \*\*Crossplane calls this a \_managed resource\_\*\*. A managed resource is a ready-made custom resource that manages something ou... | https://github.com/crossplane/docs/blob/master/content/v2.0-preview/get-started/get-started-with-managed-resources.md | master | crossplane | [
-0.042145490646362305,
-0.05582248792052269,
-0.03198309987783432,
-0.04865651577711105,
0.011786517687141895,
0.016388367861509323,
0.006722078192979097,
-0.03771654888987541,
0.08107567578554153,
0.08079095929861069,
-0.024175940081477165,
-0.07385152578353882,
0.01817399449646473,
-0.05... | 0.03761 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.