Skip to content
DocsTry Aspire
DocsTry

withKindContainerReference

Method
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.736
interface ContainerResource {
// ... omitted for brevity
withKindContainerReference(kind: KindClusterResource): ContainerResource;
}

Signature

methodwithKindContainerReferencebuilder
Configures a container resource to reference the Kind cluster by bind-mounting the container-compatible kubeconfig, injecting environment variables, and connecting to the Kind container network.
withKindContainerReference(kind: KindClusterResource): ContainerResource
kindKindClusterResource
ContainerResource

Applies to

This method applies to the following types: