Overview
You are unable to connect an EYK hosted app to a Memcached service. This article describes the procedure to connect an EYK hosted app to a Memcached application/service.
Solution
In order for an application to be accessed only by other apps inside the same cluster, the following settings are needed:
eyk routing:disable -a qbe-memcached-server eyk config:set PORT=11211 -a qbe-memcached-server
Note: qbe-memcached-server is the host running the Memcached service and should be adjusted accordingly for your environment. Same with the PORT parameter which is environment-specific.
In addition, to connect to the Memcached service from other pods the connections need to be to port 80 instead of the port it exposes (i.e. 11211) as shown in the following example connecting to the Ncat web service that has been cached using Memcached:
[root@dev1-web-xxx-yyy /]# nc -zv qbe-memcached-server.qbe-memcached-server 80 Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: Connected to 172.20.71.235:80. Ncat: 0 bytes sent, 0 bytes received in 0.01 seconds.
Comments
Article is closed for comments.