When using Compose, via kraft cloud compose up, a service group is created and all instances are added to that service group. That means both the service-providing instance and backing instances, such as databases or others are added to the service group.
However, when creating a service group, it load balances (round robins) between instances. Which means it will query both service-providing instances and backing instances.
Only the service-providing instance should be added to the service group.
Describe the bug
When using Compose, via
kraft cloud compose up
, a service group is created and all instances are added to that service group. That means both the service-providing instance and backing instances, such as databases or others are added to the service group.However, when creating a service group, it load balances (round robins) between instances. Which means it will query both service-providing instances and backing instances.
Only the service-providing instance should be added to the service group.
Steps to reproduce
Use this PR and run:
Some runs will show an error message:
Expected behavior
Only the service-providing instances should be part of the service group, allowing to be queried.
Which architectures were you using or does this bug affect?
No response
Which operating system were you using or does this bug affect?
No response
Relevant log output
No response