Urgent.News

What's breaking now, across thousands of outlets.

Tech

Keep Docker Engine as Your Kubernetes Runtime on Ubuntu with cri-dockerd

Sometimes you genuinely want Docker Engine as the Kubernetes node runtime — a team standardized on the Docker CLI/API for tooling, an image-build box that doubles as a node, or a legacy playbook you can't rewrite yet. Since dockershim was removed in Kubernetes 1.24, that path now runs through cri-dockerd , an open-source CRI adapter maintained by Mirantis. Here's how to set it up on Ubuntu, and…

This guide explains how to utilize Docker Engine as the Kubernetes node runtime on Ubuntu using cri-dockerd. The need for this setup arises from various factors, such as teams preferring the Docker CLI/API, an image-build box acting as a node, or legacy playbooks that cannot be rewritten yet. Since dockershim was discontinued in Kubernetes 1.24, the pathway now involves cri-dockerd, an open-source CRI adapter maintained by Mirantis.

The first step is installing Docker Engine on Ubuntu, which should be done using Docker's official repository instead of the docker.io package to ensure the latest engine version is obtained. This process involves updating apt-get, installing necessary certificates, and adding Docker's GPG key to the keyring. After that, the Docker repository is added, and Docker Engine and its dependencies (including containerd.io) are installed, followed by setting the cgroup driver to systemd, restarting Docker, and enabling the service.

Next, download and install the latest version of cri-dockerd corresponding to the architecture of the Ubuntu system. After installing cri-dockerd, enable the service and note the CRI socket. Then, point kubeadm at the cri-dockerd socket by initiating an init process with specified flags, including the path to the CRI socket. This process remains consistent with the setup for containerd, except for the CRI endpoint. Worker nodes must also use the same flag during the kubeadm join command.

Finally, verify the Kubernetes node status by executing `kubectl get nodes -o wide`, which should display "docker://" followed by the engine version. However, it is crucial to note that using cri-dockerd means images pulled by the kubelet and images pulled using docker pull will coexist in the same storage. This may lead to confusion between Docker-managed and Kubernetes-managed containers.

To avoid accidentally removing containers managed by the kubelet, it's recommended to use crictl (CRI-aware) for managing cluster containers and reserve docker for managing manually pulled images.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Claude Code plugin structure: the minimal layout that actually loads

You wrote a skill, it works in ~/.claude/skills/ , and now you want to hand it to a teammate — so you wrap it in a plugin.

  • Minimal Claude Code plugin structure includes plugin root and .claude-plugin subdirectory
  • .claude-plugin directory contains only plugin.json manifest file
  • SKILL.md file can serve as sole skill for single-skill plugin

A/B Test AI Prompts at the Edge with Telnyx Stateful Actors

Changing a prompt is easy. Knowing whether the new prompt is actually better is the hard part. This example builds a small prompt A/B testing API on Telnyx Edge Compute.

  • Telnyx Edge Compute powers A/B test API for AI prompts
  • Users create experiments with two prompt variants and vote on results
  • Stateful Actor stores experiment state without separate database

Medir si un LLM nombra a tu empresa: por qué una captura no sirve como métrica

Cada vez más gente arranca la búsqueda de un proveedor preguntándole a un modelo en vez de a un buscador. Y no pide diez opciones para comparar: pide una recomendación y recibe dos o tres nombres.

  • Measuring LLM mentioning your company is challenging due to variable outputs.
  • Screenshot evidence is unreliable as it lacks context and stability.
  • Three distinct states: Absent, Mentioned, and Cited, not a percentage.

More from Tuesday 4 August →