Bug #110473 MySQL Router Docker Container IPv6 failure in K8s
Submitted: 22 Mar 2023 22:47 Modified: 23 Mar 2023 17:49
Reporter: Michael Quiniola Email Updates:
Status: Verified Impact on me:
Category:MySQL Router: Docker Image Severity:S3 (Non-critical)
Version:8.0.32 OS:Any
Assigned to: CPU Architecture:Any
Tags: ipv6, K8s, kubernetes

[22 Mar 2023 22:47] Michael Quiniola
Using the latest mysql_router from https://hub.docker.com/r/mysql/mysql-router, the http_server listens by default on ipv4. This means I cannot deploy mysql-router in single-stack IPv6 only kubernetes with the Mysql-Operator. The MySQL servers themselves start fine, but the routers fail because the http_server is not listening on ipv6 and the liveness probe fails.

How to repeat:
Deploy MySQL cluster on Kubernetes with MySQL-Operator.

Suggested fix:
Either the option for bind_address under [http_server] needs to be configurable, or the whole router config file needs an option to allow custom entries.
[23 Mar 2023 17:49] MySQL Verification Team

Thank you for the report