Skip to content

Commit

Permalink
Fix passing zookeeper memory to etcd (#111)
Browse files Browse the repository at this point in the history
* Fix passing zookeeper memory to etcd
  • Loading branch information
lidongze0629 authored Jan 26, 2021
1 parent 6865c1b commit b421e88
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion k8s/gsvineyard.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN cd /tmp && \
make -j`nproc` && \
make install && \
cd /tmp && \
git clone https://github.com/alibaba/libvineyard.git && \
git clone -b v0.1.7 https://github.com/alibaba/libvineyard.git && \
cd libvineyard && \
git submodule update --init && \
mkdir -p /tmp/libvineyard/build && \
Expand Down
2 changes: 1 addition & 1 deletion python/graphscope/client/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def __init__(
Minimum number of CPU cores request for zookeeper container. Defaults to 0.5.
k8s_zookeeper_mem (str, optional):
Minimum number of memory request for zookeeper container. Defaults to '128Mi'.
Minimum number of memory request for zookeeper container. Defaults to '256Mi'.
k8s_gie_graph_manager_cpu (float, optional):
Minimum number of CPU cores request for graphmanager container. Defaults to 1.0.
Expand Down
2 changes: 1 addition & 1 deletion python/graphscope/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class GSConfig(object):

# zookeeper resource configuration
k8s_zookeeper_cpu = 0.5
k8s_zookeeper_mem = "128Mi"
k8s_zookeeper_mem = "256Mi"

# GIE graph manager resource configuration
k8s_gie_graph_manager_cpu = 1.0
Expand Down
2 changes: 1 addition & 1 deletion python/graphscope/deploy/kubernetes/resource_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ def build_container_command(self):
self._etcd_mem,
"--k8s_zookeeper_cpu",
str(self._zookeeper_cpu),
"--k8s_etcd_mem",
"--k8s_zookeeper_mem",
self._zookeeper_mem,
"--k8s_gie_graph_manager_cpu",
str(self._gie_graph_manager_cpu),
Expand Down

0 comments on commit b421e88

Please sign in to comment.