# AddManifestFromContent

- Module: [CommunityToolkit.Aspire.Hosting.Kind](/reference/api/go/communitytoolkit.aspire.hosting.kind.md)
- Version: `13.5.1-beta.895`
- Kind: `method`
- Defined on: [`KindClusterResource`](/reference/api/go/communitytoolkit.aspire.hosting.kind/kindclusterresource.md)
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/2c26a4c9649531d17fce3cbc4c5dea00d61d279c)

Adds Kubernetes manifest content to be applied to the Kind cluster via `kubectl apply -f -`.

## Definition

```go
func (KindClusterResource) AddManifestFromContent(
    name string,
    content string,
) K8sManifestResource
```

## Parameters

- `name` (`string`) -- The name of the manifest resource.
- `content` (`string`) -- The Kubernetes manifest YAML content.

## Returns

[`K8sManifestResource`](/reference/api/go/communitytoolkit.aspire.hosting.kind/k8smanifestresource.md) -- A reference to the `IResourceBuilder`.

Returns a handle; failures surface later via `Err()`.

## Applies to

- [`KindClusterResource`](/reference/api/go/communitytoolkit.aspire.hosting.kind/kindclusterresource.md)
