All Products
Search
Document Center

:SidecarContainerConfig

Last Updated:Dec 30, 2025
ParameterTypeDescriptionExample
object

The configurations of the Sidecar container.

Namestring

The container name.

name
Cpuinteger

Cpu

1000
Memoryinteger

Memory

1024
ImageUrlstring

The image address.

registry-vpc.cn-hangzhou.aliyuncs.com/demo/nginx:latest
Commandstring

The startup command of the image.

python
CommandArgsstring

The parameters of the image startup command.

["a","b"]
Envsstring

The environment variables of the container.

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

The description of the ConfigMap mounted to the application.

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

The EmptyDir description.

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

The ID of the Container Registry Enterprise Edition instance. This parameter is required if the ImageUrl parameter is set to the URL of an image in a Container Registry Enterprise Edition instance.

cri-xxxxxx