How to run python code in .net core web application deployed on k8s?

11/14/2021

My team member has deployed an .net core MVC web application (.net core 3.1) in gcp k8s.

One of the functions of the website needs to run python code. But it doesn't work in k8s. (We can run this function in the local side.)

In deployed website, it will show this error message. Then we check the launchsetting file, it's already "Development mode".

Does anyone have good solution? QQQQ

How to call python execution in k8s?

-- Samantha Chu
.net-core-3.1
deployment
kubernetes

0 Answers