Todos os produtos
Search
Central de documentação

Serverless App Engine:SidecarContainerConfig

Última atualização: Oct 21, 2026

Parâmetro

Tipo

Descrição

Exemplo

object

The sidecar container configuration.

Name

string

The container name.

name

Cpu

integer

Cpu

1000

Memory

integer

Memory

1024

ImageUrl

string

The image URL.

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

Command

string

The image startup command.

python

CommandArgs

string

Os argumentos do comando de inicialização da imagem.

["a","b"]

Envs

string

Os parâmetros de variáveis de ambiente do contêiner.

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

ConfigMapMountDesc

string

The ConfigMap mount description.

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

EmptyDirDesc

string

The EmptyDir description.

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

AcrInstanceId

string

O ID da instância do Container Registry ACR Enterprise. Este parâmetro é obrigatório quando ImageUrl é uma instância do Container Registry Enterprise.

cri-xxxxxx

SecretMountDesc

string

The Secret mount description.

[{"secretId":10,"key":"test","mountPath":"/tmp"}]

Liveness

string

The liveness probe configuration.

{"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}

Readiness

string

The readiness probe configuration.

{"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}

PreStop

string

The PreStop configuration.

{"exec":{"command":["sh","-c","echo hello"]}}

PostStart

string

The PostStart configuration.

{"exec":{"command":["sh","-c","echo hello"]}}