Watch Aspire live streamsDocsTry Aspire

addManifestFromContent

Method
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.895
interface KindClusterResource {
// ... omitted for brevity
addManifestFromContent(
name: string,
content: string): K8sManifestResource;
}

Signature

methodaddManifestFromContentbuilder
Adds Kubernetes manifest content to be applied to the Kind cluster via `kubectl apply -f -`.
addManifestFromContent(
name: string,
content: string): K8sManifestResource
namestringThe name of the manifest resource.
contentstringThe Kubernetes manifest YAML content.
K8sManifestResource

Applies to

This method applies to the following types: