Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MarkCupitt opened this issue Jun 21, 2023 · 0 comments

Comments

@MarkCupitt
Copy link

MarkCupitt commented Jun 21, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant