You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [release-1.17] Reduce mt-broker-controller memory usage with namespaced endpoint informer (knative#8421)
* Reduce mt-broker-controller memory usage with namespaced endpoint informer
Currently, the mt-broker-controller is using a cluster-wide endpoints
informer but it actually only uses endpoints in the "SYSTEM_NAMESPACE".
Using the namespaced informer factory ensures that the watcher
is only watching endpoints in the `knative-eventing` (also known as
`SYSTEM_NAMESPACE`) namespace.
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
* Start informer
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
---------
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com>
* [release-1.17] Scheduler: Resync reserved periodically to keep state consistent (knative#8453)
Scheduler: Resync reserved periodically to keep state consistent
Add resyncReserved removes deleted vPods from reserved to keep the
state consistent when leadership changes (Promote / Demote).
`initReserved` is not enough since the vPod lister can be stale.
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com>
* [release-1.17] Scheduler: log expected vreplicas by vpod (knative#8462)
Scheduler: log expected vreplicas by vpod
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com>
* [release-1.17] Compare the entire PodTemplateSpec, instead of just its PodSpec (knative#8560)
Compare the entire PodTemplateSpec, instead of just its PodSpec
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
Co-authored-by: Matthias Wessendorf <mwessend@redhat.com>
* [release-1.17] Fix hardcoded knative-eventing namespace (knative#8577)
* dizzy: Remove hard-coded knative-eventing namespace and replace with system.Namespace() and touch test to get that properly injected
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
* broom: Remove yet another hard-coded instance of knative-eventing
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
---------
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
Co-authored-by: Matthias Wessendorf <mwessend@redhat.com>
* [release-1.17] Guard reserved access with lock and create vpods in tests (knative#8504)
* Guard reserved access with lock in tests
* Create vpods in test
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
---------
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com>
---------
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
Co-authored-by: Knative Prow Robot <automation+prow-robot@knative.team>
Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Co-authored-by: Matthias Wessendorf <mwessend@redhat.com>
Message: "Channel.Spec.Subscribers changed by user test-user which was not the system:serviceaccount:knative-eventing:eventing-controller service account",
145
+
Message: fmt.Sprintf("%s:%s:%s", "Channel.Spec.Subscribers changed by user test-user which was not the system:serviceaccount", system.Namespace(), "eventing-controller service account"),
0 commit comments