Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
configmap-kpl
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b8167d96
authored
Apr 19, 2021
by
ningfd
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'release-6.1'
Master See merge request
!8
2 parents
0a7643c6
5715a4a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
kpl/cfg-kpl-backend.yaml.j2
kpl/cfg-kpl-frontend.yaml.j2
kpl/cfg-kpl-backend.yaml.j2
View file @
b8167d9
...
...
@@ -78,11 +78,16 @@ data:
iot: {{ iot_boolean }} # 默认false, 不开启边缘设备功能
open_grafana: {{ grafana_boolean }} # 默认false, 不开启grafana功能
disable_i18n: {{ disable_i18n_boolean }} # 默认false,开启国际化功能
notebook_grafana_url: {{ notebook_grafana_url_string }}# 容器grafana跳转url http://10.69.75.115:8883/d/W-Y9JdKGk/pod_metric_dashboard?orgId=1&var-pod_prefix=%s&var-pod=%s
notebook_grafana_url: {{ notebook_grafana_url_string }}
# 容器grafana跳转url http://10.69.75.115:8883/d/W-Y9JdKGk/pod_metric_dashboard?orgId=1&var-pod_prefix=%s&var-pod=%s
node_grafana_url: {{ node_grafana_url_string }} # node节点grafana跳转url http://10.69.75.115:8883/d/9CWBz0bik/node-exporter-kpl?orgId=1&var-job=node-exporter&var-hostname=All&var-node=%s
use_fake_metric: {{ use_fake_metric_string }} # CPU,GPU,MEM 代表随机生成 cpu, gpu, mem的使用率, 可以只开启需要的类型, 以逗号分割
temp_oidc_create: {{ temp_oidc_create_boolean }} # 默认false,如果需要开启则为true
auto_stop_tasks_when_user_assets_is_empty: auto_stop_tasks_when_user_assets_is_empty_boolean # 当用户算力为0时, 自动停止所有该用户的任务, 默认false,如果需要开启则为true
open_cluster_monitor: true # 是否开启集群监控功能
open_gpu_share: true # 是否开启gpu share功能
system_header: # 是否关闭某个子系统功能
- "train" # 训练平台
- "inference" # 推理平台
temp_oidc_create:
create_from: {{ create_from_string }} #对应的OIDC登录名称 kplsso
...
...
kpl/cfg-kpl-frontend.yaml.j2
View file @
b8167d9
...
...
@@ -15,7 +15,7 @@ data:
const inferenceHost = {
'baseUrl': `${host}/api/v1/ip`,
'adminUrl': `${host}/api/v1/admin/ip`,
'baseWebSocket':
"${host.replace('http', 'ws')}/api/v1/ip"
,
'baseWebSocket':
`${host.replace('http', 'ws')}/api/v1/ip`
,
}
const kplStream = 'kpl_stream'
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment