wooden-fall-24645
01/17/2024, 11:08 AMflyte-backend-flyte-binary-xxx
so that includes everything? and I can only scale everything together?
2. "FlytePropeller can scale to 1000s of workers on a single CPU"
Worker is used a lot in regards to FlytePropeller but what is actually meant by that? An instantiation of one FlytePropeller aka Pod? A process as part of that flyte-backend-flyte-binary
Pod? A node as part of the cluster? What is a worker and how can I observe what it is doing?
3. How is scaling of the cluster supposed to work? Assume I want to increase the number of concurrent tasks. How would I make sure that the cluster can handle it? Scaling out FlyteAdmin & Scaling out Datacatalog & Scaling out FlytePropeller does not describe what I actually need to change to make it work except deploying the “FlytePropeller Manager”. I don’t have a deployment in my cluster that is called “FlyteAdmin” or “Datacatalog” so I’m not sure what is meant by “Datacatalog is a stateless service and its replicas (in the kubernetes deployment) can be simply increased to allow higher throughput”
Excuses in advance if these questions are trivial … . It would also help me if you can point me to some design documents or similar that I can read to answer my questions 🙂calm-pilot-2010
01/17/2024, 12:13 PMflyte-binary
and `flyte-core`https://docs.flyte.org/en/latest/deployment/deployment/index.html#helm. It sounds like you are using flyte-binary
. If you use flyte-core
there will be separate deployments for flyteadmin, flytepropeller, datacatalog, etc.
I don't really know when its best to use flyte-binary
but if you want to scale to multiple kubernetes clsuters flyte-core
is the only option.
Also "worker" means a goroutine within the flytepropeller process. There can be 1000s of workers per pod using just a few actual CPU cores.wooden-fall-24645
01/17/2024, 12:41 PMaverage-finland-92144
01/17/2024, 12:57 PMaverage-finland-92144
01/17/2024, 1:00 PMflyte-binary
is effectively all the Flyte componentes packed, and flytepropeller can be sharded to accommodate more concurrent executions. Nevertheless, flyte-core,
while designed for envs with multiple K8s clusters, can be useful to connect that scale-out pattern to observable resources on K8s, like Podswooden-fall-24645
01/17/2024, 1:01 PMflyte-binary
deployment is it sufficient to scale out the deployment of the binary or will that not have any effect?average-finland-92144
01/17/2024, 2:05 PMwooden-fall-24645
01/17/2024, 2:08 PMhallowed-mouse-14616
01/17/2024, 3:11 PMhallowed-mouse-14616
01/17/2024, 3:15 PMwooden-fall-24645
01/17/2024, 3:32 PMflyte-core
to see the different components in action 😉
Might come back with some additional questions when I’m at that point 😜
Thanks a lot for the help 👍freezing-airport-6809