|
パラメーター |
タイプ |
説明 |
例 |
|---|---|---|---|
|
object |
サイドカーコンテナの構成。 |
||
| Name |
string |
コンテナ名。 |
name |
| Cpu |
integer |
Cpu |
1000 |
| Memory |
integer |
Memory |
1024 |
| ImageUrl |
string |
イメージ URL。 |
registry-vpc.cn-hangzhou.aliyuncs.com/demo/nginx:latest |
| Command |
string |
イメージ起動コマンド。 |
python |
| CommandArgs |
string |
イメージ起動コマンドの引数。 |
["a","b"] |
| Envs |
string |
コンテナ環境変数パラメーター。 |
[{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}] |
| ConfigMapMountDesc |
string |
ConfigMap マウントの説明。 |
[{"configMapId":16,"key":"test","mountPath":"/tmp"}] |
| EmptyDirDesc |
string |
EmptyDir の説明。 |
[{\"name\":\"workdir\",\"mountPath\":\"/usr/local/tomcat/webapps\"}] |
| AcrInstanceId |
string |
Container Registry ACR エンタープライズインスタンスの ID。ImageUrl が Container Registry エンタープライズインスタンスの場合、このパラメーターは必須です。 |
cri-xxxxxx |
| SecretMountDesc |
string |
シークレットマウントの説明。 |
[{"secretId":10,"key":"test","mountPath":"/tmp"}] |
| Liveness |
string |
liveness プローブの構成。 |
{"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2} |
| Readiness |
string |
readiness プローブの構成。 |
{"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2} |
| PreStop |
string |
PreStop の構成。 |
{"exec":{"command":["sh","-c","echo hello"]}} |
| PostStart |
string |
PostStart の構成。 |
{"exec":{"command":["sh","-c","echo hello"]}} |