Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
k8s
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 042ae7f5
authored
Dec 15, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加mqtt_client_host用于暴露外部
1 parent
d6072466
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
script/seetaas/2-replace-file.sh
script/seetaas/2-replace-file.sh
View file @
042ae7f
...
@@ -14,6 +14,7 @@ grafana_boolean=false
...
@@ -14,6 +14,7 @@ grafana_boolean=false
notebook_grafana_url_string
=
notebook_grafana_url_string
=
node_grafana_url_string
=
node_grafana_url_string
=
mqtt_host
=
#192.168.1.32:1883
mqtt_host
=
#192.168.1.32:1883
mqtt_client_host
=
#use_fake_metric_string=CPU,GPU
#use_fake_metric_string=CPU,GPU
###############其他依赖服务变量信息#########################################
###############其他依赖服务变量信息#########################################
mysql_host
=
192.168.1.32:3306
mysql_host
=
192.168.1.32:3306
...
@@ -50,6 +51,7 @@ sudo sed -i s#kpl_stream#$kpl_stream#g `find $config_workspace -type f -name "*.
...
@@ -50,6 +51,7 @@ sudo sed -i s#kpl_stream#$kpl_stream#g `find $config_workspace -type f -name "*.
########################功能开关#######################################
########################功能开关#######################################
sudo sed -i s#iot_boolean#
$iot_boolean
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#iot_boolean#
$iot_boolean
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#mqtt_host#
$mqtt_host
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#mqtt_host#
$mqtt_host
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#mqtt_client_host#
$mqtt_client_host
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#grafana_boolean#
$grafana_boolean
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#grafana_boolean#
$grafana_boolean
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#notebook_grafana_url_string#
$notebook_grafana_url_string
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#notebook_grafana_url_string#
$notebook_grafana_url_string
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#node_grafana_url_string#
$node_grafana_url_string
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#node_grafana_url_string#
$node_grafana_url_string
#g `find $config_workspace -type f -name "*.yaml"`
...
...
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