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 8fb3247d
authored
Sep 07, 2021
by
tingweiwang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop'
2 parents
bcac2dd5
70291f7e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
0 deletions
gpuhub/cfg-frps.yaml.j2
gpuhub/cfg-gpuhub-server.yaml.j2
gpuhub/cfg-frps.yaml.j2
0 → 100644
View file @
8fb3247
apiVersion: v1
kind: ConfigMap
metadata:
name: cfg-poye-frps
namespace: kpl
data:
frps.ini: |
[common]
bind_addr = 0.0.0.0
bind_port = 7000
log_level = info
authentication_method = token
token = seetatech666
allow_ports = 34000-45000
max_ports_per_client = 5
gpuhub/cfg-gpuhub-server.yaml.j2
0 → 100644
View file @
8fb3247
apiVersion: v1
kind: ConfigMap
metadata:
name: cfg-poye-gs
namespace: kpl
data:
gs.yaml: |
app:
debug_log: false
# debug_api 用作进行debug的接口组, 生产环境严禁开启, 会有发生越权操作的可能
debug_api: false
# docs_api 开启swagger api 接口列表
docs_api: false
# 共享存储在服务容器内的rootfs path
storage_root_path: /mnt
mysql:
host: "{{ mysql_host }}"
user: "{{ mysql_user }}"
password: "{{ mysql_password }}"
db_name: "gpuhub_v21"
redis:
host: "{{ redis_host }}"
password: "{{ redis_password }}"
rabbit_mq:
host: "{{ rabbitmq_host }}"
user: "{{ rabbitmq_user }}"
password: "{{ rabbitmq_password }}"
influxdb:
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
# 定义frps的端口范围, 注意, 这项修改只会对之后运行的实例产生影响, 已经建立连接的不会重新申请
# "35000-45000" 指 35000 到 45000共计10001个端口
allow_ports: "35000-45000"
token: "seetatech666"
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