Skip to content
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

Controllers on Core reosources #1706

Closed
shinchan299 opened this issue Oct 3, 2020 · 3 comments
Closed

Controllers on Core reosources #1706

shinchan299 opened this issue Oct 3, 2020 · 3 comments
Assignees

Comments

@shinchan299
Copy link

Hello, Kubebuilder Contributors
i meet a question while use kubebuilder , Is it possible to create a controller on core resources ?
I followed the v2 version of the guide, but did not find relevant information.

i NOTECED that this issue is mentioned in Controllers for Core Resources

but there are no more details.

So, I wonder how to create to controller on core resources such as Pod or Storageclass. Thank you

@camilamacedo86
Copy link
Member

Hi @Jiajing-Hu,

With the master version of the Kubebuilder tool and the v3+ plugin is possible to do it after the PR #1679.

Could you please test it with kubebuilder init --plugins=go.kubebuilder.io/v3-alpha?
Also, after that WDYT about contribute with a doc explaining it? We could add a new link in https://book.kubebuilder.io/reference/reference.html.

@camilamacedo86
Copy link
Member

I am closing this one since shows solved. Hoover fell free to ping if you need to.

@camilamacedo86 camilamacedo86 self-assigned this Oct 5, 2020
@shinchan299
Copy link
Author

I am closing this one since shows solved. Hoover fell free to ping if you need to.

sorry for late response.

kubebuilder init --plugins=go.kubebuilder.io/v3-alpha

do not work

but, I found it work with
kubebuilder create api --group "core" --kind "Pod" --version "v1" .

anyway, thanks for your help .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants