-
Notifications
You must be signed in to change notification settings - Fork 27
Description
So I'm trying out this with my homelab. I have my UDM Pro setup with a BGP config. All that seems to be working. I have GoCast running as a job on my ingress nodes. When I assign a VIP, it does get attached to loopback as intended and pings start to work. Howerver, pings/udp/dns are the only things I'm able to get to work. Anything that is tcp doesn't seem to work. I have a sample whoami job setup as follows:
job "whoami" {
constraint {
attribute = "${meta.nodetype}"
value = "ingress"
}
datacenters = ["dc1"]
type = "service"
group "whoami" {
network {
port "http" {}
}
service {
name = "whoami"
port = "http"
tags = [
"enable_gocast",
"gocast_vip=192.168.200.101/32",
"gocast_monitor=consul",
"gocast_nat=tcp:${NOMAD_PORT_http}:${NOMAD_PORT_http}",
]
check {
type = "http"
path = "/"
interval = "2s"
timeout = "2s"
}
}
task "server" {
env {
WHOAMI_PORT_NUMBER = "${NOMAD_PORT_http}"
}
driver = "docker"
config {
image = "traefik/whoami"
ports = ["http"]
}
}
}
}
However, when I try to hit my vip in this case 192.168.200.101:23722 I can see traffic come in with a tcp dump but it never seems to send anything back to the browser.
The actual goal here is to use this with traefik to create an ha instance of my ingress loadbalancer.
I'm so close and have tried just about everything I can think of. Has anyone successfully had this working with Nomad to help?