KubeOps Packages
KubeOps is designed to be modular, allowing you to include only the packages you need for your specific use case. This section provides detailed information about each package and its features.
Guide vs. Packages — where to read what
The documentation is split into two sidebars:
- Documentation (the operator guide) explains concepts and how-tos: how controllers, finalizers, and webhooks work, how to configure, test, observe, and deploy an operator. Start there when you want to build something.
- Packages (this section) is the per-package reference: what each NuGet package contains, when you need it, and how to install it. Each page embeds the package README and ends with an API Reference section linking to the full public API surface on FuGet/NuGet. Come here when you need to know which package provides a type or what a package's exact API looks like.
As a rule of thumb: most operators only reference KubeOps.Operator (which pulls in
KubeOps.Abstractions and KubeOps.KubernetesClient), add KubeOps.Operator.Web for webhooks,
and use KubeOps.Cli as a tool — everything else is opt-in.
Supported Target Frameworks
KubeOps follows the .NET support policy and targets the .NET versions that are currently supported by Microsoft:
| Package type | Target frameworks |
|---|---|
Runtime libraries and KubeOps.Cli | net10.0 (LTS), net11.0 (STS) |
KubeOps.Generator, KubeOps.Templates | netstandard2.0 |
Projects created from KubeOps.Templates | net10.0 |
The net11.0 assets are compiled with Runtime Async
enabled: the .NET 11 runtime executes their async methods natively instead of through compiler-generated
state machines, which reduces await overhead and produces cleaner stack traces. No configuration is
required in your operator project.
Support for .NET 8 and .NET 9 was dropped because both reached end of support on November 10, 2026.
Operators that still target net8.0 or net9.0 must stay on the previous major version of KubeOps
or upgrade to .NET 10 or later.
Core Packages
- KubeOps.Abstractions - Core interfaces and attributes
- KubeOps.Operator - Main operator engine
- KubeOps.Operator.Web - ASP.NET Core integration
Hosting & Orchestration
- KubeOps.Aspire.Hosting - .NET Aspire AppHost integration
- KubeOps.Aspire - .NET Aspire service defaults for the operator
Development Tools
- KubeOps.Cli - Command-line tools
- KubeOps.Generator - Source generators
- KubeOps.Templates - Project templates
Utilities
- KubeOps.KubernetesClient - Enhanced Kubernetes client
- KubeOps.Transpiler - YAML manifest generation
Each package is designed to work together seamlessly while maintaining independence where possible. This modular approach allows you to pick and choose the components you need for your operator implementation.