Open a11enhuang opened 1 year ago
Looks like this is a problem unrelated to apisix-go-plugin-runner. Try to troubleshoot possible causes based on this error log:
Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
在
apisix-go-plugin-runner
中使用了client-go
作为K8S
客户端,尝试从K8S
的ConfigMaps
中获取配置数据,用来初始化插件。APISIX-SERVER
部署在GKE
中,并且配置文件中也指定了执行Go插件但是在集群中启动时无法获取
K8S
的配置信息。初始化代码如下: