# K8sManifestResource

- Module: [CommunityToolkit.Aspire.Hosting.K3s](/reference/api/go/communitytoolkit.aspire.hosting.k3s.md)
- Version: `13.6.1`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

Represents a Kubernetes manifest (or Kustomize overlay) applied to the parent k3s cluster.

## Remarks

The resource runs as an `alpine/kubectl` container. It polls until the cluster
kubeconfig is available, then applies the manifests with `kubectl apply --server-side`
and waits for any CRDs to reach the `Established` condition before exiting with code 0.
Use `WaitForCompletion(manifest)` on resources that depend on these manifests being applied.

## Definition

```go
type K8sManifestResource interface {
    IComputeResource
    Resource
    ResourceWithArgs
    ResourceWithEndpoints
    ResourceWithEnvironment
    ResourceWithParent
    ResourceWithWaitSupport
}
```

## Embeds

- `IComputeResource`
- `Resource`
- `ResourceWithArgs`
- `ResourceWithEndpoints`
- `ResourceWithEnvironment`
- `ResourceWithParent`
- `ResourceWithWaitSupport`

## Properties

- `Parent`: [`K3sClusterResource`](/reference/api/go/communitytoolkit.aspire.hosting.k3s/k3sclusterresource.md) `get` -- Gets the Parent property
- `Path`: `string` `get` -- Gets the absolute host path to the YAML file, plain directory, or Kustomize directory that contains the manifests to apply.
