Skip to content
DocsTry Aspire
DocsTry

withK3sVersion

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.5.0
interface K3sClusterResource {
// ... omitted for brevity
withK3sVersion(tag: string): K3sClusterResource;
}

Signature

methodwithK3sVersionbuilder
Sets the k3s image version used by the cluster server and all its agent nodes.
withK3sVersion(tag: string): K3sClusterResource
tagstring
K3sClusterResource

Applies to

This method applies to the following types: