# addIngress

- Module: [Aspire.Hosting.Azure.Kubernetes](/reference/api/typescript/aspire.hosting.azure.kubernetes.md)
- Version: `13.4.0-preview.1.26281.18`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire)

Adds a Kubernetes Ingress resource to the application model, associated with the inner Kubernetes environment of the specified AKS environment. The ingress generates a `networking.k8s.io/v1 Ingress` resource in the Helm chart output at publish time.

## Definition

```typescript
interface AzureKubernetesEnvironmentResource {
  // ... omitted for brevity
  addIngress(name: string): KubernetesIngressResource
}
```

## Parameters

- `name` (`string`)

## Returns

`KubernetesIngressResource` `builder`

## Applies to

- [AzureKubernetesEnvironmentResource](/reference/api/typescript/aspire.hosting.azure.kubernetes/azurekubernetesenvironmentresource.md)
