Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MysqlPort is the default mysql port. MysqlPort = 3306 // OrcTopologyDir path where orc conf secret is mounted OrcTopologyDir = "/var/run/orc-topology" // SidecarServerPort represents the port on which http server will run SidecarServerPort = 8080 // SidecarServerProbePath the probe path SidecarServerProbePath = "/health" // ExporterPort is the port that metrics will be exported ExporterPort = 9125 // ExporterPath is the path on which metrics are expose ExporterPath = "/metrics" // OperatorDbName represent the database name that is used by operator to // manage the mysql cluster. This database contains a table with // initialization history and table managed by pt-heartbeat. Be aware that // when changing this value to update the orchestrator chart value for // SlaveLagQuery in hack/charts/mysql-operator/values.yaml. OperatorDbName = "sys_operator" // OperatorStatusTableName represents the name of the table that contains information about MySQL status, like: // if mysql is configure by the operator, if PURGE_GTID is set or not, etc OperatorStatusTableName = "status" // ConfVolumeMountPath is the path where mysql configs will be mounted ConfVolumeMountPath = "/etc/mysql" // DataVolumeMountPath is the path to mysql data DataVolumeMountPath = "/var/lib/mysql" // ConfMapVolumeMountPath represents the temp config mount path in init containers ConfMapVolumeMountPath = "/mnt/conf" // ConfDPath is the path to extra mysql configs dir ConfDPath = "/etc/mysql/conf.d" // ConfClientPath represents the path to the client MySQL client configuration // it's important to have a different extension than .cnf to be ignore by MySQL include ConfClientPath = "/etc/mysql/client.conf" // ConfHeartBeatPath the path where to put the heartbeat.conf file // it's important to have a different extension than .cnf to be ignore by MySQL include ConfHeartBeatPath = "/etc/mysql/heartbeat.conf" )
Variables ¶
View Source
var ( // MysqlImageVersions is a map of supported mysql version and their image MysqlImageVersions = map[string]string{ "5.7": "percona@sha256:b3b7fb177b416563c46fe012298e042ec1607cc0539ce6014146380b0d27b08c", } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.