Tous les produits
Search
Centre de documentation

Serverless App Engine:SidecarContainerConfig

Dernière mise à jour :Oct 21, 2026

Paramètre

Type

Description

Exemple

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

Les arguments de la commande de démarrage de l'image.

["a","b"]

Envs

string

Les paramètres des variables d'environnement du conteneur.

[{"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

The ID of the Container Registry ACR Enterprise instance. This parameter is required when ImageUrl is a Container Registry Enterprise instance.

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"]}}