Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithKubernetesVersion

Method
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.895
func (IKindResource) 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

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: