When you have 2 Gloo Fed instances installed on the same cluster (running in different namespaces), and register a cluster for each of them using the same cluster name, only one GlooInstance is created.
Steps to reproduce the bug
Not sure if this is a regression. Follow the steps outlined in https://github.com/solo-io/gloo/issues/7529.
After glooctl cluster register --federation-namespace gloo-system-old ... is called, a GlooInstance gets created in the gloo-system-old namespace. After glooctl cluster register --federation-namespace gloo-system-new... gets called, a new GlooInstance in gloo-system-new gets created, but the first GlooInstance disappears. Strangely, federation still seems to work as expected. Note this bug only occurs if both clusters were registered with the same name.
Expected Behavior
After running both cluster registration commands, there should be 2 GlooInstances (one in gloo-system-old and one in gloo-system-new)
Additional Context
Could be a problem in cluster registration or Gloo Fed discovery.
This issue has been marked as stale because of no activity in the last 180 days. It will be closed in the next 180 days unless it is tagged "no stalebot" or other activity occurs.
Gloo Edge Version
1.14.x (beta)
Kubernetes Version
None
Describe the bug
When you have 2 Gloo Fed instances installed on the same cluster (running in different namespaces), and register a cluster for each of them using the same cluster name, only one GlooInstance is created.
Steps to reproduce the bug
Not sure if this is a regression. Follow the steps outlined in https://github.com/solo-io/gloo/issues/7529. After
glooctl cluster register --federation-namespace gloo-system-old ...
is called, a GlooInstance gets created in thegloo-system-old
namespace. Afterglooctl cluster register --federation-namespace gloo-system-new...
gets called, a new GlooInstance ingloo-system-new
gets created, but the first GlooInstance disappears. Strangely, federation still seems to work as expected. Note this bug only occurs if both clusters were registered with the same name.Expected Behavior
After running both cluster registration commands, there should be 2 GlooInstances (one in
gloo-system-old
and one ingloo-system-new
)Additional Context
Could be a problem in cluster registration or Gloo Fed discovery.