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.
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:
The manager needs to be configured so that it can handle requests from both services.