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

*-monit containers resources in ProxySQL pods does not take the values specified in spec.proxysql.resources attributes of the pxc cluster definition #1672

Open
konoox opened this issue Mar 14, 2024 · 1 comment
Labels

Comments

@konoox
Copy link

konoox commented Mar 14, 2024

Report

*-monit containers resources in ProxySQL pods does not take the values specified in spec.proxysql.resources attributes of the pxc cluster definition

More about the problem

It seems not possible to provide resources cutom values for the pxc-monit and proxysql-monit containers that run inside proxysql pods. The configuration specified in the spec.proxysql.resources attributes of the cluster definition only apply to the proxysql container of the pod, but the *-monit containers resources section remains empty. It would be a great feature to add options in the CR definition to specify custom resources values for the *-monit containers of the proxysql pod or use the existing spec.proxysql.resources attributes to fill them.

Steps to reproduce

1 - Create a pxc cluster with proxysql section enabled and defined with custom resources configuration in the spec.proxysql.resources fields
2 - See that only the container named proxysql take the custom resources values in the related pod but the resources section remains empty for pxc-monit and proxysql-monit containers

Versions

1 - Kubernetes - v1.27.6
2 - Operator - Percona Operator for MySQL based on Percona XtraDB Cluster 1.13.0
3 - Database - MySQL XtraDB 8.0

Anything else?

No response

@konoox konoox added the bug label Mar 14, 2024
@spron-in
Copy link
Collaborator

spron-in commented Apr 1, 2024

@konoox thanks for reporting it. Raised this jira issue: https://perconadev.atlassian.net/browse/K8SPXC-1379

I see you raised a bunch of issues in our github repos, if you can contact me at [email protected] - we can discuss your use cases and see how we can collaborate to resolve those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants