Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Miykael_xxm
kubeflow.gitcode.host
提交
965601f9
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,发现更多精彩内容 >>
提交
965601f9
编写于
11月 16, 2018
作者:
O
oshima
提交者:
k8s-ci-robot
11月 15, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update katib doc use katib-ui (#295)
Signed-off-by:
N
YujiOshima
<
yuji.oshima0x3fd@gmail.com
>
上级
69bd72ee
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
21 deletion
+8
-21
content/docs/guides/components/hyperparameter.md
content/docs/guides/components/hyperparameter.md
+8
-21
未找到文件。
content/docs/guides/components/hyperparameter.md
浏览文件 @
965601f9
...
...
@@ -9,30 +9,17 @@ toc = true
weight = 5
+++
## Deploying Katib
[
Katib
](
https://github.com/kubeflow/katib
)
is a hyperparameter tuning framework, inspired by
[
Google Vizier
](
https://static.googleusercontent.com/media/research.google.com/ja//pubs/archive/bcb15507f4b52991a0783013df4222240e942381.pdf
)
.
To deploy katib,
```
shell
ks pkg
install
kubeflow/katib@master
ks generate katib katib
ks apply
${
ENV
}
-c
katib
```
## Using Katib
Create namespace
`katib`
as the service launches jobs in this namespace.
Currently we are using port-forwarding to access the katib services.
kubernetes version 1.9~
```
kubectl
create namespace katib
kubectl
-n kubeflow port-forward svc/katib-ui 8000:80
```
Currently we are using port-forwarding to access the katib services.
~1.8
```
kubectl get pod -n kubeflow # Find your vizier-core and modedb-frontend pods
kubectl port-forward -n kubeflow [vizier-core pod] 6789:6789 &
kubectl port-forward -n kubeflow [modeldb-frontend pod] 3000:3000 &
kubectl get pod -n kubeflow # Find your katib-ui pods
kubectl port-forward -n kubeflow [katib-ui pod] 8000:80 &
```
## Creating a Study Job
You can create Study Job for Katib by defining a StudyJob config file.
...
...
@@ -63,7 +50,7 @@ Check the study status.
```
$ kubectl -n katib describe studyjobs random-example
Name: random-example
Namespace: k
atib
Namespace: k
ubeflow
Labels: controller-tools.k8s.io=1.0
Annotations: kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"kubeflow.org/v1alpha1","kind":"StudyJob","metadata":{"annotations":{},"labels":{"controller-tools.k8s.io":"1.0"},"name":"random-example"...
API Version: kubeflow.org/v1alpha1
...
...
@@ -140,4 +127,4 @@ Events: <none>
It should start a study and run two jobs with different parameters.
Go to http://localhost:
3
000/katib to see the result.
Go to http://localhost:
8
000/katib to see the result.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录