AzureKubernetesIngressExtensions
Class static net8.0
Provides extension methods for adding Kubernetes Ingress and Gateway resources to AKS environments.
namespace Aspire.Hosting;
public static class AzureKubernetesIngressExtensions{ // ...}Methods2
Section titled MethodsAddGateway(IResourceBuilder<AzureKubernetesEnvironmentResource>, string)extensionats exportIResourceBuilder<KubernetesGatewayResource> Adds a Kubernetes Gateway API Gateway resource to the application model, associated with the inner Kubernetes environment of the specified AKS environment.
AddIngress(IResourceBuilder<AzureKubernetesEnvironmentResource>, string)extensionats exportIResourceBuilder<KubernetesIngressResource> 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.