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 b806d48b
authored
Aug 04, 2021
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cfg-gpuhub-server.yaml.j2 模板要加 "" 防止渲染后 特殊字符 不被识别
1 parent
8be138b3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
gpuhub/cfg-gpuhub-server.yaml.j2
gpuhub/cfg-gpuhub-server.yaml.j2
View file @
b806d48
...
...
@@ -15,28 +15,28 @@ data:
storage_root_path: /mnt
mysql:
host:
{{ mysql_host }}
user:
{{ mysql_user }}
password:
{{ mysql_password }}
host:
"{{ mysql_host }}"
user:
"{{ mysql_user }}"
password:
"{{ mysql_password }}"
db_name: "gpuhub"
redis:
host:
{{ redis_host }}
password:
{{ redis_password }}
host:
"{{ redis_host }}"
password:
"{{ redis_password }}"
rabbit_mq:
host:
{{ rabbitmq_host }}
user:
{{ rabbitmq_user }}
password:
{{ rabbitmq_password }}
host:
"{{ rabbitmq_host }}"
user:
"{{ rabbitmq_user }}"
password:
"{{ rabbitmq_password }}"
influxdb:
host:
{{ influxdb_host }}
token:
{{ influxdb_token }}
host:
"{{ influxdb_host }}"
token:
"{{ influxdb_token }}"
frps:
# expose_url 指的是frps的访问地址, 用于agent访问, 如果agent都运行在k8s中, 可以使用svc命名url
# 如果agent可能运行在公网环境下, 那么需要使用frps在公网环境下的url
expose_url:
{{ frp_host }}
#192.168.1.126:7000
expose_url:
"{{ frp_host }}"
#192.168.1.126:7000
# 定义frps的端口范围, 注意, 这项修改只会对之后运行的实例产生影响, 已经建立连接的不会重新申请
# "35000-45000" 指 35000 到 45000共计10001个端口
allow_ports: "35000-45000"
...
...
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