Aspire.Hosting.Kubernetes
13.5.3-preview.1.26425.3
Prefix Reserved
dotnet add package Aspire.Hosting.Kubernetes --version 13.5.3-preview.1.26425.3
NuGet\Install-Package Aspire.Hosting.Kubernetes -Version 13.5.3-preview.1.26425.3
<PackageReference Include="Aspire.Hosting.Kubernetes" Version="13.5.3-preview.1.26425.3" />
<PackageVersion Include="Aspire.Hosting.Kubernetes" Version="13.5.3-preview.1.26425.3" />
<PackageReference Include="Aspire.Hosting.Kubernetes" />
paket add Aspire.Hosting.Kubernetes --version 13.5.3-preview.1.26425.3
#r "nuget: Aspire.Hosting.Kubernetes, 13.5.3-preview.1.26425.3"
#:package Aspire.Hosting.Kubernetes@13.5.3-preview.1.26425.3
#addin nuget:?package=Aspire.Hosting.Kubernetes&version=13.5.3-preview.1.26425.3&prerelease
#tool nuget:?package=Aspire.Hosting.Kubernetes&version=13.5.3-preview.1.26425.3&prerelease
Kubernetes hosting integration
Provides publishing extensions to Aspire for Kubernetes.
Getting started
Prerequisites
- Helm v4.2.0 or later on your
PATH.
Aspire shells out to helm upgrade --install to deploy the generated chart and validates the Helm version up front, so missing or older installs produce a clear actionable error instead of cryptic flag failures.
Add the integration
From your AppHost directory, add the Aspire.Hosting.Kubernetes integration with the Aspire CLI:
aspire add Aspire.Hosting.Kubernetes
Usage example
In the AppHost, add the environment:
C#
builder.AddKubernetesEnvironment("k8s");
TypeScript
await builder.addKubernetesEnvironment("k8s");
aspire publish -o k8s-artifacts
Additional documentation
https://aspire.dev/integrations/gallery/ https://aspire.dev/integrations/compute/kubernetes/
Feedback & contributing
| Product | Versions 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 was computed. 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 was computed. 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. |
-
net8.0
- Aspire.Hosting (>= 13.5.3)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
- Google.Protobuf (>= 3.34.1)
- Grpc.AspNetCore (>= 2.80.0)
- Grpc.Net.ClientFactory (>= 2.80.0)
- Grpc.Tools (>= 2.80.0)
- Humanizer.Core (>= 3.0.10)
- JsonPatch.Net (>= 5.0.2)
- KubernetesClient (>= 19.0.2)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.11)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.11)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.30)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.11)
- Microsoft.Extensions.Hosting (>= 10.0.11)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Http (>= 10.0.11)
- Microsoft.Extensions.Logging (>= 10.0.11)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Options (>= 10.0.11)
- Microsoft.Extensions.Primitives (>= 10.0.11)
- ModelContextProtocol (>= 1.3.0)
- Newtonsoft.Json (>= 13.0.4)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.15.3)
- OpenTelemetry.Extensions.Hosting (>= 1.15.3)
- Polly.Core (>= 8.6.6)
- Semver (>= 3.0.0)
- StreamJsonRpc (>= 2.25.29)
- System.IO.Hashing (>= 10.0.8)
- System.Text.Json (>= 10.0.11)
- YamlDotNet (>= 16.3.0)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Aspire.Hosting.Kubernetes:
| Package | Downloads |
|---|---|
|
KubeOps.Aspire.Hosting
.NET Aspire hosting integration for KubeOps operators. Adds an AddKubeOps extension to the distributed application builder so a KubeOps operator project can be orchestrated as a resource in a .NET Aspire AppHost, wired up with references, environment variables and telemetry. |
|
|
Aspire.Hosting.Azure.Kubernetes
Azure Kubernetes Service (AKS) resource types for Aspire. |
|
|
Arkanis.Aspire.Hosting.Extensions.Kubernetes
Reusable Aspire hosting extensions for Kubernetes publishing, manifests, ingress, persistent volumes, environment variables, and deployment-target selection. |
|
|
Arkanis.Aspire.Hosting.Extensions.Kubernetes.ExternalSecrets
Reusable Aspire hosting extensions for publishing External Secrets Operator manifests from Kubernetes and Aspire Secret configuration. |
|
|
Arkanis.Aspire.Hosting.Extensions.Kubernetes.CloudNativePostgres
Reusable Aspire hosting extensions for publishing CloudNativePG database resources and credentials ExternalSecrets. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Aspire.Hosting.Kubernetes:
| Repository | Stars |
|---|---|
|
mehdihadeli/food-delivery-microservices
🍔 A practical and cloud-native food delivery microservices, built with .Net Aspire, .Net 10, Wolverine, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
|
|
|
petabridge/DrawTogether.NET
Multi-player MS Paint application. Built with Akka.NET, Blazor, and .NET Aspire.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 13.5.3-preview.1.26425.3 | 1,957 | 8/25/2026 |
| 13.5.2-preview.1.26421.6 | 991 | 8/21/2026 |
| 13.5.1-preview.1.26420.4 | 250 | 8/20/2026 |
| 13.5.0-preview.1.26417.10 | 1,118 | 8/18/2026 |
| 13.4.6-preview.1.26319.6 | 31,450 | 6/19/2026 |
| 13.4.5-preview.1.26316.12 | 3,496 | 6/17/2026 |
| 13.4.4-preview.1.26314.3 | 4,465 | 6/15/2026 |
| 13.4.3-preview.1.26305.13 | 5,645 | 6/8/2026 |
| 13.4.2-preview.1.26303.6 | 2,240 | 6/3/2026 |
| 13.4.1-preview.1.26303.3 | 87 | 6/3/2026 |
| 13.4.0-preview.1.26281.18 | 13,081 | 6/1/2026 |
| 13.3.5-preview.1.26270.6 | 10,054 | 5/21/2026 |
| 13.3.4-preview.1.26268.8 | 1,844 | 5/19/2026 |
| 13.3.3-preview.1.26264.13 | 8,985 | 5/15/2026 |
| 13.3.2-preview.1.26263.11 | 743 | 5/14/2026 |
| 13.3.1-preview.1.26261.7 | 554 | 5/12/2026 |
| 13.3.0-preview.1.26256.5 | 2,587 | 5/7/2026 |
| 13.2.4-preview.1.26224.4 | 7,654 | 4/24/2026 |
| 13.2.3-preview.1.26217.6 | 4,438 | 4/21/2026 |
| 13.2.2-preview.1.26207.2 | 4,906 | 4/8/2026 |