In the K8-PXC with proxysql by default we have this weight for servers and hostgroups,
Here Writes and reads will go to pxc-0 pod always due to high weight configuration, How we can change weight so we can use pxc-1, pxc2 pods with higher weight for reads.
Keeping Writes and Reads on single pod with high weight is not good I think for performance.
Version:
k8-pxc 1.18.0
How can we change weight for server in proxysql ?
Note: Updating mysql_servers with LOAD RUNTIME & SAVE DISK will not work as operator will reset weight as mentioned in the code.