The Network Topologies API enables administrators to reflect the hierarchical network topology connectivity of nodes in a data center, such as racks, blocks, and other organizational units, to improve pod scheduling decisions for communication-intensive AI/ML workloads. To support topology-aware scheduling, this API allows administrators to define a multi-level network topology element using ordered Kubernetes node labels that represent the network connectivity of nodes in the data center. Nodes are labeled with the same key-value pairs labels that represent their location in the data center network. These labels are used by the NVIDIA Run:ai Scheduler to prefer scheduling pods on nodes that are "closer" to each other, minimizing communication overhead and optimizing workload performance.
Retrieve a list of network topologies with details.
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "networkTopologies": [
- {
- "levels": [
- "cloud.provider.com/topology-block",
- "cloud.provider.com/topology-rack",
- "kubernetes.io/hostname"
], - "name": "default-topology",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "tenantId": 1001,
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "user@lab.com",
- "phase": "Ready",
- "source": "Run.ai"
}
]
}
Creates a network topology object based on the provided specification.
The network topology to create.
Created
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "levels": [
- "cloud.provider.com/topology-block",
- "cloud.provider.com/topology-rack",
- "kubernetes.io/hostname"
], - "name": "default-topology",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210"
}
{- "levels": [
- "cloud.provider.com/topology-block",
- "cloud.provider.com/topology-rack",
- "kubernetes.io/hostname"
], - "name": "default-topology",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "tenantId": 1001,
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "user@lab.com",
- "phase": "Ready",
- "source": "Run.ai"
}
Retrieve the count of network topologies in a tenant group by selected attributes
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "count": 1
}
Retrieve network topology details by Universally Unique Identifier (UUID).
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "levels": [
- "cloud.provider.com/topology-block",
- "cloud.provider.com/topology-rack",
- "kubernetes.io/hostname"
], - "name": "default-topology",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "tenantId": 1001,
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "user@lab.com",
- "phase": "Ready",
- "source": "Run.ai"
}
Delete an existing network topology by its ID.
No Content.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "code": 401,
- "message": "Issuer is not familiar."
}