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
{{ message }}
Repository navigation
Create separate configmap store for Configuration reconciler and Labeler #8871
Currently Configuration and Labeler share the store from /api, but they should have their own (at the moment Features is consumed, but Autoscaling and Defaults are not) for clean separation and so that we can add specific configmaps for these in the future.
Follow up to: #8850
Example of adding to an existing store: #8858
changed the title [-]Create separate store for Configuration reconciler and Labeler[/-][+]Create separate configmap store for Configuration reconciler and Labeler[/+]on Jul 31, 2020
To clarify; is the intent here to encapsulate the existing ConfigMaps (or just Features, since that's what's currently used) into a new store object that is exclusive to Labeler and Configuration?
If I understand correctly, rewriting the ConfigMaps themselves is out of scope for this particular issue.
To clarify; is the intent here to encapsulate the existing ConfigMaps (or just Features, since that's what's currently used) into a new store object that is exclusive to Labeler and Configuration?
If I understand correctly, rewriting the ConfigMaps themselves is out of scope for this particular issue.
Correct. The configmaps have a struct that each reconciler creates and populates. I kind of lazily recycled an existing store for: #8850 but that's not usually the pattern.
@whaught just making sure before I submit my pull request so both configuration and labeler will have their own store which include only config-defaults and config-features anything I'm missing? that of course will replace the cfgmap "knative.dev/serving/pkg/apis/config" in both controllers
That's correct! It should allow each reconciler to change independently over time (instead of sharing the api config) and matches what's been done with other controllers.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Activity
[-]Create separate store for Configuration reconciler and Labeler[/-][+]Create separate configmap store for Configuration reconciler and Labeler[/+]arturenault commentedon Aug 11, 2020
To clarify; is the intent here to encapsulate the existing ConfigMaps (or just Features, since that's what's currently used) into a new store object that is exclusive to Labeler and Configuration?
If I understand correctly, rewriting the ConfigMaps themselves is out of scope for this particular issue.
SwEngin commentedon Aug 19, 2020
I would like to give this a go.
whaught commentedon Aug 19, 2020
Correct. The configmaps have a struct that each reconciler creates and populates. I kind of lazily recycled an existing store for: #8850 but that's not usually the pattern.
Eg. Configuration references "knative.dev/serving/pkg/apis/config" as its config store.
However reconcilers like Route have their own: https://github.com/knative/serving/blob/master/pkg/reconciler/route/config/store.go
That means Configuration probably gets more configmap than it really needs (eg some autoscaler config)
SwEngin commentedon Aug 24, 2020
@whaught just making sure before I submit my pull request so both configuration and labeler will have their own store which include only config-defaults and config-features anything I'm missing? that of course will replace the cfgmap "knative.dev/serving/pkg/apis/config" in both controllers
whaught commentedon Aug 24, 2020
That's correct! It should allow each reconciler to change independently over time (instead of sharing the api config) and matches what's been done with other controllers.
whaught commentedon Sep 8, 2020
/close
knative-prow-robot commentedon Sep 8, 2020
@whaught: Closing this issue.
Details
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.