All Products
Search
Document Center

:InitContainerConfig

Last Updated:Mar 04, 2026

Parameter

Type

Description

Example

object

Initialization container configuration.

Name

string

Container name.

name

ImageUrl

string

The address of the image registry.

registry.cn-hangzhou.aliyuncs.com/sae_test/ali_sae_test:0.0.1

Command

string

Start command for the image.

echo

CommandArgs

string

Arguments for the image start command.

[\"-c\",\"/bin/bash /home/admin/bin/start.sh\"]

Envs

string

Environment variable parameters for the container.

[{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}]

ConfigMapMountDesc

string

ConfigMap mount description.

[{"configMapId":16,"key":"test","mountPath":"/tmp"}]

EmptyDirDesc

string

EmptyDir mount description.

[{\"name\":\"workdir\",\"mountPath\":\"/usr/local/tomcat/webapps\"}]

SecretMountDesc

string