-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from geduo-hub/dev-1.10.x
Platform added component documentation modifications:
- Loading branch information
Showing
36 changed files
with
147 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# 添加autonomy_node节点 | ||
|
||
可以通过<添加autonomy_node节点>来实现一个机构多节点的功能。 | ||
|
||
## step1:新增计算节点 | ||
|
||
点击<新增计算节点> | ||
|
||
![Autonomy_node1](../imgs/autonomy_node1.png) | ||
|
||
输入节点名称 | ||
|
||
![Autonomy_node2](../imgs/autonomy_node2.png) | ||
|
||
可以看到如下节点,点击alice-isv-01节点,可以看到节点相关信息,此时节点状态为不可用。 | ||
|
||
![Autonomy_node3](../imgs/autonomy_node3.png) | ||
![Autonomy_node4](../imgs/autonomy_node4.png) | ||
|
||
## step2:在宿主机上进行安装部署 | ||
|
||
与安装autonomy节点不同点在于执行脚本命令不同,脚本执行后操作步骤相同,这里仅提供相关部署命令。 | ||
|
||
```shell | ||
# -n:平台节点Id,上图中“mklfcfwy” | ||
# -m:secretpad页面入口地址,宿主机真实ip(ifconfig查看本机ip)和宿主机端口(docker ps查看secretpad容器8080在宿主机映射的端口) | ||
# -t:从页面节点信息中复制获取,如上图 | ||
# -p,-k,-g,-q,-x,-P和autonomy节点部署含义相同,此处不再过多介绍 | ||
|
||
./install.sh autonomy-node -n mklfcfwy -m 'http://xxxxx:8080' -t xdeploy-tokenx -p 38080 -g 38081 -k 38082 -q 38083 -x 38084 -P notls | ||
``` | ||
|
||
脚本执行过程如下 | ||
|
||
![Autonomy_node5](../imgs/autonomy_node5.png) | ||
|
||
当安装成功后,刷新web页面,可以看到新增的节点已经可用。 | ||
|
||
![Autonomy_node6](../imgs/autonomy_node6.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,5 @@ | |
data | ||
project | ||
result | ||
timecycle_task | ||
message |
33 changes: 33 additions & 0 deletions
33
docs/all-in-one/p2p_deploy/function_description/timecycle_task.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 定时周期任务 | ||
|
||
## 1.模块说明 | ||
|
||
本模块主要是对部署周期任务进行说明,包括使用说明和配置说明。 | ||
|
||
## 2.部署周期任务 | ||
|
||
部署周期任务,需要首先执行成功一次任务流,并且周期任务选择的样本表,通常是分区表,如下: | ||
|
||
![Timecycle1](../../imgs/timecycle1.png) | ||
|
||
新建周期任务需要填写如下信息:任务描述,调度时间范围,调度周期,指定日期,指定时刻。 | ||
|
||
![Timecycle2](../../imgs/timecycle2.png) | ||
|
||
**任务ID**:由前端调用SecretPad后端生成,随机字符串和时间戳(并非是在kuscia中查看的jobId) | ||
**调度时间**:范围需要大于等于24小时 | ||
**调度周期**:分为日,周,月维度,日维度代表每天执行,没有指定日期选项,周维度可以指定周中某一天或某几天,月维度可以指定月中某一天或某几天 | ||
**指定时刻**:任务具体的执行时间 | ||
本文将以日维度介绍周期任务 | ||
|
||
定时任务设置完成保存之后,可以在画布上的周期任务列表中看到发布的周期任务。 | ||
|
||
![Timecycle3](../../imgs/timecycle3.png) | ||
|
||
点击任务ID可以看到具体执行的任务。 | ||
|
||
![Timecycle4](../../imgs/timecycle4.png) | ||
|
||
调度历史中包含任务执行记,本次示例是以日维度,每天14:13执行任务,运行成功后,如下图: | ||
|
||
![Timecycle5](../../imgs/timecycle5.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.