Skip to content

Commit

Permalink
Add instructions for mount volume in mac (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuan0322 committed Jul 1, 2021
1 parent 809842a commit 7bb5a8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ For macOS, the session needs to establish with the LoadBalancer service type (wh
sess = graphscope.session(k8s_volumes=k8s_volumes, k8s_service_type="LoadBalancer")
Also note that the value `data.field.path` is the hostpath in your Kubernetes hosts. With Docker-Desktop on Mac, you need to first add the path into the shared directories of the docker, which is normally the `/Users`.
For more detailed instructions, please refer to `how to mount hostpath using docker for mac kubernetes <https://forums.docker.com/t/how-to-mount-hostpath-using-docker-for-mac-kubernetes/44083/5>`_.


A :ref:`Session` tries to launch a coordinator,
which is the entry for the back-end engines.
The coordinator manages a cluster of resources (k8s pods),
Expand Down
2 changes: 2 additions & 0 deletions docs/zh/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
sess = graphscope.session(k8s_volumes=k8s_volumes, k8s_service_type="LoadBalancer")
另外,注意 `data.field.path` 是 Kubernetes 主机上的路径,当在 Mac 上使用 Docker-Desktop 时,需要首先将此路径加入到 Docker
的共享目录中,通常为 `/Users`。更详细的指引请参看 `how to mount hostpath using docker for mac kubernetes <https://forums.docker.com/t/how-to-mount-hostpath-using-docker-for-mac-kubernetes/44083/5>`_.

会话(:ref:`Session`)的建立过程中,首选会在背后尝试拉起一个 `coordinator` 作为后端引擎的入口。
该 `coordinator` 负责管理该次会话的所有资源(k8s pods),以及交互式查询、图分析、图学习引擎的生命周期。
Expand Down

0 comments on commit 7bb5a8d

Please sign in to comment.