Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions src/frontend/src/content/docs/deployment/kubernetes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,18 @@ import LearnMore from '@components/LearnMore.astro';

Kubernetes is a supported deployment target for Aspire applications. By adding the Kubernetes hosting integration to your AppHost, you can use `aspire publish` to generate a complete set of Helm chart artifacts ready for deployment to any Kubernetes cluster.

## Prerequisites

Before deploying to Kubernetes with Aspire, ensure the following tools are installed and available on your `PATH`:

- **[Helm](https://helm.sh/docs/intro/install/) v4.2.0 or later** — Aspire shells out to `helm upgrade --install` to deploy the generated chart. It validates the Helm version up front; missing or older versions produce a clear, actionable error rather than cryptic flag failures.
- **[kubectl](https://kubernetes.io/docs/tasks/tools/)** — Required to interact with your cluster.

<Aside type="note">
Kubernetes uses `aspire publish` to generate Helm charts. It does not support
`aspire deploy` — you deploy the generated artifacts using `helm`, `kubectl`,
or your existing GitOps workflow.
Kubernetes uses `aspire publish` to generate Helm charts and `aspire deploy`
to run the Helm deployment pipeline against your configured cluster. You can
also deploy the generated artifacts using `helm`, `kubectl`, or your existing
GitOps workflow.
</Aside>

<LearnMore>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ This article is the reference for the Aspire Kubernetes hosting integration. It

## Installation

:::note[Prerequisite: Helm v4.2.0 or later]
Aspire's Kubernetes deployment pipeline shells out to `helm upgrade --install` and validates the installed Helm version before executing. **[Helm](https://helm.sh/docs/intro/install/) v4.2.0 or later** must be on your `PATH`. If Helm is missing or too old, Aspire reports a clear, actionable error instead of cryptic flag failures.
:::

To start building an Aspire app with Kubernetes deployment support, install the [📦 Aspire.Hosting.Kubernetes](https://www.nuget.org/packages/Aspire.Hosting.Kubernetes) NuGet package:

<Tabs syncKey="aspire-lang">
Expand Down
Loading