ModelDeployment
Container deployment settings for an internally hosted model.
Fully qualified container image reference. Custom images must be digest-pinned and cannot use the latest tag.
artifact_version object
Artifact version identifier to deploy. Omit it to resolve the latest version when deployment starts.
- string
- null
command object
Optional container entrypoint override.
- string[]
- null
args object
Optional arguments that override the image command.
- string[]
- null
8080cpu object
Requested CPU amount, such as 500m.
- string
- null
memory object
Requested memory amount, such as 2Gi.
- string
- null
gpu object
GPU count request
- integer
- null
Number of model instances to run. Higher values increase resource usage.
1HTTP path used to check whether the model is ready and healthy.
/healthzenv object
Non-secret environment variables passed to the model container. Store secrets separately.
node_selector object
Node labels that every selected execution node must match.
tolerations object[]
Node taints that the model deployment is allowed to tolerate.
key object
Taint key matched by this toleration, or null to match every key when operator is Exists.
- string
- null
'Equal' requires value; 'Exists' ignores it.
Possible values: [Exists, Equal]
Equalvalue object
- string
- null
effect object
Taint effect matched by this toleration, or null to match every effect.
- string
- null
Possible values: [NoSchedule, PreferNoSchedule, NoExecute]
toleration_seconds object
For effect='NoExecute', evict after this many seconds.
- integer
- null
{
"image": "string",
"artifact_version": "string",
"command": [
"string"
],
"args": [
"string"
],
"port": 8080,
"cpu": "string",
"memory": "string",
"gpu": 0,
"replicas": 1,
"health_path": "/healthz",
"env": {},
"node_selector": {},
"tolerations": [
{
"key": "string",
"operator": "Equal",
"value": "string",
"effect": "NoSchedule",
"toleration_seconds": 0
}
]
}