Skip to content
DocsTry Aspire
DocsTry

withNamespace

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

Signature

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

Applies to

This method applies to the following types: