How to install python in AKS

Shunrui Cao 46 Reputation points

Hi teams,
In my opinion, there are two way to use python in AKS. And do you have the detail procdure about anyone?
I tried first way to install python but failure to mount the nfs to aks.
First way, make a azure storage and install NFS, install python at here and then mount it to AKS.
Second way, install python to a pv and use python as image.

Best regards

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
277 questions
0 comments No comments
{count} votes

Accepted answer
  1. KarishmaTiwari-MSFT 13,602 Reputation points Microsoft Employee

    @Shunrui Cao Thanks for posting your query.

    Issue description:
    Get started with AKS using Python

    Recommended solution:
    In order to be able to use AKS with Python, you should not need to have use NFS or Persistent volume in general.
    I would recommend going through the following documentation on how to get started with using Kubernetes with Python.

    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

    Please let me know if you have any further questions and I would be happy to help. Thanks.

0 additional answers

Sort by: Most helpful