1.11 DOCA services on the DPU

NCP-AIO · Installation and Deployment (31% of the exam) · Official objective: “Deploy DOCA Services on DPU Arm”

Deploying service containers on BlueField Arm cores and debugging the kubelet.

Key points

  1. DOCA services are containerized programs that run on the DPU. On the DPU, a standalone kubelet watches /etc/kubelet.d and starts a pod for each YAML file.

    What NVIDIA says (2)

    “cp doca_firefly.yaml /etc/kubelet.d”

    — DOCA Container Deployment Guide

    “Kubelet automatically pulls the container image from NGC and spawns a pod that runs the container.”

    — DOCA Container Deployment Guide

  2. The kubelet log records why a pod failed to start, such as a bad YAML file or missing huge pages. crictl pods lists the pods that did start.

    What NVIDIA says (2)

    “journalctl -u kubelet Examines the Kubelet logs. Useful when a pod/container fails to spawn.”

    — BlueField Troubleshooting Guide: DOCA Services

    “crictl pods Displays currently active K8S pods, and their IDs”

    — BlueField Troubleshooting Guide: DOCA Services

Key terms

Sample question

How do you deploy a DOCA service container on the BlueField Arm cores?

Show the answer

Answer: Edit its YAML and copy it to /etc/kubelet.d. Standalone kubelet pulls the image from NGC and starts the pod.

DOCA services are containerized programs that run on the DPU. On the DPU, a standalone kubelet watches /etc/kubelet.d and starts a pod for each YAML file.

What NVIDIA says (2)

“cp doca_firefly.yaml /etc/kubelet.d”

— DOCA Container Deployment Guide

“Kubelet automatically pulls the container image from NGC and spawns a pod that runs the container.”

— DOCA Container Deployment Guide

Practice 1.11 (2 questions) Full Installation and Deployment guide

← 1.10 Kubernetes with BCM · 1.12 Installing Run:ai →