# K8sManifestResource Constructors

- Package: [CommunityToolkit.Aspire.Hosting.Kind](/reference/api/csharp/communitytoolkit.aspire.hosting.kind.md)
- Type: [K8sManifestResource](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/k8smanifestresource.md)
- Kind: `Constructors`
- Members: `1`

A Kubernetes manifest applied to a Kind cluster via `kubectl apply`.

<a id="constructor"></a>
<a id="constructor-string-string-kindclusterresource"></a>

## K8sManifestResource(string, string, KindClusterResource)

- Name: `Constructor(string, string, KindClusterResource)`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/3ebe72753ae604ec3c9e343865740e6f8512e1b6/src/CommunityToolkit.Aspire.Hosting.Kind/K8sManifestResource.cs#L21-L29)

A Kubernetes manifest applied to a Kind cluster via `kubectl apply`.

```csharp
public class K8sManifestResource
{
    public K8sManifestResource(
        string name,
        string manifestPath,
        KindClusterResource parent)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the resource.
- `manifestPath` (`string`)
  Absolute path to a Kubernetes manifest file or directory of manifest files, or `<inline>` for manifests provided via standard input.
- `parent` ([KindClusterResource](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindclusterresource.md))
  The parent Kind cluster resource.
