|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The template sandbox configuration. |
||
| image |
string |
The image address. |
registry.cn-hangzhou.aliyuncs.com/demo/nginx:latest |
| acrInstanceId |
string |
The Container Registry Enterprise instance ID. |
cri-abcd1234efgh |
| registryConfig |
CreateTemplateRegistryConfig |
The image repository configuration. |
|
| registryType |
string |
The image repository type. |
acr |
| osType |
string |
The operating system type. |
linux |
| generation |
integer |
The sandbox generation. A value of 1 indicates the first-generation sandbox. A value of 2 indicates the second-generation sandbox. |
2 |
| startCommand |
string |
The sandbox startup command. |
sleep infinity |
| readyCommand |
string |
The sandbox readiness probe command. |
curl -sf http://127.0.0.1:8080/healthz |
| steps |
array |
The list of custom build steps. |
|
|
CreateTemplateStep |
The build step. |
CreateTemplateSandboxConfig
Updated at:
Is this page helpful?