Watch Aspire live streamsDocsTry Aspire

KubernetesManifestResource.withNamespace

Method
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
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: