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

remove kube-rbac-proxy sidecar #31

Merged
merged 1 commit into from
Jul 11, 2022
Merged

remove kube-rbac-proxy sidecar #31

merged 1 commit into from
Jul 11, 2022

Conversation

eguzki
Copy link
Contributor

@eguzki eguzki commented Jul 11, 2022

What

Remove the kube-rbac-proxy container from the controller-manager

Kuadrant/kuadrant-operator#7 (comment)

Why

See:

https://github.com/3scale/3scale-operator/pull/692
https://github.com/3scale-ops/prometheus-exporter-operator/pull/26

Verification steps

  • deploy limitador locally
make local-setup
  • Expose metrics service locally
kubectl port-forward --namespace limitador-operator-system service/limitador-operator-controller-manager-metrics-service 8080:8080
  • No need to add RBAC access token
$ curl http://127.0.0.1:8080/metrics
# HELP controller_runtime_active_workers Number of currently used workers per controller
# TYPE controller_runtime_active_workers gauge
controller_runtime_active_workers{controller="limitador"} 0
# HELP controller_runtime_max_concurrent_reconciles Maximum number of concurrent reconciles per controller
# TYPE controller_runtime_max_concurrent_reconciles gauge
controller_runtime_max_concurrent_reconciles{controller="limitador"} 1
# HELP controller_runtime_reconcile_errors_total Total number of reconciliation errors per controller
# TYPE controller_runtime_reconcile_errors_total counter
controller_runtime_reconcile_errors_total{controller="limitador"} 0
....

@eguzki eguzki requested a review from didierofrivia July 11, 2022 08:56
Copy link
Member

@didierofrivia didierofrivia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

@eguzki eguzki merged commit 20e6063 into main Jul 11, 2022
@eguzki eguzki deleted the remove-rbac-proxy-container branch July 11, 2022 14:13
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

Successfully merging this pull request may close these issues.

2 participants