Sorry, I accidently pressed enter in the previous ...
# rke2
g
Sorry, I accidently pressed enter in the previous post and posted to early. Hey, I have a problem provision a rke2 cluster with docker machine driver (hetzner), My plan is to use two network interfaces. One public and one private. It seems it's not detected well, because always the public interface is used for whole cluster communication. So I tried to set some environment variables in the cluster provision:
Copy code
agentEnvVars:
  - name: CATTLE_ADDRESS
    value: eth0
  - name: CATTLE_INTERNAL_ADDRESS
    value: enp7s0
  - name: DEBUG
But still the cluster has one internal IP set (picture in attachment). I also attach the log of the cluster agent provisioning the node. I have no idea what to do. When I use the Hetzner CCM the External and the Internal IPs are set correctly. But now there is a certificate issue telling me that the certificate is only valid for the public IP and not for the private internal IP 10.0.0.4 (example IP of a node). Maybe someone have an idea how to solve this problem because I cannot help myself anymore 🥲. Thanks already for your help and have a nice day. 🙂 Greetings from switzerland.