Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
}
}
},
"Container": {
"description": "Container App container definition.",
"BaseContainer": {
"description": "Container App base container definition.",
"type": "object",
"properties": {
"image": {
Expand Down Expand Up @@ -74,24 +74,44 @@
"$ref": "#/definitions/ContainerResources",
"description": "Container resource requirements."
},
"probes": {
"description": "List of probes for the container.",
"volumeMounts": {
"description": "Container volume mounts.",
"type": "array",
"items": {
"$ref": "#/definitions/ContainerAppProbe"
"$ref": "#/definitions/VolumeMount"
},
"x-ms-identifiers": [
"type"
"volumeName"
]
},
"volumeMounts": {
"description": "Container volume mounts.",
}
}
},
"InitContainer": {
"description": "Container App init container definition",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/BaseContainer"
}
]
},
"Container": {
"description": "Container App container definition",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/BaseContainer"
}
],
"properties": {
"probes": {
"description": "List of probes for the container.",
"type": "array",
"items": {
"$ref": "#/definitions/VolumeMount"
"$ref": "#/definitions/ContainerAppProbe"
},
"x-ms-identifiers": [
"volumeName"
"type"
]
}
}
Expand Down Expand Up @@ -468,6 +488,16 @@
"description": "User friendly suffix that is appended to the revision name",
"type": "string"
},
"initContainers": {
"description": "List of specialized containers that run before app containers.",
"type": "array",
"items": {
"$ref": "#/definitions/InitContainer"
},
"x-ms-identifiers": [
"name"
]
},
"containers": {
"description": "List of container definitions for the Container App.",
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,23 @@
]
}
],
"initContainers": [
{
"image": "repo/testcontainerApp0:v4",
"name": "testinitcontainerApp0",
"resources": {
"cpu": 0.2,
"memory": "100Mi"
},
"command": [
"/bin/sh"
],
"args": [
"-c",
"while true; do echo hello; sleep 10;done"
]
}
],
"scale": {
"minReplicas": 1,
"maxReplicas": 5,
Expand Down Expand Up @@ -159,6 +176,23 @@
]
}
],
"initContainers": [
{
"image": "repo/testcontainerApp0:v4",
"name": "testinitcontainerApp0",
"resources": {
"cpu": 0.2,
"memory": "100Mi"
},
"command": [
"/bin/sh"
],
"args": [
"-c",
"while true; do echo hello; sleep 10;done"
]
}
],
"scale": {
"minReplicas": 1,
"maxReplicas": 5,
Expand Down Expand Up @@ -241,6 +275,23 @@
]
}
],
"initContainers": [
{
"image": "repo/testcontainerApp0:v4",
"name": "testinitcontainerApp0",
"resources": {
"cpu": 0.2,
"memory": "100Mi"
},
"command": [
"/bin/sh"
],
"args": [
"-c",
"while true; do echo hello; sleep 10;done"
]
}
],
"scale": {
"minReplicas": 1,
"maxReplicas": 5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@
}
}
],
"initContainers": [
{
"image": "repo/testcontainerApp0:v4",
"name": "testinitcontainerApp0",
"resources": {
"cpu": 0.2,
"memory": "100Mi"
}
}
],
"scale": {
"minReplicas": 1,
"maxReplicas": 5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@
}
}
],
"initContainers": [
{
"image": "repo/testcontainerApp0:v4",
"name": "testinitcontainerApp0",
"resources": {
"cpu": 0.2,
"memory": "100Mi"
}
}
],
"scale": {
"minReplicas": 1,
"maxReplicas": 5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@
}
}
],
"initContainers": [
{
"image": "repo/testcontainerApp0:v4",
"name": "testinitcontainerApp0",
"resources": {
"cpu": 0.2,
"memory": "100Mi"
}
}
],
"scale": {
"minReplicas": 1,
"maxReplicas": 5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@
]
}
],
"initContainers": [
{
"image": "repo/testcontainerApp0:v4",
"name": "testinitcontainerApp0",
"resources": {
"cpu": 0.2,
"memory": "100Mi"
}
}
],
"scale": {
"minReplicas": 1,
"maxReplicas": 5,
Expand Down