All Products
Search
Document Center

Serverless App Engine:SidecarContainerConfig

Last Updated:Jun 11, 2026

Parameter

Type

Description

Example

object

The configuration of the sidecar container.

Name

string

The name of the container.

name

Cpu

integer

The CPU resources allocated to the container, measured in millicores. For example, a value of 1000 represents 1 vCPU.

1000

Memory

integer

The amount of memory allocated to the container, measured in MB.

1024

ImageUrl

string

The container image URL.

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

Command

string

The startup command for the image. This command overrides the ENTRYPOINT defined in the image.

python

CommandArgs

string

The arguments for the startup command. This parameter corresponds to CMD in the Dockerfile.

["a","b"]

Envs

string

The environment variables to set in the container. Specify the variables as a JSON array of key-value pairs.

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

ConfigMapMountDesc

string

The settings for mounting a ConfigMap. Use this to inject configuration data into the container as files.

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

EmptyDirDesc

string

The configuration for an emptyDir volume. This creates a temporary directory that persists for the life of the application instance.

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

AcrInstanceId

string

The instance ID of the ACR Enterprise Edition. This parameter is required if the ImageUrl is from an ACR Enterprise Edition repository.

cri-xxxxxx

SecretMountDesc

string

Liveness

string

Readiness

string

PreStop

string

PostStart

string