Skip to content

Ume0344/crossplane-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Crossplane

Providers

Providers enable crossplane to provision external infrastructure. They enable all aspects to connect kubernetes with external services. i.e, Provider AWS, Provider GCP.

Providers have two different types of configurations;

  • ProviderConfig - Customizes the settings to communicate with external provider (AWS, GCP). i.e, for-example we use ProviderConfig for cloud provider authentication.
  • ControllerConfig - It changes the settings of Provider's pod running inside of kubernetes cluster. It is mostly used to provide args to a Provider's pod to enable optional services. For example, enabling external secret stores for a provider.

Managed Resources

It represents an external service in a Provider. For example, AWS EC2, AWS SNS is a managed resource. When we create a managed resource, the Provider creates external resource inside Provider's environment.

Compositions

Compositions are a template for creating multiple managed resources as a single object. Example of composition could be;

  • Combining a aws ec2, aws ebs, aws vpc configurations etc. This way, whenever we want to deploy an aws ec2 instance, we can use the composition that will have the managed resources for all the required resources to spin up ec2 instance.

Composite Resource Definitions (XRDs)

XRDs define the schema for a custom API. Composite resources are created using API schema defined by an XRD. It is like when you create CRDs to define the custom resource.

Composite Resources

It represents a set of managed resources as a single kubernetes object. Creating a composite resource requires XRD and composition.

Claims

It represents a set of managed resources as a single kubernetes object inside a namespace.

 

The general workflow for using/creating all the above resources will look like;

Application claims Composite Resource through -> Claim -> Claim interacts with Composite Resource -> Composite Resource composes Managed Resources. Composite Resource requires XRDs (Defines Composite Resource and Claim) and Composition (Configures Composite Resource).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors