MySQL Router K8s

Canonical Publisher

Platform:

Channel Revision Published Runs on
8.0/stable 916 01 Jul 2026
Ubuntu 22.04
8.0/stable 917 01 Jul 2026
Ubuntu 22.04
8.0/stable 915 01 Jul 2026
Ubuntu 22.04
8.0/candidate 916 17 Jun 2026
Ubuntu 22.04
8.0/candidate 917 17 Jun 2026
Ubuntu 22.04
8.0/candidate 915 17 Jun 2026
Ubuntu 22.04
8.0/beta 916 17 Jun 2026
Ubuntu 22.04
8.0/beta 917 17 Jun 2026
Ubuntu 22.04
8.0/beta 915 17 Jun 2026
Ubuntu 22.04
8.0/edge 930 13 Jul 2026
Ubuntu 22.04
8.0/edge 929 13 Jul 2026
Ubuntu 22.04
8.0/edge 928 13 Jul 2026
Ubuntu 22.04
8.4/candidate 939 10 Sep 2026
Ubuntu 26.04
8.4/candidate 937 10 Sep 2026
Ubuntu 26.04
8.4/candidate 940 10 Sep 2026
Ubuntu 26.04
8.4/beta 939 10 Sep 2026
Ubuntu 26.04
8.4/beta 937 10 Sep 2026
Ubuntu 26.04
8.4/beta 940 10 Sep 2026
Ubuntu 26.04
8.4/edge 940 10 Sep 2026
Ubuntu 26.04
8.4/edge 939 10 Sep 2026
Ubuntu 26.04
8.4/edge 937 10 Sep 2026
Ubuntu 26.04
juju deploy mysql-router-k8s --channel 8.4/edge

Learn about configurations >

  • connection-sharing | boolean

    Enable MySQL Router connection pooling and sharing.

    When enabled, MySQL Router pools server connections and shares them between client connections. This reduces the number of connections to the MySQL server and frees resources bound to idle connections.

    Note: Connection sharing has some limitations - certain SQL features like GET DIAGNOSTICS, LAST_INSERT_ID(), SQL_CALC_FOUND_ROWS, GET_LOCK(), user variables, temporary tables, and prepared statements may not work as expected or will prevent connection pooling until the connection is reset.

    See https://dev.mysql.com/doc/mysql-router/8.4/en/mysql-router-general-features-connection-sharing.html

  • expose-external | string

    Default: false

    String to determine how to expose the MySQLRouter externally from the Kubernetes cluster. Possible values: 'false', 'nodeport', 'loadbalancer'

  • loadbalancer-extra-annotations | string

    Default: {}

    A JSON string representing extra annotations for the Kubernetes service created and managed by the charm.

  • pause-after-unit-refresh | string

    Default: first

    Wait for manual confirmation to resume refresh after these units refresh

    Allowed values: "all", "first", "none"