# withKind

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

Configures the Kubernetes environment to create and deploy to a local Kind cluster. Enables `aspire deploy` to provision the cluster, load container images, and install the generated Helm chart.

## Definition

```typescript
interface KubernetesEnvironmentResource {
  // ... omitted for brevity
  withKind(): KindEnvironmentResource
}
```

## Returns

[KindEnvironmentResource](/reference/api/typescript/communitytoolkit.aspire.hosting.kind/kindenvironmentresource.md) `builder`

## Applies to

- [KubernetesEnvironmentResource](/reference/api/typescript/communitytoolkit.aspire.hosting.kind/kubernetesenvironmentresource.md)
