# KindDeployedResource

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

## 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
  ```
