Hi All,
I am trying to set up edge microgateway in Kubernetes cluster as per the document.
I am not able to call the helloworld service. I checked the logs of edgemicrogateway and found the following:
2020-05-07T08:51:01.056Z [25] [microgateway-config network] config download from https://edgemicroservices.apigee.net/edgemicro/bootstrap/organization/vipulapigee23-eval/environment... returned Error: getaddrinfo EAI_AGAIN edgemicroservices.apigee.net at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26) { errno: 'EAI_AGAIN', code: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: 'edgemicroservices.apigee.net' }
Earlier I was getting the following permission error:
Log Location: [ /opt/apigee/logs/edgemicro.log ] SIGTERM delay : [ ] tee: /opt/apigee/logs/edgemicro.log: Permission denied /opt/apigee/entrypoint.sh: line 34: /opt/apigee/.edgemicro/<myorg>-eval-test-config.yaml: Permission denied chown: cannot access '/opt/apigee/.edgemicro/*': No such file or directory cd /opt/apigee && edgemicro start -o <myorg>-eval -e test -k xxxxx -s xxxx -r 8000 -d /opt/apigee/plugins & 2020-05-06T07:33:04.753Z [25] [microgateway edgemicro] current nodejs version is v12.16.1 2020-05-06T07:33:04.754Z [25] [microgateway edgemicro] current edgemicro version is 3.1.4 2020-05-06T07:33:05.809Z [25] [microgateway-config io] config does not exist /opt/apigee/.edgemicro/<myorg>-eval-test-config.yaml /usr/local/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/io.js:76 throw new Error('config does not exist'); ^ Error: config does not exist at IO.loadSync (/usr/local/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/io.js:76:11) at Object.load (/usr/local/lib/node_modules/edgemicro/node_modules/microgateway-config/index.js:36:25)
But when I changed the user for edgemicro pod I started getting this error.
Could someone help me here?
Thanks.