-
Notifications
You must be signed in to change notification settings - Fork 267
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
Scaffolding aibrix project using kubebuilder #17
Conversation
“kubebuilder init --domain "aibrix.ai" --project-name aibrix”
`kubebuilder create api --group autoscaling --version v1alpha1 --kind PodAutoscaler`
Client: mgr.GetClient(), | ||
Scheme: mgr.GetScheme(), | ||
}).SetupWithManager(mgr); err != nil { | ||
setupLog.Error(err, "unable to create controller", "controller", "PodAutoscaler") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unable to create PodAutoscaler controller.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch. I have a follow up PR on the structure adjustment. I will update the name there.
// LeaderElectionReleaseOnCancel: true, | ||
}) | ||
if err != nil { | ||
setupLog.Error(err, "unable to start manager") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unable to create manager
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit comments
* Remove placeholder folders to avoid failures in skeleton generation * Init aibrix go module * Scaffolding aibrix project using kubebuilder “kubebuilder init --domain "aibrix.ai" --project-name aibrix” * Enable Multi-Group API feature * Add PodAutoscaler api and controllers `kubebuilder create api --group autoscaling --version v1alpha1 --kind PodAutoscaler` * Generate podautoscaler manifests
Address #16
This PR mainly focus on the skeleton generation
Versions