ConfigsApr 16, 2026·3 min read

KubeEdge — Extend Kubernetes to Edge Devices and IoT

Run Kubernetes workloads on edge devices with KubeEdge. A CNCF project that brings container orchestration to resource-constrained nodes with offline autonomy and device management.

Introduction

KubeEdge is a CNCF incubating project that extends native Kubernetes orchestration to edge nodes. It enables running containerized workloads on devices with limited CPU, memory, and intermittent connectivity. The cloud side runs on a standard Kubernetes cluster while lightweight edge components manage local pods, even when disconnected from the cloud. It is used in manufacturing, retail, telecom, and smart city deployments.

What KubeEdge Does

  • Extends the Kubernetes API to manage edge nodes alongside cloud nodes in one cluster
  • Maintains edge autonomy so pods keep running during network disconnections
  • Provides a device management framework for MQTT-based IoT device twins
  • Syncs metadata between cloud and edge via a reliable WebSocket channel
  • Supports edge-native AI inference by scheduling GPU and NPU workloads to edge nodes

Architecture Overview

KubeEdge has two halves. CloudCore runs in the Kubernetes control plane and watches the API server for pod and device changes. It pushes updates over a multiplexed WebSocket to EdgeCore on each edge node. EdgeCore contains Edged (a lightweight kubelet), MetaManager (local metadata store using SQLite), and DeviceTwin (device shadow state). When the network drops, Edged continues managing pods using cached metadata. Reconnection triggers a delta sync rather than full reconciliation.

Self-Hosting & Configuration

  • Install CloudCore on any Kubernetes cluster v1.24+ with keadm init
  • Join edge nodes running Linux ARM or x86 with keadm join (minimal 256 MB RAM)
  • Configure the WebSocket port and TLS certificates in cloudcore.yaml
  • Define device models and device instances as CRDs for IoT device management
  • Use EdgeMesh for service discovery and traffic routing between edge nodes

Key Features

  • Offline autonomy keeps edge pods alive for days without cloud connectivity
  • Lightweight edge footprint runs on Raspberry Pi and ARM-based industrial gateways
  • Native Kubernetes API means existing kubectl, Helm, and operators work unchanged
  • Device twin framework synchronizes desired and reported state for MQTT devices
  • Supports edge-cloud collaborative AI inference with model distribution from cloud

Comparison with Similar Tools

  • K3s — lightweight K8s distro but requires full API server; KubeEdge uses a thin agent
  • OpenYurt — similar Alibaba project; KubeEdge has stronger CNCF ecosystem adoption
  • AWS Greengrass — proprietary edge runtime; KubeEdge is open source and cloud-agnostic
  • Azure IoT Edge — Microsoft-specific; KubeEdge integrates with any Kubernetes cluster

FAQ

Q: Can KubeEdge run on Raspberry Pi? A: Yes. EdgeCore supports ARM32 and ARM64. A Raspberry Pi 4 with 1 GB RAM can run multiple edge pods.

Q: Does it replace the kubelet? A: On edge nodes, yes. Edged is a stripped-down kubelet optimized for low resources. Cloud nodes still use the standard kubelet.

Q: How does offline mode work? A: MetaManager caches pod specs and ConfigMaps in a local SQLite database. Edged uses this cache to restart pods after reboots without cloud access.

Q: Is KubeEdge production-ready? A: Yes. It is a CNCF incubating project with production deployments at China Telecom, Rabobank, and various manufacturing companies.

Sources

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets