apisix-python-plugin-runner icon indicating copy to clipboard operation
apisix-python-plugin-runner copied to clipboard

Using Python Plugin Runner in a Kubernetes Deployment - no Python3 in the container

Open MarkCupitt opened this issue 2 years ago • 0 comments

We need to add an external plugin to decode some inbound headers and would like to use the python runner

The plugin requires Python 3.7+

Our intention is to mount the runner and plugin as an external volumes/mounts and point the extPlugin config to those locations

all looks good, except for one small thing

The apisix image is Debian Bullseye which does NOT have Python installed on it at all.

Now, we can pretty much build python via an init container, however, we do not have sudo privileges or su - privileges in hat container so we cannot install the build dependencies which require sudo apt root privileges

We really do not want to have to build and maintain apisix form source ..

Any ideas/suggestions most welcome on how we could get python into the container.

MarkCupitt avatar Jun 21 '23 08:06 MarkCupitt