Open sagojez opened 2 weeks ago
In case anyone wants to work with this, here's a repository with the minimal set to reproduce the issue: https://github.com/sagoez/flv-scaffold/tree/main
After further investigation, we managed to identify the root cause of the issue. It appears that the following configuration is problematic:
set {
name = "service.type"
value = "ClusterIP"
}
That said, I believe the SC should be able to connect to the SPU without relying on a LoadBalancer. Is there a way to modify this behavior, or is it an intentional design choice?
Can you link to which helm chart values you are overriding?
The SC and SPU uses internal network configuration to talk to each other (which is different from public network (where client connects to).
SC never starts communication to SPU. It's SPU that initiates SC using private port. SC will only allow communication from registered list. The network configuration is out of scope for this repo since network configuration is more of deployment concern and will be different for each deployment architecture ( AWS, GCP, private data center). It is assumed that deployment operator will configure such that SPU can reach SC. The configuration in this repo is meant to only work on most simplistic scenario and that's only one will be supported.
You can test SC reachability from SPU running ping command within SPU pod. There are other tools out there that can help diagnose network configuration.
You can also reach out to support@infinyon.com
for commercial support.
What happened We're deploying the service with custom resource allocation, for reference our terraform files looks something like this:
However, when running
fluvio cluster spu list
I find that the public address is wrongly formatted, i.e. it shows under the Public Endpoint only the port:10000
.When using fluvio cluster start, I can see a proper address with a proper port (see image below). My assumption is that something is missing, however we don't see any option to set the hostname in the templates given for the k8s deployment.
Expected behavior I would expect the Public Endpoint to be either configurable or at least properly setted when trying to customize the resources via terraform.
Describe the setup
fluvio version
0.12.1Log output
SPG:
SC: