Watch Aspire live streamsDocsTry Aspire

withKubernetesVersion

Method
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.895
interface KindClusterResource {
// ... omitted for brevity
withKubernetesVersion(version: string): IKindResource;
}

Signature

methodwithKubernetesVersionbuilder
Sets the Kubernetes version for the Kind cluster.
withKubernetesVersion(version: string): IKindResource
versionstringThe Kubernetes version (e.g., "v1.32.2").
IKindResource

Applies to

This method applies to the following types: