One of my Python client services is running on the cloud Kubernetes. I want to redirect some requests from the cloud to an on-premise Kubernetes cluster so that certain executions can run there through Azure Arc. How can this be achieved without setting u

Varsha Zutshi 85 Reputation points
2024-06-12T09:39:32.2066667+00:00

One of my Python client services is running on the cloud Kubernetes. I want to redirect some requests from the cloud to an on-premise Kubernetes cluster so that certain executions can run there through Azure Arc. How can this be achieved without setting up the Python client service on the on-premise Kubernetes cluster? like some nodes run here on premise kubernetes cluster

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,224 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 37,836 Reputation points Microsoft Employee
    2024-06-12T16:14:45.0233333+00:00

    @Varsha Zutshi

    I understand that you have a python service running on AKS and want to direct certain requests to your on-premises Azure Arc cluster.
    You could consider utilizing a load balancing solution such as Azure Traffic Manager. *Azure Traffic Manager can direct customers to the desired Kubernetes cluster and application instance. Traffic Manager is a DNS-based traffic load balancer that can distribute network traffic across regions. For the best performance and redundancy, direct all application traffic through Traffic Manager before it goes to your AKS cluster.*In a multi-cluster deployment, customers should connect to a Traffic Manager DNS name that points to the services on each AKS cluster. Define these services by using Traffic Manager endpoints. Each endpoint is the service load balancer IP. Use this configuration to direct network traffic from the Traffic Manager endpoint in one region to the endpoint in a different region.

    Another option might be to utilize Application Gateway for Containers. Application Gateway for Containers is an application layer (layer 7) load balancing and dynamic traffic management product for workloads running in a Kubernetes cluster.

    Checkout these options and see if they fit your use-case. Let me know if you have additional questions or need further assistance.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.