Contact
Skip to the page text

Documentation / Guides / Machine administration

Finding the platform's containers on a machine

What the platform runs as containers

The platform runs containers on two kinds of machine:

  • The control plane machine. Docker Compose runs the control plane as one project.
  • Each inference node. The inference node starts and stops the containers of the models you deploy to it, and a few containers of its own.

The name of every container the platform starts begins with onprem-ai-. Most of these containers also carry labels that tell what they belong to. Use the name or a label to find them with docker ps or podman ps. The commands below work the same with podman.

On the control plane machine

Docker Compose runs the control plane under the project name onprem-ai-control-plane. Each container's name is onprem-ai-control-plane-<service>-1, for example onprem-ai-control-plane-backend-1 or onprem-ai-control-plane-postgres-1. Its volumes and its network begin with onprem-ai-control-plane_.

To seeCommand
Every control plane containerdocker ps -a --filter label=com.docker.compose.project=onprem-ai-control-plane
The same, by namedocker ps -a --filter name=onprem-ai-control-plane-
The control plane's volumesdocker volume ls --filter label=com.docker.compose.project=onprem-ai-control-plane
The services and their state, from the control plane's folderdocker compose --project-name onprem-ai-control-plane ps

When you update the control plane, it starts a container that installs the update. Its name is onprem-ai-update-job-<update request id> and it carries the label ai.onprem.update-job. It stays on the machine after it stops, because its log is the record of the update. The next update replaces it.

To seeCommand
The container of the latest control plane updatedocker ps -a --filter label=ai.onprem.update-job

On an inference node

ContainerNameLabels
A container of a deployed modelonprem-ai-replica-<replica id>-<container>, where <container> is the container's name in the model's deploy profileai.onprem.inference-node-id, ai.onprem.inference-service-id, ai.onprem.inference-service-replica-id, ai.onprem.container-name, ai.onprem.spec-fingerprint
The short check the inference node runs to make sure that containers can use the GPUsonprem-ai-verificationai.onprem.inference-node-id
The GPU health monitoringonprem-ai-dcgm-exporteronprem-ai.inference-node/owned-by=dcgm-health-monitoring

Each replica of a deployed model has its own network, onprem-ai-replica-<replica id>. It carries the labels ai.onprem.inference-node-id, ai.onprem.inference-service-id and ai.onprem.inference-service-replica-id.

To seeCommand
Every container the platform started on this machinedocker ps -a --filter name=onprem-ai-
The containers of deployed models, and the GPU checkdocker ps -a --filter label=ai.onprem.inference-node-id
The containers of one replicadocker ps -a --filter label=ai.onprem.inference-service-replica-id=<replica id>
All replicas of one deployed modeldocker ps -a --filter label=ai.onprem.inference-service-id=<inference service id>
Which model and replica a container belongs todocker inspect --format '{{json .Config.Labels}}' <container>
The networks of deployed modelsdocker network ls --filter label=ai.onprem.inference-node-id

The GPU health monitoring container does not carry ai.onprem.inference-node-id. To find it, use its name or its own label: docker ps -a --filter label=onprem-ai.inference-node/owned-by.

Leave these containers to the platform

The inference node starts, stops, replaces and removes its containers to match what you deployed in the control plane. When it starts, it finds its containers again by the label ai.onprem.inference-node-id with its own id. It keeps the running containers of a model that is still deployed, and removes the containers and networks it no longer needs.

  • Do not stop, restart or remove these containers by hand. To stop or restart a model, use Undeploy or Restart on the Servers page.
  • Do not give your own containers names that begin with onprem-ai-, or the ai.onprem.* labels. A container with one of the platform's names keeps the platform from starting its own container with that name. A container with this inference node's id in ai.onprem.inference-node-id is removed as the inference node's own.
  • To read a model's output, use Live logs or Deployment log on the Servers page (see "Model logs"). docker logs <container> shows the same output on the machine.
  • Control plane containers stop and start with docker compose in the control plane's folder (see "Installing and updating the control plane").

Found a mistake, or is something missing? Suggest an improvement to this page on GitHub.

Platform release 5.10.4, . Source of this page at v5.10.4. This page as Markdown.