# KubernetesEnvironmentKindExtensions

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.Kind](/reference/api/csharp/communitytoolkit.aspire.hosting.kind.md)
- Version: `13.4.1-beta.706`
- Namespace: `Aspire.Hosting`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Kind/KubernetesEnvironmentKindExtensions.cs)

Extension methods for configuring a `Kubernetes.KubernetesEnvironmentResource` to deploy to a local Kind cluster.

## Definition

```csharp
namespace Aspire.Hosting;

public static class KubernetesEnvironmentKindExtensions
{
    // ...
}
```

## Methods

- [WithKind(IResourceBuilder<KubernetesEnvironmentResource>)](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kubernetesenvironmentkindextensions/methods.md#withkind-iresourcebuilder-kubernetesenvironmentresource) : `IResourceBuilder<KindEnvironmentResource>` `extension` `ats export` -- 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.
