2 个仓库
Execution of integration tests by spawning a local API server to simulate real cluster interactions.
Distinct from Automated Test Execution: Specifically involves orchestrating a local control plane (API server) for the test environment
Explore 2 awesome GitHub repositories matching development tools & productivity · Local Control Plane Testing. Refine with filters or upvote what's useful.
Kubebuilder is a framework and set of scaffolding tools used to build Kubernetes APIs and controllers. It functions as an operator framework that provides generators for custom resource definitions, admission webhooks, and RBAC manifests to extend cluster functionality. The project distinguishes itself through marker-based code generation, which parses source code comments to automatically produce Kubernetes manifests and boilerplate logic. It employs a hub-and-spoke versioning model to translate data between multiple API versions and uses a three-way merge strategy to automate project migrat
Spawns a local API server to instantiate and execute controllers for validating behavior against real interactions.
该项目提供了一个用于构建 Kubernetes Operator 和自定义控制器的框架。它提供了一套旨在管理集群资源生命周期的库,使开发者能够通过事件驱动的协调循环将集群的实际状态与期望配置同步。 该框架的特色在于提供了一个由管理器编排的环境,可在单个进程内协调多个控制器和 Webhook。它内置了对乐观并发控制的支持以防止更新冲突,并利用内存中的 Informer 缓存来维护集群状态的同步本地视图,从而降低 API 服务器的负载。 除了核心协调功能外,该项目还包括用于基于模式的资源映射工具,允许注册自定义资源定义(CRD)。它还提供了准入控制机制,能够在数据持久化之前验证和变更资源请求以强制执行合规性。该框架包含一个专门的测试套件,可启动临时的、隔离的 API 服务器环境,以验证控制器逻辑是否符合实际集群行为。
Spins up a local API server environment to validate controller logic against real cluster behavior during testing.