Skip to content
DocsTry Aspire
DocsTry

KubernetesManifestResource.withNamespace

Method
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
interface KubernetesManifestResource {
// ... omitted for brevity
withNamespace(namespace: string): KubernetesManifestResource;
}

Signature

methodwithNamespace
Sets the namespace for this manifest.
withNamespace(namespace: string): KubernetesManifestResource
namespacestring
KubernetesManifestResource

Defined on

This method is defined on the following type: