Skip to content
DocsTry Aspire
DocsTry

K3sClusterResource.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

Defined on

This method is defined on the following type: