question

ShunruiCao-0754 avatar image
0 Votes"
ShunruiCao-0754 asked ShunruiCao-0754 commented

How to install python in AKS

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
Shunrui

azure-container-registry
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

karishmatiwari-msft avatar image
0 Votes"
karishmatiwari-msft answered ShunruiCao-0754 commented

@ShunruiCao-0754 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.
https://kubernetes.io/blog/2019/07/23/get-started-with-kubernetes-using-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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you very much, and I accept the answer, and I will try as the link which you mentioned.

0 Votes 0 ·