Hey there,
I have setup a cluster with one master (without worker role) and 2 worker nodes, deployed your hello world app and set up an Ingress.
Result: For the Ingress, there is being created a .xip.io link holding one IP address of one of my nodes.
xip.io simply resolves the URL into the IP adress as I have learned from their homepage.
First question: When I curl an IP address directly (curl -s http://95.179.247.64) instead of using the xip-link it gives me a 404. Why can I access the app via xip-link but not directly via the node IP-address, when xip does nothing but resolving to the IP address? Shouldn’t I be able to also directly curl my second node and access the page as the nginx controllers are deployed to all nodes?
In general, the app runs fine accessing it via the xip-link until I shut down the node whose IP address has been adopted into the link. Clearly, I cannot use the xip link anymore as the node holding this IP address is dead.
Now I want to make my app accessible again running on just one worker node. What would be the best strategy for that?
Question: When I now add another Ingress it automatically takes over again the IP address from the shut down node into its xiop-URL - why is it doing this? Of course, the URL doesnt work. Changing the IP address to my second node in the YAML file and thereby changing the URL doesn’t help --> Link still broken.
When I create a new ingress and define the hostname manually as xip-link but holding the IP-address of my second node, also the URL gets changed to the IP address of my first node and is being broken.
What is happening here behind the curtains?
Side quesion: is it possible to define two Ingress for one and the same service?
Many thanks in advance for your support,
Martin