There seems to be (at least between serving / eventing) some differences in how things are started up and configured at the controller level. For example, eventing uses controller runtime to stand up the controllers, whereas serving brings these up manually.
https://github.com/knative/eventing/blob/master/cmd/controller/main.go
https://github.com/knative/serving/blob/master/cmd/controller/main.go
https://github.com/knative/eventing/tree/master/pkg/controller/eventing/subscription
https://github.com/knative/serving/tree/master/pkg/reconciler/v1alpha1/revision
I think this divergence has several downsides and makes the cognitive load moving between repos difficult.
We should ensure that the repos are consistent.
@mattmoor
@grantr
@n3wscott
I'd like to target this asap because the longer this continues, the harder it will be to reconcile these differences and I don't see a good reason for the divergence. If there is, we should jot things down and really make a conscious decision on why this is better.
There seems to be (at least between serving / eventing) some differences in how things are started up and configured at the controller level. For example, eventing uses controller runtime to stand up the controllers, whereas serving brings these up manually.
https://github.com/knative/eventing/blob/master/cmd/controller/main.go
https://github.com/knative/serving/blob/master/cmd/controller/main.go
https://github.com/knative/eventing/tree/master/pkg/controller/eventing/subscription
https://github.com/knative/serving/tree/master/pkg/reconciler/v1alpha1/revision
I think this divergence has several downsides and makes the cognitive load moving between repos difficult.
We should ensure that the repos are consistent.
@mattmoor
@grantr
@n3wscott
I'd like to target this asap because the longer this continues, the harder it will be to reconcile these differences and I don't see a good reason for the divergence. If there is, we should jot things down and really make a conscious decision on why this is better.