|
名称 |
类型 |
描述 |
示例值 |
|---|---|---|---|
|
object |
|||
| ScriptName |
string |
脚本名称。必填。长度为 1~64 个字符,必须以大小字母或中文开头,不能以 http:// 和 https:// 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-) |
脚本名-1 |
| ScriptPath |
string |
脚本所在 OSS 路径。必填。以 oss:// 开头。 |
oss://bucket1/update_hosts.sh |
| ScriptArgs |
string |
脚本执行参数。非必填参数。 |
-host 10.0.10.5 -m 30 |
| Priority |
integer |
说明
此参数已废弃,脚本执行的顺序同脚本定义的顺序。 |
1 |
| NodeSelector | NodeSelector |
节点选择器。 |
|
| ExecutionMoment |
string |
脚本的执行时机。取值范围:
|
BEFORE_INSTALL |
| ExecutionFailStrategy |
string |
执行失败策略。取值范围:
|
FAILED_CONTINUE |