Hi All, need some help. Using K3sContainer in jav...
# general
k
Hi All, need some help. Using K3sContainer in java.
Copy code
k3s:v1.31.11-k3s1
I deploy K3sContainer and some GenericContainer. both having same Network. GenericContainer is webapp .
Copy code
new GenericContainer<>(MY_APP_IMAGE)
        .withExposedPorts(8089)
        .withNetwork(network)
        .withNetworkAliases("myapp");
if i try to:
wget myapp:8089
from k3s to myApp - works. But if I deploy a pod in k3s, and from that pod try the same, i get: Could not resolve host: myapp if I take the actual IP and use it instead, all works. but i need to use the name.