awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
kubernetes avatar

kubernetes/sample-controller

0
View on GitHub↗
3,487 星标·1,217 分支·Go·Apache-2.0·2 次浏览

Sample Controller

Sample Controller is a reference implementation and developer toolkit for building custom controllers and operators to extend cluster capabilities with domain-specific resource types and reconciliation loops. It provides a foundational framework for defining, registering, and validating custom resource definitions and their instances to store domain-specific data within a cluster.

The framework observes remote API servers for resource mutations, queueing discovered instances for asynchronous processing while listening for creation, update, and deletion events to trigger reconciliation logic. It features automated code generation that produces strongly typed API clients, informers, listers, and deep-copy utilities directly from type definitions. Additionally, the project includes mechanisms for managing subresources, enforcing structural validation schemas, and maintaining thread-safe internal stores with custom indexing functions for rapid object retrieval.

Features

  • Custom Resource Definitions - Defines, registers, and validates custom resource definitions and their instances to store domain-specific data in a cluster.
  • Dynamic Resource Watching - Watches the API server for changes to custom resource instances to trigger asynchronous reconciliation logic.
  • Kubernetes Operators - Builds custom controllers and operators to extend cluster capabilities with domain-specific resource types and reconciliation loops.
  • API Client Generators - Automatically produces strongly typed API clients, informers, listers, and deep-copy utilities directly from type definitions.
  • Kubernetes Resource Validation - Enforces structural schemas and data validation rules on custom resources to ensure correct data formats before acceptance.
  • Custom Resource Controllers - Declares new custom resource types in a cluster so users can manage domain-specific entities using standard tooling.
  • Custom Resource Status Management - Exposes dedicated status and scaling endpoints on custom resources to track operational states and adjust workloads.
  • Kubernetes API Clients - Generates strongly-typed API clients, informers, and listers automatically from type definitions to interact safely with cluster resources.
  • Resource Event Triggers - Listens for creation, update, and deletion events on custom resources to trigger reconciliation logic.
  • Kubernetes Controllers - Provides a reference implementation and educational guide for building custom controllers that watch and reconcile domain-specific resources.
  • Asynchronous Event Queueing - Decouples resource delivery from execution by queueing object keys via callback handlers and running asynchronous worker tasks.
  • Instance Lifecycle Management - Handles the creation, retrieval, listing, and watching of custom resource instances through event-driven handlers.

Star 历史

kubernetes/sample-controller 的 Star 历史图表kubernetes/sample-controller 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

包含 Sample Controller 的精选搜索

收录 Sample Controller 的精选合集。
  • Kubernetes operators

常见问题解答

kubernetes/sample-controller 是做什么的?

Sample Controller is a reference implementation and developer toolkit for building custom controllers and operators to extend cluster capabilities with domain-specific resource types and reconciliation loops. It provides a foundational framework for defining, registering, and validating custom resource definitions and their instances to store domain-specific data within a cluster.

kubernetes/sample-controller 的主要功能有哪些?

kubernetes/sample-controller 的主要功能包括:Custom Resource Definitions, Dynamic Resource Watching, Kubernetes Operators, API Client Generators, Kubernetes Resource Validation, Custom Resource Controllers, Custom Resource Status Management, Kubernetes API Clients。

kubernetes/sample-controller 有哪些开源替代品?

kubernetes/sample-controller 的开源替代品包括: operator-framework/operator-sdk — The Operator SDK is a framework for building, packaging, and managing custom controllers that extend the Kubernetes… kubernetes-sigs/kubebuilder — Kubebuilder is a framework and set of scaffolding tools used to build Kubernetes APIs and controllers. It functions as… kubernetes-sigs/controller-runtime — This project provides a framework for building Kubernetes operators and custom controllers. It offers a set of… kube-logging/logging-operator — The logging operator is a Kubernetes-native controller designed to automate the deployment, configuration, and… kubernetes/client-go — This project is a Go language library that provides a programmatic interface for interacting with the Kubernetes API… kube-rs/kube — Kube-rs is a Rust client library and runtime for interacting with the Kubernetes API server. It provides a type-safe…

Sample Controller 的开源替代方案

相似的开源项目,按与 Sample Controller 的功能重合度排序。
  • operator-framework/operator-sdkoperator-framework 的头像

    operator-framework/operator-sdk

    7,658在 GitHub 上查看↗

    The Operator SDK is a framework for building, packaging, and managing custom controllers that extend the Kubernetes API. It serves as a toolset for defining new API types and implementing reconcile loops to automate the lifecycles of complex applications. The project provides specialized support for creating operators based on Helm charts or Ansible playbooks, allowing users to maintain a desired cluster state using existing automation tools. It includes a dedicated system for packaging controllers into standardized container image bundles for distribution via the Operator Lifecycle Manager.

    Gokubernetesoperatorsdk
    在 GitHub 上查看↗7,658
  • kubernetes-sigs/kubebuilderkubernetes-sigs 的头像

    kubernetes-sigs/kubebuilder

    8,992在 GitHub 上查看↗

    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

    Gok8s-sig-api-machinery
    在 GitHub 上查看↗8,992
  • kubernetes-sigs/controller-runtimekubernetes-sigs 的头像

    kubernetes-sigs/controller-runtime

    2,917在 GitHub 上查看↗

    This project provides a framework for building Kubernetes operators and custom controllers. It offers a set of libraries designed to manage the lifecycle of cluster resources, enabling developers to synchronize the actual state of a cluster with a desired configuration through event-driven reconciliation loops. The framework distinguishes itself by providing a manager-orchestrated environment that coordinates multiple controllers and webhooks within a single process. It includes built-in support for optimistic concurrency control to prevent update conflicts and utilizes in-memory informer cac

    Gok8s-sig-api-machinery
    在 GitHub 上查看↗2,917
  • kube-logging/logging-operatorkube-logging 的头像

    kube-logging/logging-operator

    1,696在 GitHub 上查看↗

    The logging operator is a Kubernetes-native controller designed to automate the deployment, configuration, and lifecycle management of log collection and routing infrastructure. By utilizing custom resource definitions, it provides a declarative framework for standardizing how container logs are captured, processed, and forwarded across distributed cluster environments. The project distinguishes itself through its support for multi-tenant logging architectures, allowing administrators to enforce namespace-scoped isolation for log collection and routing configurations. It employs a sidecar inj

    Gocloud-nativekuberneteskubernetes-operator
    在 GitHub 上查看↗1,696
查看 Sample Controller 的所有 30 个替代方案→