Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: