Commit 8fb3247d by tingweiwang

Merge branch 'develop'

2 parents bcac2dd5 70291f7e
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
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"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!