The identity and technical contract details declared by the specification.
EnvironmentVariableSecret
objectnull
Details of the secret and key use to populate the environment variable
2 properties
PriorityClass
stringnull
Specifies the priority class for the workload, which determines its scheduling behavior. Valid values are: very-low, low, medium-low, medium, medium-high, high…
WorkloadId3
string
A unique ID of the workload.
DesiredPhase
string
The desired phase of the workload.
Tolerations
arraynull
Set of tolerations to apply to the workload.
AutoScalingMetricThreshold
integernull
The threshold to use with the specified metric for autoscaling (mandatory).
GpuRequestType
stringnull
Sets the unit type for GPU resources requests. Stated in terms of portion or memory. Sets the unit type for other GPU request fields. If gpuDevicesRequest 1, o…
ImagePullSecrets
arraynull
A list of references to Kubernetes secrets in the same namespace used for pulling container images.
Category
stringnull
Specify the workload category assigned to the workload. Categories are used to classify and monitor different types of workloads within the NVIDIA Run:ai platf…
NimCache
objectnull
The specification of a NIM cache volume.
2 properties
WorkloadV2MetadataResponse
object
5 properties
2 required
Image
stringnull
Docker image name. For more information, see [Images](https://kubernetes.io/docs/concepts/containers/images). The image name is mandatory for creating a worklo…
EnvironmentVariable
objectnull
Details of an environment variable which is populated into the container.
8 properties
NimServiceWorkers
integernull
Specifies the number of worker nodes to use when running the NIM service in multi-node.
ProbeHandler
objectnull
The action taken to determine the health of the container. (mandatory)
1 property
WorkloadV2MetadataAutoFill
object
13 properties
11 required
PvcAddedAttrValues
array
an optional array of key-values pairs that are written as annotations on the created PVC. the allowed attributes are determined according to the storage class…
DepartmentName1
string
The name of the department
NimServiceServingPort
objectnull
A port for accessing the inference service
7 properties
EnvironmentVariablePodFieldReference
objectnull
Details of the field-reference and key use to populate the environment variable
1 property
ComplianceIssuesV2
objectnull
1 property
Probe
objectnull
6 properties
NIMServiceMetadataCreateParams
object
3 properties
2 required
ImagePullSecret
objectnull
A reference to a secret in the same namespace used to pull container images.
3 properties
TolerationOperator
stringnull
A key's relationship to the value. Equal uses key and value. Exists is equivalent to wildcard for value, so that a workload can tolerate all taints of a partic…
CpuMemoryLimit
stringnull
Limitations on the CPU memory to allocate for this workload (1G, 20M, .etc). The system guarantees that this workload will not be able to consume more than thi…
ServingPortPort
integernull
The port that the container running the inference service exposes (mandatory).
EnvironmentVariableConfigMap
objectnull
Details of the configMap and key use to populate the environment variable
2 properties
ServingPortExposedUrl
stringnull
The custom URL to use for the serving port. If empty (default), an autogenerated URL will be used.
NodePools
arraynull
A prioritized list of node pools for the scheduler to run the workload on. The scheduler will always try to use the first node pool before moving to the next o…
CpuCoreRequest
numbernull
CPU units to allocate for the created workload (0.5, 1, .etc). The workload will receive at least this amount of CPU. Note that the workload will not be schedu…
AutoScalingMinReplicas
integernull
The minimum number of replicas for autoscaling. Defaults to 1.
NimServiceResponse
object
3 properties
3 required
NimServiceCreateRequest
object
2 properties
2 required
GpuMemoryRequest
stringnull
Required if and only if gpuRequestType is memory. States the GPU memory to allocate for the created workload, per GPU device. Note that the workload will not b…
GVK
object
Specifies the Group, Version, and Kind (GVK) of the Kubernetes resource that defines the workload.
3 properties
3 required
CpuMemoryRequest
stringnull
The amount of CPU memory to allocate for this workload (1G, 20M, .etc). The workload will receive at least this amount of memory. Note that the workload will n…
PvcClaimSize
stringnull
Requested size for the PVC. Mandatory when existingPvc is false. Recommended sizes: TB/GB/MB/TIB/GIB/MIB
NimServiceMultiNode
objectnull
Defines whether the NIM service runs as a multi-node deployment. If workers is set to 1 or more, the service runs in multi-node.
1 property
DepartmentId3
string
The id of the department.
ProbeHandlerScheme
stringnull
Scheme to use for connecting to the host, defaults to HTTP.
PvcVolumeMode
stringnull
Default volume mode for the PVC. Choose between Filesystem (default) or Block.
EnvironmentVariableUserCredential
objectnull
Defines a reference to a user-created credential and a specific key within that credential whose value will populate the environment variable. User credentials…
2 properties
CpuCoreLimit
numbernull
Limitations on the number of CPUs consumed by the workload (0.5, 1, .etc). The system guarantees that this workload will not be able to consume more than this…
ServingPortExposedProtocol
stringnull
The protocol to use for the exposed URL. If grpcPort is set, this defaults to grpc. Otherwise, it defaults to http.
ProjectId
string
The id of the project.
Error
object
3 properties
2 required
Probes
objectnull
Probes are used to determine if the container is healthy and ready to accept traffic.
1 property
Labels
arraynull
Set of labels to populate into the container running the workload.
Label
objectnull
Label details to be populated into the container.
3 properties
GpuPortionRequest
numbernull
Required if and only if gpuRequestType is portion. States the portion of the GPU to allocate for the created workload, per GPU device, between 0 and 1. The def…
Annotations
arraynull
Set of annotations to populate into the container running the workload.
EnvironmentVariables
arraynull
Set of environment variables to populate into the container running the workload.
RunAsGid
integernull
The group id to run the entrypoint of the container which executes the workspace. Default to the value specified in the environment asset runAsGid field (optio…
PolicyRuleEnum
stringnull
Indicates which validation rule (e.g., min, max, step, options, required, canEdit, canAdd) conflicted with policy restrictions, causing the asset or template t…
AutoScalingMaxReplicas
integernull
The maximum number of replicas for autoscaling. Defaults to minReplicas. Must be no less than minReplicas.
ServingPortGrpcPort
integernull
The GRPC port that the container running the inference service exposes.
GpuDevicesRequest
integernull
Requested number of GPU devices. Currently if more than one device is requested, it is not possible to provide values for gpuMemory or gpuPortion.
ProjectName2
string
The name of the project
NimServiceReplicas
integernull
The number of replicas to deploy.
GpuPortionLimit
numbernull
Limitations on the portion consumed by the workload, per GPU device. The system guarantees The gpuPotionLimit must be no less than the gpuPortionRequest.
ImagePullPolicy
stringnull
Image pull policy. Defaults to Always if :latest tag is specified, otherwise it is IfNotPresent.
Annotation
objectnull
Annotation details to be populated into the container.
3 properties
AutoScalingScaleWindowSeconds
integernull
The time window for autoscaling decisions, in seconds. Defaults to 300 seconds.
Toleration
objectnull
Toleration details.
7 properties
ServingPortServiceType
stringnull
The type of Kubernetes service to create for the inference deployment. Options include 'ClusterIP' (default), 'NodePort', 'LoadBalancer', and 'ExternalName'.
PvcAddedAttrValue
object
2 properties
1 required
Preemptibility
stringnull
Specifies whether the workload can be preempted by higher-priority workloads. Valid values are preemptible and non-preemptible. If explicitly set, this value t…
TenantId
integer
The id of the tenant.
RunAsUid
integernull
The user id to run the entrypoint of the container which executes the workspace. Default to the value specified in the environment asset runAsUid field (option…
ServingPortMetricsPort
integernull
The port where metrics are exposed, required only if it's different than the main port.
NimServiceNgcAuthSecret
stringnull
The name of a Kubernetes secret containing the NGC access credentials. The secret must contain a key named NGCAPIKEY with the API key as the value.
ServingPortExposeExternally
booleannull
Indicates whether the inference serving endpoint should be accessible outside the cluster. If set to true, the endpoint will be exposed externally. To enable e…
ClusterId
string
The id of the cluster.
AutoScalingMetricNim
stringnull
The metric to use for autoscaling (mandatory).
ClaimInfo
objectnull
Claim information for the newly created PVC. The information should not be provided when attempting to use existing PVC.
5 properties
TolerationEffect
stringnull
The taint effect to match. (mandatory)
NimServiceUpdateRequest
object
1 property
1 required
PvcAccessModes
objectnull
Default access mode(s) applied to newly created PVCs unless explicitly overridden.
3 properties
NimServicePvcFields
objectnull
4 properties
WorkloadName
string
The name of the workload.
GpuMemoryLimit
stringnull
Limitation on the memory consumed by the workload, per GPU device. The system guarantees The gpuMemoryLimit must be no less than gpuMemoryRequest.
The full machine-readable OpenAPI contract behind this narrative.
Other APIs NVIDIA Run:ai publishes across the network.