Keycloak and MySQL
Customize Verrazzano Keycloak and MySQL settings for high availability
- To scale the number of MySQL instances use the Verrazzano Custom Resource, not the MySQL StatefulSet.
Directly modifying the StatefulSet may change the status of the cluster to
ONLINE_PARTIAL. - You must have at least one running
mysql-routerto access the MySQL InnoDB Cluster. Scaling the number ofmysql-routerinstances to zero may result in the MySQL Operator permanently losing communication with the cluster and Keycloak being unable to communicate with MySQL. - There are limitations to MySQL group replication policy to provide distributed coordination between servers. See MySQL Fault-tolerance.