Skip to content
DocsTry Aspire
DocsTry

K3sClusterResource.withKubectlImage

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.5.0
interface K3sClusterResource {
// ... omitted for brevity
withKubectlImage(
tag?: string,
image?: string,
registry?: string): K3sClusterResource;
}

Signature

methodwithKubectlImagebuilder
Overrides the container image used to run `kubectl apply` for all `K8sManifestResource` children of this cluster.
withKubectlImage(
tag?: string,
image?: string,
registry?: string): K3sClusterResource
tagstringoptional
imagestringoptional
registrystringoptional
K3sClusterResource

Defined on

This method is defined on the following type: