bitpoke / mysql-operator

Asynchronous MySQL Replication on Kubernetes using Percona Server and Openark's Orchestrator.
https://www.bitpoke.io/docs/mysql-operator/getting-started/
Apache License 2.0
993 stars 275 forks source link

MySQL cluster CR does not support append podSpec env #885

Open xiaozhuang-a opened 1 year ago

xiaozhuang-a commented 1 year ago

hello When I wanted to add an env for mysql cluster container mysql, I found that mysqlcluster_controller pod syncer does not support append custom env,code 。This resulted in me having to rebuild the image

As for why env needs to be added, as I am using the Percona server MySQL 5.7 image and need to use Jemalloc, I need to add an env LD_PRELOAD = /usr/lib64/libjemalloc.so.1。