Skip to content

[Bug] An agent deployed in another cluster does not connect to Wazuh #105

Description

@kinseii

The LoadBalancer Wazuh Manager service is not working correctly. Wazuh Agent on another cluster loses connection after registration. If the connection goes to worker nodes, everything works fine. If it goes to the master node, it disconnects.

If the Master and Workers are separated onto different LoadBalancers, everything works fine:

wazuh:
  loadBalancer:
    enabled: false

  master:
    service:
      type: LoadBalancer
      ports:
        - name: registration
          port: 1515
          targetPort: 1515
        - name: api
          port: 55000
          targetPort: 55000
    networkPolicy:
      enabled: true
      extraIngresses:
        - ports:
            - port: 1515
              protocol: TCP
            - port: 55000
              protocol: TCP
          from: []

  worker:
    service:
      type: LoadBalancer
      ports:
        - name: events
          port: 1514
          targetPort: 1514

The manager needs to be configured so that it can handle requests from both services.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions