HI
i setup zabbix server in kubrernetes..and my agent also running as pod in the worker nodes
zabbix-server service is exposed with clusterIP ..
zabbix-agent has the config with servername=zabbix-server...but the agent is dropping the connection with error " failed to accept an incoming connection: connection from "IP" rejected, allowed hosts: "zabbix-server". "
that makes sense. bcoz zabbix-server is resolving to the cluster IP..but the Zabbix server is polling the agent with POD IP
when i changed my agent's servername string to IP of POD. where zabbix is running everything is normal , but pod IP cant be hardcoded as it will change when pod restarts
am stuck with this
any help
i setup zabbix server in kubrernetes..and my agent also running as pod in the worker nodes
zabbix-server service is exposed with clusterIP ..
zabbix-agent has the config with servername=zabbix-server...but the agent is dropping the connection with error " failed to accept an incoming connection: connection from "IP" rejected, allowed hosts: "zabbix-server". "
that makes sense. bcoz zabbix-server is resolving to the cluster IP..but the Zabbix server is polling the agent with POD IP
when i changed my agent's servername string to IP of POD. where zabbix is running everything is normal , but pod IP cant be hardcoded as it will change when pod restarts
am stuck with this
any help
Comment