Skip to content
DocsTry Aspire
DocsTry

KindDeployedResource.withNamespace

Method
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.736
interface KindDeployedResource {
// ... omitted for brevity
withNamespace(namespace: string): KindDeployedResource;
}

Signature

methodwithNamespacebuilder
Sets the Kubernetes namespace for the deployment.
withNamespace(namespace: string): KindDeployedResource
namespacestring
KindDeployedResource

Defined on

This method is defined on the following type: