You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "Baoyuantop (via GitHub)" <gi...@apache.org> on 2026/04/08 09:51:51 UTC

Re: [I] k8s部署apisix后三方插件使用问题. [apisix-helm-chart]

Baoyuantop commented on issue #155:
URL: https://github.com/apache/apisix-helm-chart/issues/155#issuecomment-4205374829

   For third-party plugins (e.g., Go plugins) in a Kubernetes environment, the chart supports:
   
   1. **Custom plugins via ConfigMap** (values.yaml lines 580-600):
   ```yaml
   apisix:
     customPlugins:
       enabled: true
       luaPath: "/opts/custom_plugins/?.lua"
       plugins:
         - name: "your-plugin"
           configMap:
             name: "plugin-configmap"
             mounts:
               - key: "plugin.lua"
                 path: "/opts/custom_plugins"
   ```
   
   2. **External plugin runners** (Go/Python/Java) via sidecar containers:
   ```yaml
   extraContainers:
     - name: go-runner
       image: your-go-plugin-image
   extraVolumes:
     - name: plugin-socket
       emptyDir: {}
   extraVolumeMounts:
     - name: plugin-socket
       mountPath: /tmp/runner.sock
   ```
   
   See `extraContainers` (line 135), `extraVolumes` (line 114), and `extraVolumeMounts` (line 121) in values.yaml.
   
   Closing as this is a usage question. If you still need help, please feel free to reopen.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org