Skip to content

[Feature] It is recommended not to start multiple fe or multiple be with one statefulset #352

@chenhuazhong

Description

@chenhuazhong

Search before asking

  • I had searched in the issues and found no similar issues.

Description

Problem description:
It is relatively simple to start a pod with statefulset, but it is also very inflexible. Statefulset always starts rolling updates from the last pod, and one of the pods cannot be stopped separately. When one of the fe or be has a problem, it cannot be stopped separately.

Expected results:
It is recommended to change to one deployment to maintain one fe or be. If there are three fes, start three single-copy deployments. If there are 6 bes, start 6 single-copy deployments. This is more flexible and can control each fe or be separately, which is very suitable for some scenarios that require manual processing. Of course, it is also possible to change to a single-copy statefulset for fqdn. In combination with webhook control, the number of statefulset copies cannot be modified.
The rook-ceph operator also uses this method to maintain the ceph cluster.

Use case

No response

Related issues

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Labels

Featurethe feature will prompt the available or effect to operator.discussionThis proposal is pending discussion

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions