Skip to content

Meshery Operator to watch Broker custom resource for changes to Endpoint location #333

@leecalcote

Description

@leecalcote

Current Behavior

Meshery Server connects to Meshery Broker by way of the information contained in the broker custom resource, specifically, the IP / hostname contained in the Endpoint section.

...
....
Status:
  Endpoint:
    External:  localhost:4222
    Internal:  10.96.168.204:4222
Events:        <none>

Desired Behavior

When this endpoint location changes, Meshery Server learns of it and updates the location it connects to.

Implementation

  1. Ideally, Meshery Operator informs Meshery Server of this change (pushes the change), so that this is an event-based flow.2.
  2. If this isn't feasible, users should be able to manually have Meshery Server refresh this information. Let's avoid period polling initially as it only brings in more concerns.

Acceptance Tests

  1. Users can update networking of their broker, update the endpoint location in their custom resource, and then have Meshery Server refresh the endpoint location information. Then, establish a new subscription to the MeshSync topic.2.

Mockups

See Meshery Architecture deck for sequence diagrams.


Contributor Guides and Resources

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions