I'm running a unit test with resty in a kubernetes cluster.
resty /kong/spec/jwtcache_test.lua --http-conf 'resolver 172.31.0.10' --main-conf 'resolver 172.31.0.10'
This test uses "resty.redis" to try to connect to a redis instance that is deployed as a service.
Error:
redis could not be resolved (3: Host not found)
Should this work? I'm not really looking up a proxy address in nginx.
Thanks for your time in looking at this issue.
I'm running a unit test with resty in a kubernetes cluster.
resty /kong/spec/jwtcache_test.lua --http-conf 'resolver 172.31.0.10' --main-conf 'resolver 172.31.0.10'This test uses "resty.redis" to try to connect to a redis instance that is deployed as a service.
Error:
redis could not be resolved (3: Host not found)Should this work? I'm not really looking up a proxy address in nginx.
Thanks for your time in looking at this issue.