resourceconsist

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2024 License: Apache-2.0

README ΒΆ

ResourceConsist

ResourceConsist aims to make a customized controller can be realized easily, and offering the ability of following PodOpsLifecycle for controllers.

The only thing users need to do to realize a customized controller is writing an adapter implementing ReconcileAdapter. For controllers following PodOpsLifecycle, WebhookAdapter is also necessary to be implemented.

🀠Employer is the entity responsible for managing and coordinating the utilization of another resource, similar to how a service selects and controls pods.

πŸ‘©β€πŸ’»Employee is the resource managed by another resource, like pods selected by service.

πŸ‘‰ Please refer to key concepts to find out what 🀠Employer/πŸ‘©β€πŸ’»Employee/... are.

πŸ’» Get Started

πŸ”§ Tutorial

ResourceConsist offers the frame for starting controller. Controllers started by adapters and resource consist frame can handle resources beyond or in cluster by themselves or cooperate with other controllers.

DemoControllerAdapter is an adapter handles resources by itself, while SlbControllerAdapter is an adapter handles resources cooperate with CCM controller.

With ResourceConsist, you can build a bridge between existing controllers and PodOpsLifecycle, just like what SlbControllerAdapter](https://github.com/KusionStack/resourceconsist/tree/main/pkg/adapters/alibabacloudslb/alibabacloudslb_controller.go#L35) did.

Please visit tutorial to start a controller.

☎️ Contact us

πŸŽ–οΈŽ Contribution guide

ResourceConsist is currently in its early stages. Our goal is to make a customized controller can be realized easily, especially for controllers following PodOpsLifecycle.

We will continue implementing more common used traffic controller into adapters

πŸš€ If you want to contribute to built-in adapters, you can start from contribute them into experimental/adapters. We will move it into adapters when the experimental adapters are ready to release.

We welcome everyone to participate in construction with us. Visit the contribution guide to understand how to participate in the contribution KusionStack project. If you have any questions, please submit the issue.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL