Skip to content
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

Reducing yaml file for VitessCluster Kind #611

Open
GenLN opened this issue Oct 9, 2024 · 0 comments
Open

Reducing yaml file for VitessCluster Kind #611

GenLN opened this issue Oct 9, 2024 · 0 comments

Comments

@GenLN
Copy link

GenLN commented Oct 9, 2024

Do we have any option for maintaining clearness with VitessCluster Kind yaml file?
So what we have noticed about it:

  • repeatable vttablet extra flags for each keyspace
  • repeatable vttablet affinity definition for each keyspace
  • repeatable vttablet volumes, volumeMounts, extraEnv, mysqld configOverrides, sidecarContainers

All of these makes a huge yaml file when you have a lot of keyspaces defined.
Is there any options for definition of common configs etc. to be reused/included for each keyspaces and only some specific configs to be added under keyspaces?

With around 10 keyspaces we have almost 2k+ lines of cluster definition (it could be reduced without those repetitive stuff there)
Also noticed some flags don't have same key name, but hold the same value for example:
vtgate vault flags

  • mysql_auth_vault_addr:
  • mysql_auth_vault_path:
  • mysql_auth_vault_ttl:

vttablet vault flags

  • db-credentials-vault-ttl:
  • db-credentials-vault-addr:
  • db-credentials-vault-path:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant