jinjianming commented on issue #479: URL: https://github.com/apache/apisix-helm-chart/issues/479#issuecomment-1441295086
Thank you for the test cases provided. I configure and generate certificates in this way, although I have achieved the effect of test cases; But 'apisix-data-plane' is still in the CrashLoopBackOff state. I suspect it is a self-signed certificate problem; Because curl needs to add the - k parameter to get the content. # curl --cert tls.crt --key tls.key https://apisix-control-plane-control-plane:9280/version curl: (60) SSL certificate problem: unable to get local issuer certificate #curl --cert tls.crt --key tls.key **-k** https://apisix-control-plane-control-plane:9280/version {"etcdserver":"3.5.4","etcdcluster":"3.5.0"} # kubectl logs apisix-data-plane-566cb54f9d-bbjhv -f /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd request etcd endpoint 'https://apisix-control-plane-control-plane:9280/version' error, certificate verify failed all etcd nodes are unavailable Warning! Request etcd endpoint 'https://apisix-control-plane-control-plane:9280/version' error, certificate verify failed, retry time=1 Warning! Request etcd endpoint 'https://apisix-control-plane-control-plane:9280/version' error, certificate verify failed, retry time=2 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
