How to containerize a python application and deploy it in AKS

Anuja Benziger 25 Reputation points
2024-12-11T08:57:22.8+00:00

How can I create Docker file or containerize a python application and deploy it in AKS

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
468 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
717 questions
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,207 questions
{count} votes

Accepted answer
  1. Mahesh Goud Juvvadi 1,665 Reputation points Microsoft Vendor
    2024-12-11T15:15:10.55+00:00

    Hi Anuja Benziger,

    Thank you for reaching out to the Microsoft Q&A platform.

    Based on your question description we understand that you want to use python application and deploy it in AKS.

    Steps would include:

    1. Get the Python application code and run the application locally
    2. Create an image and run the Python application in Docker
    3. Create a deployment and run the application in Kubernetes/AKS

    I would recommend going through the following documentation on how to get started with using Kubernetes with Python.

    https://kubernetes.io/blog/2019/07/23/get-started-with-kubernetes-using-python/

    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.
    User's image

    Thank you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.