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 240e9653
authored
Dec 23, 2020
by
ningfd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加多存储模块选择模式配置
1 parent
8a322556
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
kpl/cfg-kpl-backend.yaml
kpl/cfg-kpl-backend.yaml
View file @
240e965
...
@@ -86,6 +86,13 @@ data:
...
@@ -86,6 +86,13 @@ data:
admin_user: admin_user_string #管理员用户名 admin
admin_user: admin_user_string #管理员用户名 admin
admin_password: admin_password_string #管理员密码 Kpl123456
admin_password: admin_password_string #管理员密码 Kpl123456
multi_storage_block_mode:
mode_type: mode_type_string # 存储款分布模式, 默认Random, Random (完全随机分配到所有存储块中), AutoDetectByBlockCapacity(根据存储块可用容量按比例分配), RandomOnSpecificBlock (手动分配)
# 根据给定pvc_name的随机分配, 格式为 pvc_name, pvc_name 逗号为分隔符
# 没有出现的pvc_name会被忽略, 如果没有指定任何pvc_name, 系统会初始化错误, 服务无法正确运行
# kpl-pvc3 代表所有新建存储都位于kpl-pvc3上
specific_block: kpl-pvc3
kind
:
ConfigMap
kind
:
ConfigMap
metadata
:
metadata
:
name
:
cfg-kpl-backend
name
:
cfg-kpl-backend
...
...
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