Slackbot
12/07/2022, 2:54 PMRaz Co
12/07/2022, 2:56 PMRaz Co
12/07/2022, 2:59 PM7002
is the default port of the opal-server.
In addition, calling for host.docker.internal:<port>
means that you are looking for a service within the docker network interface that has this port exposed, so just make sure you are not using this url in k8s because that won’t work for you.Raz Co
12/07/2022, 3:00 PMRaz Co
12/07/2022, 3:03 PMJack Geek
12/07/2022, 3:11 PMRaz Co
12/07/2022, 3:13 PMJack Geek
12/07/2022, 3:13 PMRaz Co
12/07/2022, 3:15 PMopal-server
and it exists on the namespace - default
for example, you can configure the Client’s OPAL_SERVER_URL
variable to the service FQDN, which in this example will be - opal-server.default.svc
Raz Co
12/07/2022, 3:16 PMJack Geek
12/07/2022, 3:20 PMRaz Co
12/07/2022, 3:26 PMOPAL_ALL_DATA_URL
env var is used to control this endpoint call. When running both Client and Server on docker-compose this host.docker.internal
should work properly. So the question is do you run OPAL Server in your docker-compose as well ?Jack Geek
12/07/2022, 3:31 PMRaz Co
12/07/2022, 3:38 PMNo it’s the same public IP (from the loadbalancer) - I tested it on a docker-compose Client.Sorry, I couldn’t understand for which part of my answer this sentence is referring to. In k8s I recommend you to change this variable to a k8s FQDN url.
Jack Geek
12/07/2022, 4:19 PM<serviceName>.<namespaceName>.svc.cluster.local
instead of Public IP and I check if the DOCKER error is gone or notJack Geek
12/08/2022, 1:40 PMJack Geek
12/08/2022, 1:41 PMRaz Co
12/08/2022, 4:45 PMAsaf Cohen
12/08/2022, 6:48 PMAsaf Cohen
12/08/2022, 6:49 PMJack Geek
12/10/2022, 10:48 PMAsaf Cohen
12/11/2022, 9:50 AMOPAL_DATA_CONFIG_SOURCES={"entries":[]}
2) set the following env var on OPAL client:
OPAL_DATA_UPDATER_ENABLED=false
Jack Geek
12/11/2022, 12:54 PMAsaf Cohen
12/11/2022, 12:55 PM"
characters with \"
@Raz Co correct me if i'm wrongRaz Co
12/11/2022, 1:14 PM{\"enteries\":[]}
Jack Geek
12/11/2022, 3:16 PM