# KindDeployedResource

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

## Definition

```typescript
interface KindDeployedResource
  extends IResource,
    IResourceWithParent,
    KindClusterResource]],
    IResourceWithWaitSupport {
  withNamespace(namespace: string): KindDeployedResource;
}
```

## Methods

- [withNamespace](/reference/api/typescript/communitytoolkit.aspire.hosting.kind/kinddeployedresource/withnamespace.md) -- `method` -- Sets the Kubernetes namespace for the deployment.
    ```typescript
  withNamespace(namespace: string): KindDeployedResource
  ```
