-
Notifications
You must be signed in to change notification settings - Fork 448
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
Distributed ETCD with 3 pods. #197
Conversation
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.
LGTM
coordinator/gscoordinator/cluster.py
Outdated
service_name=self._etcd_service_name, | ||
image=self._etcd_image, | ||
cpu=self._etcd_cpu, | ||
mem=self._etcd_mem, | ||
preemptive=self._preemptive, | ||
labels=labels, | ||
image_pull_policy=self._image_pull_policy, | ||
num_pods=3, |
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.
Maybe num_pods
of etcd can be extracted to a configurable flag?
I thought it's better, but it's up to you.
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.
Expose etcd pod's number as a param named k8s_etcd_num_pods
to client
Codecov Report
@@ Coverage Diff @@
## main #197 +/- ##
==========================================
- Coverage 78.91% 78.11% -0.81%
==========================================
Files 52 52
Lines 4767 4976 +209
==========================================
+ Hits 3762 3887 +125
- Misses 1005 1089 +84
Continue to review full report at Codecov.
|
What do these changes do?
Deploy 3 pods of ETCD in graphscope cluster to leverage its failure tolerance abilities.
Related issue number
Fixes #185