Hi all,
I am a bit confused (and basically a Kubernetes newbie).
I installed the 10.0.2.0 version of ISVA to my Kubernetes cluster, with 3 worker nodes.
External LDAP and database so no containers for that functionallity.
After the instalaation I have 1 isva-config, 1 isva-runtime and 1 isva-wrp up and running doing what they are supposed to do.
Access to the wrp is through the NodePort service (see pg 1 in the included ppt).
The nodeport is 'sprayed' by an external loadbalancer to all 3 Nodes.
I increased the replica setting for the wrp from 1 to 2 and a new instance was fired up on a different worker node (anti-affinity saw to that :-) ).
For some reason there is never any traffic in both wrp-s (slide 2 in the ppt), it seems like the NodePort service chooses one of the wrp on Node 2 or Node 3 (seemingly randomly) and then sends all traffic to that instance.
Is this works as designed from the NodePort perspective? I was under the impression that Node 2 and Node 3 would use their 'local' wrp and Node 1 (not having a local wrp) would redirect traffic to Node 2 (and/)or Node 3.
If this is the normal Nodeport behavior, what is the recommended way to have 2 wrps running at the same time, basically for redundancy? Nodes 1 2 and 3 are not all in the same physical location.
Hope my question is clear.
Rgds
Anders
------------------------------
Anders Domeij
CGI Sweden AB
------------------------------