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

[Discussion] Potential name conflict controller-manager #34

Closed
gaocegege opened this issue Aug 20, 2018 · 3 comments
Closed

[Discussion] Potential name conflict controller-manager #34

gaocegege opened this issue Aug 20, 2018 · 3 comments

Comments

@gaocegege
Copy link

gaocegege commented Aug 20, 2018

Hi,

I am a TiDB contributor and interested in the development of TiDB operator. When I looked through the code, I found that the package name in cmd/ is controller-manager, while controller-manager has special meaning in Kubernetes community, IMO. cloud-controller-manager and controller-manager in K8s manages multiple controllers, and our CLI only creates one controller for tidbcluster CRD. Then I think it is better to name it to tidb-operator or tidb.

@gaocegege
Copy link
Author

@tennix
Copy link
Member

tennix commented Aug 20, 2018

Hi, @gaocegege Thanks for your suggestion. Actually, an operator is just a controller or multiple controllers of Kubernetes. Currently, TiDB Operator has only one controller, but we plan to add more controllers and to avoid the complexity of deployment of TiDB Operator, we will make other controllers all into one binary, just like Kubernetes controller-manager. And we may also add a scheduler component to TiDB Operator in the future.
All of these just work as Kubernetes components themselves, the only difference is that these components are not builtin to Kubernetes. So we prefer to name it like Kubernetes itself. Making users aware of what these components exactly are, no magic.

@gaocegege
Copy link
Author

SGTM

At the current stage, it confuses me but your opinion makes sense.

yahonda pushed a commit that referenced this issue Dec 27, 2021
* en: add notes about v1.1

* minor change

* minor change

* Apply suggestions from Daniel

Co-Authored-By: DanielZhangQD <36026334+DanielZhangQD@users.noreply.github.com>

* add update in #61

* Apply suggestions from code review

Co-Authored-By: TomShawn <41534398+TomShawn@users.noreply.github.com>

* Update notes-tidb-operator-v1.1.md

* en: update description

Co-authored-by: DanielZhangQD <36026334+DanielZhangQD@users.noreply.github.com>
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
Co-authored-by: Lilian Lee <lilin@pingcap.com>
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