withK3sVersion

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.6.1
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
tagstringThe k3s container image tag, e.g. `v1.32.3-k3s1`. Must follow the `v{major}.{minor}.{patch}-k3s{n}` format.
K3sClusterResource

Applies to

This method applies to the following types: