I have 2 AKS clusters with different endpoints hosted on each one. After connecting them to the same gateway via helm chart and setting up prohibited targets, it is still overwriting the gateway with each update within AKS. I have services with endpoints like /example/group/index.html within the health probes path and the same path is formatted as /example/*. How do I specify links formated like this inside the prohibited target file so the services won't get overwritten again?
How to set AzureIngressProhibitedTarget without hostname?
53 Views Asked by Jeff At
1
There are 1 best solutions below
Related Questions in KUBERNETES-INGRESS
- How can the ingress controller receive traffic from a certain port in loadbalancer to a specific path
- Cannot Access kubernetes application via ingress on Docker Desktop
- Error while minikube addons enable ingress on windows
- Nginx-Ingress connection to service timed out. 504 Gateway Timeout returned
- "Readiness probe failed: HTTP probe failed with statuscode: 503" at NGINX Insgress Controller pod in Kubernetes cluster
- Kubernetes Ingress Port to Port route
- Error configuration for nginx-ingress controller
- nginx-ingress is not able to route to pod application
- How to set AzureIngressProhibitedTarget without hostname?
- http app unreachable from tailscale and funnel and k8s
- How add a label from header in ingress-nginx for prom metrics
- helm chart testing connection failed
- 504 gateway timeout can lead to DB connection leak and how to fix
- Redirect from one alb to another one based on Authorization header content
- Next.js deployed locally with Kind - Error 502 Bad Gateway NGINX
Related Questions in AZURE-APPLICATION-GATEWAY
- Azure Analysis Service, with an on prem gateway, in vnet
- Azure Application Gateway http/2 not working
- Azure Application Gateway ByPass
- App gateway closing connection after 100 requests
- Connect Azure front door with APIM and Azure Web App
- How to set AzureIngressProhibitedTarget without hostname?
- How to change from AGIC Addon to AGIC via helm?
- Azure App Gateway Session Affinity - Third-party Cookie
- How to prevent AKS Ingress from overwriting Application Gateway's existing services?
- Azure - Configuring authentication to a blob storage in an Azure Storage Account from an Application Gateway
- Connection failure when using SignalR with Azure APIM and an Application Gateway
- Allow access to robots.txt in Azure Web application Firewall
- Azure B2C SSO to protect Azure Application Gateway
- How to setup ingress for Azure Kubernetes cluster using AGIC?
- Azure Application Gateway backendpool to Azure Container Apps internal load balancer
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Managing AKS (Azure Kubernetes Service) clusters and configuring a shared ingress or gateway with Helm charts can be complex, particularly when it comes to routing management and preventing service conflicts. Utilizing prohibited targets is key to avoiding overwrites.
Defining links like
/example/group/index.htmlin the health probes path and managing wildcard paths such as/example/*in the prohibited target file is essential to prevent service overwrites. It's critical that your configuration accurately reflects these specifications. Helm and AKS support this process by enabling annotations and configurations in your ingress or gateway resource definitions, which help to precisely manage these routing rules and restrictions.Prohibited Target Configuration: Prohibited targets in Azure Application Gateway enable you to exclude specific paths from management by the Application Gateway Ingress Controller (AGIC). This feature is essential in scenarios where multiple Kubernetes clusters or services share the same Application Gateway but necessitate separate route management.
Wildcards and Path-Based Routing: When your health probes and service paths employ a format with wildcards (e.g.,
/example/*), it's crucial to configure your prohibited target settings precisely to exclude these paths, thereby preventing AGIC from managing them.Example Prohibited Target Configuration: A
prohibitedTargetresource can be defined in your Helm values file or as a separate Kubernetes manifest. This definition must clearly enumerate the paths or hostnames that AGIC should disregard.For paths such as
/example/group/index.html, you may either specify the precise path or employ wildcard expressions to encompass a wider array of paths.Apply the Prohibited Targets:
kubectl apply -f prohibited-targets.yamlcommand to ensure the changes take effect.Reference:
https://learn.microsoft.com/en-us/samples/azure/azure-quickstart-templates/aks-application-gateway-ingress-controller/
https://learn.microsoft.com/en-us/azure/aks/kubernetes-helm