Skip to content

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

@MarkCupitt

Description

@MarkCupitt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions