How to exchange information between K8s node?

now I have 8 node, programs running the same java program in K8s.
if you send a message to someone at 10:00 every day, eight node will be sent eight times.
but you only need to send it once.

is there any way to set flag bits to allow 8 node messages to communicate with each other?

the method of inserting the record of the message sent into the MySQL should not work. When inserting it, other node will repeat the message if it is not recorded in the database.

Apr.25,2021

finally uses the method of inserting into MYSQL

  • Kube-apiserver default port range

    I want to change the nodePort range of K8s and modify the startup parameters of kube-apiserver. however, when I added this parameter, I found that the api would not work as long as the port range was not 30000-32768. I have another environment, th...

    Mar.20,2021
Menu