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

Move the cert controller to runtime controller #1125

Open
yanmxa opened this issue Sep 24, 2024 · 0 comments
Open

Move the cert controller to runtime controller #1125

yanmxa opened this issue Sep 24, 2024 · 0 comments

Comments

@yanmxa
Copy link
Member

yanmxa commented Sep 24, 2024

  1. Avoid to add another secret informer to increase the memory. Since we already have other secret informer started.

https://github.com/stolostron/multicluster-global-hub/blob/main/operator/pkg/certificates/cert_controller.go

  1. add filter to the cert controller, otherwise there will be a lot updates on the deployment
2024-09-24T06:44:10.651Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:10.702Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:10.753Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:10.803Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:10.851Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:10.900Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:10.950Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.001Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.050Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.101Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.202Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.252Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.301Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.351Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.401Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.451Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.502Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.551Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.603Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.651Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.702Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
2024-09-24T06:44:11.753Z        INFO    controller_certificates Update deployment cert/restart label    {"name": "inventory-api"}
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