# KindNetworkingModel

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

Represents cluster-wide networking settings for a Kind cluster.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public sealed class KindNetworkingModel
{
    // ...
}
```

## Constructors

- [KindNetworkingModel](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindnetworkingmodel/constructors.md#constructor)

## Properties

- [ApiServerAddress](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindnetworkingmodel/properties.md#apiserveraddress) : `string?` `get; set` -- Gets or sets the listen address on the host for the Kubernetes API Server. When `null`, defaults to 127.0.0.1.
- [ApiServerPort](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindnetworkingmodel/properties.md#apiserverport) : `int?` `get; set` -- Gets or sets the listen port on the host for the Kubernetes API Server. When `null`, Kind selects a random port.
- [DisableDefaultCNI](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindnetworkingmodel/properties.md#disabledefaultcni) : `bool?` `get; set` -- Gets or sets whether to disable the default CNI. Set to `true` to install a custom CNI (e.g., Cilium) after cluster creation. When `null`, the default CNI is installed.
- [IpFamily](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindnetworkingmodel/properties.md#ipfamily) : `string?` `get; set` -- Gets or sets the network cluster IP family (e.g., "ipv4", "ipv6", or "dual"). When `null`, Kind uses its default (ipv4).
- [KubeProxyMode](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindnetworkingmodel/properties.md#kubeproxymode) : `string?` `get; set` -- Gets or sets the kube-proxy mode (e.g., "iptables", "ipvs", or "nftables"). When `null`, defaults to "iptables".
- [PodSubnet](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindnetworkingmodel/properties.md#podsubnet) : `string?` `get; set` -- Gets or sets the CIDR used for pod IPs. When `null`, Kind selects a default.
- [ServiceSubnet](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindnetworkingmodel/properties.md#servicesubnet) : `string?` `get; set` -- Gets or sets the CIDR used for service VIPs. When `null`, Kind selects a default.
