-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Evaluate kubebuilder for controllers #19
Comments
Add to the main README - however note that since we only have PR based tests right now, if a PR fails, our badges will go red which isn't really fair to us or the submitter - but we can improve this in #52. Added a go report card link too - looks like our linting could use some improvement but we should see how #19 goes (maybe switching out kubebuilder) before we start following up on all of these. Also adding some details about code reviews after taking with @tejal29 and @aaron-prindle, specifically leaving the reviews up for a bit longer than we have been to try to give more folks a chance to comment. Also added a link to some useful Go coding standards.
Add to the main README - however note that since we only have PR based tests right now, if a PR fails, our badges will go red which isn't really fair to us or the submitter - but we can improve this in #52. Added a go report card link too - looks like our linting could use some improvement but we should see how #19 goes (maybe switching out kubebuilder) before we start following up on all of these. Also adding some details about code reviews after taking with @tejal29 and @aaron-prindle, specifically leaving the reviews up for a bit longer than we have been to try to give more folks a chance to comment. Also added a link to some useful Go coding standards.
Add to the main README - however note that since we only have PR based tests right now, if a PR fails, our badges will go red which isn't really fair to us or the submitter - but we can improve this in #52. Added a go report card link too - looks like our linting could use some improvement but we should see how #19 goes (maybe switching out kubebuilder) before we start following up on all of these. Also adding some details about code reviews after taking with @tejal29 and @aaron-prindle, specifically leaving the reviews up for a bit longer than we have been to try to give more folks a chance to comment. Also added a link to some useful Go coding standards. Fixed a couple typos too.
Add to the main README - however note that since we only have PR based tests right now, if a PR fails, our badges will go red which isn't really fair to us or the submitter - but we can improve this in #52. Added a go report card link too - looks like our linting could use some improvement but we should see how #19 goes (maybe switching out kubebuilder) before we start following up on all of these. Also adding some details about code reviews after taking with @tejal29 and @aaron-prindle, specifically leaving the reviews up for a bit longer than we have been to try to give more folks a chance to comment. Also added a link to some useful Go coding standards. Fixed a couple typos too.
Add to the main README - however note that since we only have PR based tests right now, if a PR fails, our badges will go red which isn't really fair to us or the submitter - but we can improve this in #52. Added a go report card link too - looks like our linting could use some improvement but we should see how #19 goes (maybe switching out kubebuilder) before we start following up on all of these. Also adding some details about code reviews after taking with @tejal29 and @aaron-prindle, specifically leaving the reviews up for a bit longer than we have been to try to give more folks a chance to comment. Also added a link to some useful Go coding standards. Fixed a couple typos too.
We have decided not to use kubebuilder for now (removing it in #57). Here is a summary of our findings (also authored by @aaron-prindle). KubebuilderPros
Cons
Imitating knative controllers and using knative/pkgProsUses common/documented k8s pattern of client library for types (i.e. libs generated by update-codegen which are compatible with libs like client-go) Consknative/pkg has no documentation so it’s pretty hard to say what’s in there @_@ though there are generated go docs. |
After a huge delay, following here with some info that came up in #build re. a question from @dprotaso:
Question:
Answer: It means to be able to use the Which provide functions for like basic CRUD operations such as List: Also functionality like parsing your local kubeconfig to for configuration etc. But kubebuilder does plan to support |
More approvers review
Expected Behavior
Though our controllers (e.g. pipeline run controller) don't do much, we should be happy with how they are built and prepared to move forward with the skeletons we do have as we start actually implementing functionality.
Actual Behavior
We used kubebuilder to bootstrap our controllers which allowed us to get up and moving pretty quickly. However the controllers it generates depend on a lot of code in
controller-tools
andcontroller-runtime
.We should compare a controller creating using these libs to one implemented from scratch (e.g. the knative/serving controllers) and make sure we want to keep using kubebuilder in the long run.
Additional Info
n/a
The text was updated successfully, but these errors were encountered: