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 b47bbb90
authored
Dec 07, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use_fake_metric_string写入暂时关闭
1 parent
1bc451e2
Hide 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 @
b47bbb9
...
@@ -22,6 +22,7 @@ grafana_boolean=false
...
@@ -22,6 +22,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
#use_fake_metric_string=CPU,GPU
###############其他依赖服务变量信息#########################################
###############其他依赖服务变量信息#########################################
mysql_host
=
192.168.1.32:3306
mysql_host
=
192.168.1.32:3306
mysql_user
=
root
mysql_user
=
root
...
@@ -68,6 +69,7 @@ sudo sed -i s#mqtt_host#$mqtt_host#g `find $config_workspace -type f -name "*.ya
...
@@ -68,6 +69,7 @@ sudo sed -i s#mqtt_host#$mqtt_host#g `find $config_workspace -type f -name "*.ya
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"`
#sudo sed -i s#use_fake_metric_string#$use_fake_metric_string#g `find $config_workspace -type f -name "*.yaml"`
###################################################################################################
###################################################################################################
sudo sed -i s#kpl_service_id#
$kpl_service_id
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_service_id#
$kpl_service_id
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_realy_path#
$kpl_realy_path
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_realy_path#
$kpl_realy_path
#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