Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Miykael_xxm
kubeflow.gitcode.host
提交
c8838b3b
K
kubeflow.gitcode.host
项目概览
Miykael_xxm
/
kubeflow.gitcode.host
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kubeflow.gitcode.host
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c8838b3b
编写于
6月 06, 2019
作者:
S
Sarah Maddox
提交者:
Kubernetes Prow Robot
6月 05, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fixed assumption that KFAPP variable includes path (#774)
上级
01fa0478
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
13 addition
and
7 deletion
+13
-7
content/docs/gke/cloud-filestore.md
content/docs/gke/cloud-filestore.md
+13
-7
未找到文件。
content/docs/gke/cloud-filestore.md
浏览文件 @
c8838b3b
...
@@ -17,6 +17,12 @@ Cloud Filestore is very useful for creating a shared filesystem that can be moun
...
@@ -17,6 +17,12 @@ Cloud Filestore is very useful for creating a shared filesystem that can be moun
This guide assumes you have already set up Kubeflow on GCP. If you haven't done
This guide assumes you have already set up Kubeflow on GCP. If you haven't done
so, follow the guide to
[
deploying Kubeflow on GCP
](
/docs/gke/deploy/
)
.
so, follow the guide to
[
deploying Kubeflow on GCP
](
/docs/gke/deploy/
)
.
The instructions below assume that the
`${KFAPP}`
environment variable contains
the
*name*
(not the full path) of the directory containing your Kubeflow
configurations. See the
[
Kubeflow deployment guide
](
/docs/gke/deploy/deploy-cli/
)
for details of this
directory.
## Create a Cloud Filestore instance
## Create a Cloud Filestore instance
Follow these instructions to create a Cloud Filestore instance; if you already have a Cloud Filestore instance you want to
Follow these instructions to create a Cloud Filestore instance; if you already have a Cloud Filestore instance you want to
...
@@ -25,7 +31,7 @@ use you can skip this section.
...
@@ -25,7 +31,7 @@ use you can skip this section.
Copy the Cloud Filestore deployment manager configs to the
`gcp_config`
directory:
Copy the Cloud Filestore deployment manager configs to the
`gcp_config`
directory:
```
```
cd ${KFAPP}
cd
/<path-to-kubeflow-deployment>/
${KFAPP}
cp .cache/${VERSION}/deployment/gke/deployment_manager_configs/gcfs.yaml \
cp .cache/${VERSION}/deployment/gke/deployment_manager_configs/gcfs.yaml \
./gcp_config/
./gcp_config/
```
```
...
@@ -43,10 +49,10 @@ Edit `gcfs.yaml` to match your desired configuration:
...
@@ -43,10 +49,10 @@ Edit `gcfs.yaml` to match your desired configuration:
Using
[
yq
](
https://github.com/kislyuk/yq
)
:
Using
[
yq
](
https://github.com/kislyuk/yq
)
:
```
```
cd ${KFAPP}
cd
/<path-to-kubeflow-deployment>/
${KFAPP}
. env.sh
. env.sh
yq -r ".resources[0].properties.instanceId=\"${DEPLOYMENT_NAME}\""
${KFAPP}/gcp_config/gcfs.yaml > ${KFAPP}/
gcp_config/gcfs.yaml.new
yq -r ".resources[0].properties.instanceId=\"${DEPLOYMENT_NAME}\""
gcp_config/gcfs.yaml >
gcp_config/gcfs.yaml.new
mv
${KFAPP}/gcp_config/gcfs.yaml.new ${KFAPP}/
gcp_config/gcfs.yaml
mv
gcp_config/gcfs.yaml.new
gcp_config/gcfs.yaml
```
```
Apply the changes:
Apply the changes:
...
@@ -57,7 +63,7 @@ Apply the changes:
...
@@ -57,7 +63,7 @@ Apply the changes:
-->
-->
```
```
cd ${KFAPP}/gcp_config
cd
/<path-to-kubeflow-deployment>/
${KFAPP}/gcp_config
gcloud --project=${PROJECT} deployment-manager deployments create ${KFAPP-NAME}-nfs --config=gcfs.yaml
gcloud --project=${PROJECT} deployment-manager deployments create ${KFAPP-NAME}-nfs --config=gcfs.yaml
```
```
...
@@ -85,7 +91,7 @@ mykubeflow-nfs us-east1-d STANDARD 1024 kubeflow 10.20.148.19
...
@@ -85,7 +91,7 @@ mykubeflow-nfs us-east1-d STANDARD 1024 kubeflow 10.20.148.19
Now create the PVC
Now create the PVC
```
```
cd ${KFAPP}/ks_app
cd
/<path-to-kubeflow-deployment>/
${KFAPP}/ks_app
ks generate google-cloud-filestore-pv google-cloud-filestore-pv --name="kubeflow-gcfs" \
ks generate google-cloud-filestore-pv google-cloud-filestore-pv --name="kubeflow-gcfs" \
--storageCapacity="${GCFS_STORAGE}" \
--storageCapacity="${GCFS_STORAGE}" \
--serverIP="${GCFS_INSTANCE_IP_ADDRESS}"
--serverIP="${GCFS_INSTANCE_IP_ADDRESS}"
...
@@ -101,7 +107,7 @@ ks generate google-cloud-filestore-pv google-cloud-filestore-pv --name="kubeflow
...
@@ -101,7 +107,7 @@ ks generate google-cloud-filestore-pv google-cloud-filestore-pv --name="kubeflow
Apply the changes:
Apply the changes:
```
```
cd ${KFAPP}
cd
/<path-to-kubeflow-deployment>/
${KFAPP}
kfctl apply k8s
kfctl apply k8s
```
```
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录