quick-midnight-500008/31/2022, 8:36 PM
) and I've previously made this work by adding a HOSTS entry to map to an always-consistent IP (
) and then having MetalLB + Traefik's Ingress LB mapped to that IP specifically on port 80. In my head that means I should be able to:
but k3d doesn't seem to agree:
k3d cluster create foo-cloud --no-lb --k3s-arg="--disable=traefik@server:0" -p "192.168.64.200:80:80"
Is there a more appropriate way to accomplish this?
FATA failed to transform ports: No nodefilters specified
and disabling Traefik are to accommodate a pre-existing Traefik + MetalLB configuration, but perhaps it may be more appropriate to use Klipper at least?
no issue, mapping an
seems to fail because the port forward isn't actually listening for that host.
entries and need to be specified with
. And because
only understands IPs, it means you must have an
and then an additional
--host-alias 127.0.0.1 foobar.local
k3d cluster create
wide-garage-946508/31/2022, 9:27 PM
, appended to your -p value.
quick-midnight-500008/31/2022, 9:30 PM
entries that map to
will not function whereas mapping directly to
wide-garage-946509/04/2022, 2:01 PM
must have one IP per line, which it "resolves" the names on the same line to.