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

【ISSUE #133】RocketMQ-Operator support the rocketmq-5.0 proxy node for cluster pattern #134

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

shendongsd
Copy link

@shendongsd shendongsd commented Oct 18, 2022

What is the purpose of the change

ISSUE #133RocketMQ-Operator support the rocketmq-5.0 proxy node for cluster pattern
And I will add local pattern later

Copy link
Contributor

@caigy caigy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that ClusterRole for proxy is missing.

deploy/crds/rocketmq.apache.org_proxys.yaml Show resolved Hide resolved
pkg/controller/proxy/proxy_controller.go Outdated Show resolved Hide resolved
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
ProxyStatefulSet v1.StatefulSet `json:"proxyStatefulSet"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Proxy is stateless, so is deployment more appropriate than statefulset?

Furthermore, it would be more elegant that users should only provide configs which they care about, instead of providing the whole statefulset or deployment.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@caigy caigy added the enhancement New feature or request label Oct 18, 2022
@AllenZMC
Copy link

AllenZMC commented May 11, 2024

How is it going? Can you merge it? @shendongsd

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

Successfully merging this pull request may close these issues.

3 participants