KubeOps.Aspire
14.0.0
See the version list below for details.
dotnet add package KubeOps.Aspire --version 14.0.0
NuGet\Install-Package KubeOps.Aspire -Version 14.0.0
<PackageReference Include="KubeOps.Aspire" Version="14.0.0" />
<PackageVersion Include="KubeOps.Aspire" Version="14.0.0" />
<PackageReference Include="KubeOps.Aspire" />
paket add KubeOps.Aspire --version 14.0.0
#r "nuget: KubeOps.Aspire, 14.0.0"
#:package KubeOps.Aspire@14.0.0
#addin nuget:?package=KubeOps.Aspire&version=14.0.0
#tool nuget:?package=KubeOps.Aspire&version=14.0.0
KubeOps.Aspire
KubeOps.Aspire is the .NET Aspire service defaults integration for KubeOps operators. It is the operator-side counterpart to the KubeOps.Aspire.Hosting AppHost integration.
A single call wires up the cross-cutting concerns that Aspire expects from a well-behaved resource:
- OpenTelemetry — logging, metrics and tracing, including the operator's
ActivitySource. - OTLP export — enabled automatically when
OTEL_EXPORTER_OTLP_ENDPOINTis set (Aspire injects this). - Service discovery — so the operator can call other Aspire resources by their logical name.
- HTTP resilience — a standard resilience handler on all
HttpClientinstances. - Health checks — a default
selfliveness check.
Usage
using KubeOps.Aspire;
var builder = Host.CreateApplicationBuilder(args);
builder.Services
.AddKubernetesOperator()
.RegisterComponents();
builder.AddKubeOpsServiceDefaults();
using var host = builder.Build();
await host.RunAsync();
Call AddKubeOpsServiceDefaults() after AddKubernetesOperator() so the OpenTelemetry service and tracing source names match OperatorSettings.Name and the operator's reconciliation traces are captured. If you must call it earlier, pass the name explicitly (and keep it in sync with OperatorSettings.Name):
builder.AddKubeOpsServiceDefaults("my-operator");
See the .NET Aspire guide for the full picture.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net10.0
- KubeOps.Abstractions (>= 14.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.15)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Http.Resilience (>= 10.11.0)
- Microsoft.Extensions.ServiceDiscovery (>= 10.11.0)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.21.0)
- OpenTelemetry.Extensions.Hosting (>= 1.21.0)
- OpenTelemetry.Instrumentation.Http (>= 1.21.0)
- OpenTelemetry.Instrumentation.Runtime (>= 1.21.0)
-
net11.0
- KubeOps.Abstractions (>= 14.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 11.0.0)
- Microsoft.Extensions.Http.Resilience (>= 11.0.0)
- Microsoft.Extensions.ServiceDiscovery (>= 11.0.0)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.21.0)
- OpenTelemetry.Extensions.Hosting (>= 1.21.0)
- OpenTelemetry.Instrumentation.Http (>= 1.21.0)
- OpenTelemetry.Instrumentation.Runtime (>= 1.21.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 14.0.1-prerelease.5 | 0 | 11/23/2026 |
| 14.0.1-prerelease.4 | 46 | 11/21/2026 |
| 14.0.1-prerelease.3 | 47 | 11/21/2026 |
| 14.0.1-prerelease.2 | 50 | 11/21/2026 |
| 14.0.1-prerelease.1 | 46 | 11/19/2026 |
| 14.0.0 | 83 | 11/17/2026 |
| 14.0.0-prerelease.4 | 66 | 11/12/2026 |
| 14.0.0-prerelease.3 | 59 | 11/12/2026 |
| 14.0.0-prerelease.2 | 64 | 11/11/2026 |
| 14.0.0-prerelease.1 | 59 | 11/11/2026 |
| 13.3.7-prerelease.2 | 58 | 11/11/2026 |
| 13.3.7-prerelease.1 | 64 | 11/11/2026 |
| 13.3.6 | 100 | 11/10/2026 |
| 13.3.6-prerelease.5 | 66 | 11/7/2026 |
| 13.3.6-prerelease.4 | 64 | 11/7/2026 |
| 13.3.6-prerelease.3 | 69 | 11/6/2026 |
| 13.3.6-prerelease.2 | 64 | 11/5/2026 |
| 13.3.6-prerelease.1 | 65 | 11/4/2026 |
| 13.3.5 | 131 | 10/27/2026 |
| 13.3.5-prerelease.4 | 71 | 10/24/2026 |
'## [14.0.0](https://github.com/dotnet/dotnet-operator-sdk/compare/v13.3.6...v14.0.0) (2026-11-17)
### ⚠ BREAKING CHANGES
* See the [migration guide](https://dotnet.github.io/dotnet-operator-sdk/docs/operator/migration#upgrading-from-v13-to-v14) for upgrading from v13 to v14.
* **client:** remove JsonPatch.Net and the synchronous client API (#1319)
* **web:** replace LocalTunnel with external webhook endpoints (#1301)
* **core:** add .NET 11 support and drop .NET 8 and .NET 9 (#1285)
### Features
* **core:** add .NET 11 support and drop .NET 8 and .NET 9 ([#1285](https://github.com/dotnet/dotnet-operator-sdk/issues/1285)) ([cf148f9](https://github.com/dotnet/dotnet-operator-sdk/commit/cf148f93278bbae937596511776e9d8d80ac538a)), closes [#if](https://github.com/dotnet/dotnet-operator-sdk/issues/if) [#1303](https://github.com/dotnet/dotnet-operator-sdk/issues/1303) [#1301](https://github.com/dotnet/dotnet-operator-sdk/issues/1301) [#1319](https://github.com/dotnet/dotnet-operator-sdk/issues/1319) [#1319](https://github.com/dotnet/dotnet-operator-sdk/issues/1319) [#1323](https://github.com/dotnet/dotnet-operator-sdk/issues/1323) [#1319](https://github.com/dotnet/dotnet-operator-sdk/issues/1319)
* **web:** replace LocalTunnel with external webhook endpoints ([#1301](https://github.com/dotnet/dotnet-operator-sdk/issues/1301)) ([8cb1f82](https://github.com/dotnet/dotnet-operator-sdk/commit/8cb1f827b88faaa69fe17b5d0e73b68a4b1cc741)), closes [#1300](https://github.com/dotnet/dotnet-operator-sdk/issues/1300) [#1303](https://github.com/dotnet/dotnet-operator-sdk/issues/1303) [#1285](https://github.com/dotnet/dotnet-operator-sdk/issues/1285) [#1319](https://github.com/dotnet/dotnet-operator-sdk/issues/1319) [#1285](https://github.com/dotnet/dotnet-operator-sdk/issues/1285) [#1319](https://github.com/dotnet/dotnet-operator-sdk/issues/1319) [#1319](https://github.com/dotnet/dotnet-operator-sdk/issues/1319)
### Bug Fixes
* **cli:** write the kustomization as yaml for every output format ([#1316](https://github.com/dotnet/dotnet-operator-sdk/issues/1316)) ([8c67d61](https://github.com/dotnet/dotnet-operator-sdk/commit/8c67d619533d5b85d62be1807ea42bf650a45c95))
### Dependencies
* **core:** update aspire monorepo ([#1320](https://github.com/dotnet/dotnet-operator-sdk/issues/1320)) ([b14441b](https://github.com/dotnet/dotnet-operator-sdk/commit/b14441bf709b6dbc8dde3480a3f3a9a6ac2c020a))
* **core:** update dependency sonaranalyzer.csharp to 10.36.0.15337 ([#1329](https://github.com/dotnet/dotnet-operator-sdk/issues/1329)) ([9108c04](https://github.com/dotnet/dotnet-operator-sdk/commit/9108c0496f7ee319fbdd1fcc5626dced7f77962f))
* **core:** update dependency stylecop.analyzers to 1.3.180 ([#1324](https://github.com/dotnet/dotnet-operator-sdk/issues/1324)) ([a7f889e](https://github.com/dotnet/dotnet-operator-sdk/commit/a7f889e56dce67a342290f96389b1a6de14ac5cc))
* **core:** update opentelemetry-dotnet-contrib monorepo to 1.21.0 ([#1330](https://github.com/dotnet/dotnet-operator-sdk/issues/1330)) ([431eab9](https://github.com/dotnet/dotnet-operator-sdk/commit/431eab9bf8bd338d9e88d5fa71a47604decb43b2))
* **test:** update dependency coverlet.collector to 10.1.1 ([#1337](https://github.com/dotnet/dotnet-operator-sdk/issues/1337)) ([a9c0670](https://github.com/dotnet/dotnet-operator-sdk/commit/a9c0670cb00b5823a8f6fa8e5fe460aa4bf5d48a))
* **test:** update dependency microsoft.net.test.sdk to 18.11.1 ([#1321](https://github.com/dotnet/dotnet-operator-sdk/issues/1321)) ([edc0628](https://github.com/dotnet/dotnet-operator-sdk/commit/edc06282de0e540edb0d8a7d0554e0d681e4e3f9))
* **test:** update dependency microsoft.net.test.sdk to 18.12.0 ([#1331](https://github.com/dotnet/dotnet-operator-sdk/issues/1331)) ([638fd40](https://github.com/dotnet/dotnet-operator-sdk/commit/638fd401d99aa126f135cc4635df937b2b8afdbd))
* **test:** update dotnet monorepo ([#1322](https://github.com/dotnet/dotnet-operator-sdk/issues/1322)) ([658f6db](https://github.com/dotnet/dotnet-operator-sdk/commit/658f6db5e60713fe314cbc0da927df06cb3f75a4))
* **test:** update dotnet monorepo ([#1323](https://github.com/dotnet/dotnet-operator-sdk/issues/1323)) ([1e2f3a2](https://github.com/dotnet/dotnet-operator-sdk/commit/1e2f3a224070dc78e741a582018df5d67f543f0d))
* **test:** update dotnet monorepo to 18.12.2 ([#1332](https://github.com/dotnet/dotnet-operator-sdk/issues/1332)) ([c8f38fd](https://github.com/dotnet/dotnet-operator-sdk/commit/c8f38fdbeb22625d53d4f51440e5f6b9d4925b4a))
* **test:** update dotnet monorepo to 5.12.0 ([#1336](https://github.com/dotnet/dotnet-operator-sdk/issues/1336)) ([e996528](https://github.com/dotnet/dotnet-operator-sdk/commit/e99652807ecd8a865b4cc6db3ceca21beaf2bba2))
* **test:** update opentelemetry-dotnet monorepo ([#1333](https://github.com/dotnet/dotnet-operator-sdk/issues/1333)) ([63b2838](https://github.com/dotnet/dotnet-operator-sdk/commit/63b28386fdef7ffe763972f1de48ce0361f3b938))
* **tools:** update dependency nuget-license to v4.0.19 ([#1338](https://github.com/dotnet/dotnet-operator-sdk/issues/1338)) ([2beb1d5](https://github.com/dotnet/dotnet-operator-sdk/commit/2beb1d5c2b72ae4b79649a2b5c291e03baa464ba))
### Documentation
* **operator:** complete the v13 to v14 migration guide ([#1327](https://github.com/dotnet/dotnet-operator-sdk/issues/1327)) ([8d73913](https://github.com/dotnet/dotnet-operator-sdk/commit/8d73913279fb716e1e096844d3482147fd551997)), closes [#1326](https://github.com/dotnet/dotnet-operator-sdk/issues/1326) [#1285](https://github.com/dotnet/dotnet-operator-sdk/issues/1285) [#1301](https://github.com/dotnet/dotnet-operator-sdk/issues/1301) [#1285](https://github.com/dotnet/dotnet-operator-sdk/issues/1285) [#1301](https://github.com/dotnet/dotnet-operator-sdk/issues/1301) [#1301](https://github.com/dotnet/dotnet-operator-sdk/issues/1301) [#1319](https://github.com/dotnet/dotnet-operator-sdk/issues/1319)
### Code Refactoring
* **client:** remove JsonPatch.Net and the synchronous client API ([#1319](https://github.com/dotnet/dotnet-operator-sdk/issues/1319)) ([b974485](https://github.com/dotnet/dotnet-operator-sdk/commit/b974485bf5eb55f847cd5ce0f54c81455c569c12)), closes [#1318](https://github.com/dotnet/dotnet-operator-sdk/issues/1318) [#1303](https://github.com/dotnet/dotnet-operator-sdk/issues/1303) [#1285](https://github.com/dotnet/dotnet-operator-sdk/issues/1285) [#1301](https://github.com/dotnet/dotnet-operator-sdk/issues/1301) [#1032](https://github.com/dotnet/dotnet-operator-sdk/issues/1032)
'