# ============================================================================= # Kubernetes Ingress Template — AKS Deploy Skill # ============================================================================= # Use this template for AKS clusters with the Web App Routing add-on # This is the default for both AKS Automatic and AKS Standard. # For clusters with Istio Gateway API enabled, use gateway.yaml + httproute.yaml instead. # # REPLACE: — your application name (e.g., order-api) # REPLACE: — target namespace (e.g., production) # REPLACE: — URL path (e.g., /) # REPLACE: — port on the backend Service (e.g., 80) # NOTE: is in the commented host-based rule — fill it in when DNS is configured # ============================================================================= apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: namespace: labels: app: spec: ingressClassName: webapprouting.kubernetes.azure.com # Uncomment for TLS — requires a Secret with the certificate # tls: # - hosts: # - # secretName: rules: # Initial deploy (no custom domain) — traffic routes to the external IP directly. # Once DNS is configured, replace this rule with the host-based variant below. - http: paths: - path: "" pathType: Prefix backend: service: name: port: number: # Host-based rule — uncomment and replace the rule above once DNS is configured: # - host: "" # http: # paths: # - path: "" # pathType: Prefix # backend: # service: # name: # port: # number: