Skip to content

build(config): 🔧 updated mysql configuration for development t… #1782

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .kube/db/values.development.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
primary:
persistence:
size: 10Gi
configuration: |-
[mysqld]
basedir=/opt/bitnami/mysql
bind-address=0.0.0.0
character-set-server=UTF8
collation-server=utf8_general_ci
datadir=/bitnami/mysql/data
default_authentication_plugin=mysql_native_password
explicit_defaults_for_timestamp
innodb_buffer_pool_size=1G
innodb_doublewrite=1
innodb_flush_log_at_trx_commit=1
innodb_flush_method=O_DIRECT
innodb_lock_wait_timeout=100
innodb_log_buffer_size=16M
innodb_max_dirty_pages_pct=80
innodb_thread_concurrency=0
log-error=/opt/bitnami/mysql/logs/mysqld.log
long_query_time=20.0
max_allowed_packet=16M
pid-file=/opt/bitnami/mysql/tmp/mysqld.pid
plugin_dir=/opt/bitnami/mysql/lib/plugin
port=3306
skip-name-resolve
slow_query_log=1
slow_query_log_file=/opt/bitnami/mysql/logs/mysqld.log
socket=/opt/bitnami/mysql/tmp/mysql.sock
table_definition_cache=2048
table_open_cache=512
tmpdir=/opt/bitnami/mysql/tmp
[client]
default-character-set=UTF8
plugin_dir=/opt/bitnami/mysql/lib/plugin
port=3306
socket=/opt/bitnami/mysql/tmp/mysql.sock
[manager]
pid-file=/opt/bitnami/mysql/tmp/mysqld.pid
port=3306
socket=/opt/bitnami/mysql/tmp/mysql.sock
secondary:
persistence:
size: 10Gi
### Place those values in Vault
# auth:
# database: ""
# username: ""
# password: ""
# rootPassword: ""
# replicationPassword: ""