KubeOps.Aspire 13.1.0

dotnet add package KubeOps.Aspire --version 13.1.0
                    
NuGet\Install-Package KubeOps.Aspire -Version 13.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KubeOps.Aspire" Version="13.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KubeOps.Aspire" Version="13.1.0" />
                    
Directory.Packages.props
<PackageReference Include="KubeOps.Aspire" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add KubeOps.Aspire --version 13.1.0
                    
#r "nuget: KubeOps.Aspire, 13.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package KubeOps.Aspire@13.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=KubeOps.Aspire&version=13.1.0
                    
Install as a Cake Addin
#tool nuget:?package=KubeOps.Aspire&version=13.1.0
                    
Install as a Cake Tool

KubeOps.Aspire

NuGet NuGet Pre-Release

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_ENDPOINT is 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 HttpClient instances.
  • Health checks — a default self liveness 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 Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
13.1.0 0 7/21/2026
13.1.0-prerelease.2 43 7/17/2026
13.1.0-prerelease.1 47 7/16/2026
13.0.0 90 7/14/2026
13.0.0-prerelease.6 48 7/14/2026
13.0.0-prerelease.5 54 7/12/2026
13.0.0-prerelease.4 52 7/11/2026
13.0.0-prerelease.3 49 7/11/2026
13.0.0-prerelease.2 48 7/11/2026
13.0.0-prerelease.1 53 7/11/2026
12.1.0-prerelease.1 57 7/10/2026
12.0.1-prerelease.2 64 7/9/2026
12.0.1-prerelease.1 51 7/8/2026
12.0.0 127 7/7/2026
11.6.0-prerelease.1 56 7/3/2026
11.5.1-prerelease.2 66 7/2/2026
11.5.1-prerelease.1 59 7/2/2026
11.5.0 121 6/30/2026
11.5.0-prerelease.6 52 6/28/2026
11.5.0-prerelease.5 60 6/28/2026
Loading failed

'## [13.1.0](https://github.com/dotnet/dotnet-operator-sdk/compare/v13.0.0...v13.1.0) (2026-07-21)

### Features

* **generator:** expand CRD schema metadata support ([#1201](https://github.com/dotnet/dotnet-operator-sdk/issues/1201)) ([67aa3fd](https://github.com/dotnet/dotnet-operator-sdk/commit/67aa3fd3a1b5ff827bf116d80840607e3952be23)), closes [#1200](https://github.com/dotnet/dotnet-operator-sdk/issues/1200)

### Dependencies

* **ci:** update actions/setup-dotnet action to v6 ([#1204](https://github.com/dotnet/dotnet-operator-sdk/issues/1204)) ([eddcd6a](https://github.com/dotnet/dotnet-operator-sdk/commit/eddcd6ac22dadafd392a8f9515d7f2246d62e4db))
* **ci:** update actions/setup-node action to v7 ([#1199](https://github.com/dotnet/dotnet-operator-sdk/issues/1199)) ([e0621c8](https://github.com/dotnet/dotnet-operator-sdk/commit/e0621c8572c455639c88107bdfd24db711fbdfc3))
* **core:** update opentelemetry-dotnet-contrib monorepo to 1.17.0 ([#1207](https://github.com/dotnet/dotnet-operator-sdk/issues/1207)) ([6314dac](https://github.com/dotnet/dotnet-operator-sdk/commit/6314dac27bb40039a69fe38aae0b5a02eb3c66d1))
* **test:** update dependency microsoft.net.test.sdk to 18.8.1 ([#1198](https://github.com/dotnet/dotnet-operator-sdk/issues/1198)) ([9f44d7c](https://github.com/dotnet/dotnet-operator-sdk/commit/9f44d7ca3b545b0db2fdb990374c58f0205d0eef))
* **test:** update dotnet monorepo ([#1197](https://github.com/dotnet/dotnet-operator-sdk/issues/1197)) ([8fe3808](https://github.com/dotnet/dotnet-operator-sdk/commit/8fe380833ff34e47217f2b0d2703fe36b4010d1b))
* **test:** update dotnet monorepo to 18.8.2 ([#1202](https://github.com/dotnet/dotnet-operator-sdk/issues/1202)) ([3ea3844](https://github.com/dotnet/dotnet-operator-sdk/commit/3ea384479b7e9dad6d70c7553e8d18248b22e33c))
* **test:** update opentelemetry-dotnet monorepo ([#1203](https://github.com/dotnet/dotnet-operator-sdk/issues/1203)) ([68e3044](https://github.com/dotnet/dotnet-operator-sdk/commit/68e3044f032b5e5ec35abcb38acba78ff9339de8))
* **tools:** update dependency nuget-license to v4.0.15 ([#1206](https://github.com/dotnet/dotnet-operator-sdk/issues/1206)) ([711b8a7](https://github.com/dotnet/dotnet-operator-sdk/commit/711b8a7d30d7a76b1443accb2ae7bf1f0c461953))
'