|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
|||
| ScriptName |
string |
The required script name. The name must be 1 to 64 characters long and start with a letter or a Chinese character. It cannot start with |
Script name -1 |
| ScriptPath |
string |
The required path to the script in Object Storage Service (OSS). The path must start with |
oss://bucket1/update_hosts.sh |
| ScriptArgs |
string |
The optional script execution arguments. |
-host 10.0.10.5 -m 30 |
| Priority |
integer |
Note
This parameter is deprecated. Scripts run in the order they are defined. |
1 |
| NodeSelector | NodeSelector |
Specifies the nodes on which the script runs. |
|
| ExecutionMoment |
string |
The execution timing for the script. Valid values:
|
BEFORE_INSTALL |
| ExecutionFailStrategy |
string |
The execution failure strategy. Valid values:
|
FAILED_CONTINUE |