Kong Custom Plugin setup on Kubernetes

We already have a setup of Kong (Functional - 0.13.0), now when i enable the cusotm_plugin using the environment variable, the pod is not getting started.

so, this is snippet of kong yaml file for the pod.
env:

  • name: KONG_CUSTOM_PLUGINS
    value: “external-oauth”
    command: ["/bin/ash", “-c”, “luarocks install external-oauth”]

Can anyone help me on this.

Do you need to run migrations for that plugin? Any errors in logs (e.g. Kong logs)?

I tried running migration as well, it didn’t help. And in the logs am not getting any error.

if you start kong with --vv does it give any error, and just to recheck did you run migrations with that KONG_CUSTOM_PLUGINS too?