This message was deleted.
# general
a
This message was deleted.
g
(newbie, so take it with a grain of salt) I try to do something simalar, I think the Multus plugin is here useful
a
Hello. We are using k3s on multiple nic services. Using internal-ip for private network (the one with flannel) and external-ip, on which we expose the services. Is that your requirement
b
yes, but how should i do? supposing i have eth0 (public network, accessing the internet) eth1 (private network, 10Gbit) i setup the k3s cluster with --k3s-extra-args '--flannel-iface=eth1' now, when i create a deployment how should i expose the service to public network?
a
id use --node-external-ip with your internet ip.
and --node-ip for your private. Then let flannel choose (hopefully it will use eth1). Wrt to deployment, to be exposed you must create a LoadBalancerService https://docs.k3s.io/networking#service-load-balancer
b
i configured the cluster with node-externalip and flannel-iface tags. the cluster works correctly but when i try for example to install traefik it creates a loadbalancer that has not public ports and still pending. What should i do to fix the problem?
1
one more example for another deployment (first-second image the incorrect load balancer. third image the cluster where load balancer set correctly)
1