Inferensys

Glossary

Cloud-Native Network Function (CNF)

A Cloud-Native Network Function (CNF) is a software implementation of a network function packaged as a set of containers, orchestrated by Kubernetes, and designed using microservices principles for dynamic scaling and resilience.
Finance professional using AI FP&A copilot on laptop, board presentation visible on screen, home office work session.
DEFINITION

What is a Cloud-Native Network Function (CNF)?

A Cloud-Native Network Function (CNF) is a software implementation of a telecommunications network function packaged as a set of lightweight, immutable containers, orchestrated by platforms like Kubernetes, and built using microservices principles to enable dynamic scaling, resilience, and continuous delivery.

A Cloud-Native Network Function (CNF) fundamentally differs from a Virtual Network Function (VNF) by decomposing a monolithic application into a mesh of independent, stateless microservices. Each microservice runs in its own container, allowing individual components to be independently scaled, upgraded, and healed without affecting the entire network function, thereby enabling true continuous integration and continuous delivery (CI/CD) pipelines for telecom workloads.

CNFs are managed by a declarative orchestration layer, typically Kubernetes, which automates the lifecycle management of the containers. This architecture provides intrinsic self-healing capabilities, where a failed container is automatically restarted, and enables horizontal pod autoscaling based on real-time telemetry. For energy-efficient network slicing, this granular control allows a Slice Orchestrator to precisely scale down specific CNF components during low-load periods, directly reducing the Slice Carbon Footprint and improving overall Power Usage Effectiveness (PUE).

ARCHITECTURAL PRINCIPLES

Key Characteristics of CNFs

Cloud-Native Network Functions redefine telecom software by applying modern distributed systems principles. These characteristics distinguish CNFs from legacy physical appliances and virtualized network functions (VNFs).

01

Containerized Microservices

CNFs decompose monolithic network functions into independently deployable microservices, each packaged as a lightweight container. This architecture enables:

  • Isolated failure domains: A crash in one service (e.g., session management) does not bring down the entire stack
  • Polyglot development: Teams can write different services in different languages
  • Granular scaling: Only bottlenecked components scale out, not the entire function

Example: A 5G User Plane Function (UPF) might separate packet detection, forwarding, and reporting into distinct containers.

< 100 ms
Container Startup Time
02

Kubernetes Orchestration

CNFs are deployed and managed by Kubernetes, the de facto container orchestration platform. This provides:

  • Declarative desired state: Operators define the target configuration, and Kubernetes reconciles reality to match
  • Self-healing: Failed containers are automatically restarted or rescheduled onto healthy nodes
  • Service discovery: Built-in DNS and load balancing between microservices

Kubernetes replaces the VNF Manager (VNFM) used in legacy NFV architectures, unifying telecom and IT operations.

K8s
Orchestrator
03

Dynamic Horizontal Scaling

CNFs scale horizontally by adding or removing container replicas based on real-time demand, rather than vertically by adding resources to a single instance. Mechanisms include:

  • Horizontal Pod Autoscaler (HPA): Scales based on CPU/memory metrics
  • Custom metrics: Scales based on telecom-specific KPIs like active sessions or throughput
  • Event-driven scaling: KEDA (Kubernetes Event-Driven Autoscaling) triggers scaling from message queue depth

This elasticity is critical for handling bursty traffic patterns without over-provisioning infrastructure.

Sub-second
Scaling Response
04

Immutable Infrastructure

CNFs embrace immutability: containers are never patched or modified in place. Instead, a new container image is built, tested, and deployed as a complete replacement. Benefits include:

  • Reproducible deployments: The exact same artifact moves from CI/CD to production
  • Rollback simplicity: Revert to a previous image version instantly
  • Drift elimination: No configuration divergence between instances over time

This principle, combined with GitOps workflows, ensures that the desired state in a Git repository is the single source of truth.

Immutable
Deployment Model
05

Service Mesh Integration

CNFs leverage a service mesh (e.g., Istio, Linkerd) to externalize cross-cutting communication concerns from application code. The mesh provides:

  • Mutual TLS (mTLS): Automatic encryption and authentication between all services
  • Traffic splitting: Canary deployments and A/B testing for new CNF versions
  • Observability: Distributed tracing, latency histograms, and success rate metrics without code changes

This is essential for the zero-trust security posture required in multi-tenant 5G core networks.

mTLS
Default Encryption
06

Declarative Configuration via CRDs

CNFs extend the Kubernetes API with Custom Resource Definitions (CRDs) to model telecom-specific resources. Operators define the desired state of a CNF using YAML manifests, and a custom operator (a Kubernetes-native controller) reconciles it. Examples:

  • UPFDeployment: Defines a User Plane Function instance with specific QoS profiles
  • SliceConfiguration: Declares a network slice with its associated CNFs

This pattern enables intent-based networking, where high-level business policies are automatically translated into infrastructure configuration.

YAML
Configuration Format
NETWORK FUNCTION ARCHITECTURES

CNF vs. VNF vs. PNF: A Comparison

A feature-level comparison of Cloud-Native Network Functions, Virtualized Network Functions, and Physical Network Functions across deployment, scaling, and lifecycle management dimensions.

FeatureCNFVNFPNF

Packaging Model

Containers (Docker, containerd)

Virtual Machines (VMs)

Purpose-built hardware appliance

Orchestration Platform

Kubernetes (K8s)

MANO (NFVO/VNFM/VIM)

Manual CLI/physical cabling

Deployment Granularity

Microservices per function

Monolithic VM per function

Single physical chassis

Scaling Mechanism

Horizontal pod autoscaling

VM scale-out with VNFM

Hardware forklift upgrade

Boot Time

< 1 sec (container start)

30-120 sec (VM boot)

3-5 min (chassis reload)

State Management

Externalized to backing services

Internal VM disk or NFS

Internal flash/disk array

CI/CD Pipeline Integration

Infrastructure Cost Model

Shared Kubernetes cluster

Shared hypervisor (NFVI)

Dedicated hardware per function

Fault Domain Isolation

Per-pod isolation

Per-VM isolation

Physical component failure

Rolling Upgrade Capability

Vendor Lock-in Risk

Low (open-source K8s)

Medium (VNF image format)

High (proprietary hardware)

Energy Efficiency

Dynamic pod bin-packing

VM consolidation with DRS

Fixed power draw per chassis

Multi-Cloud Portability

CLOUD-NATIVE NETWORK FUNCTIONS

Frequently Asked Questions

Clear, technically precise answers to the most common questions about designing, deploying, and managing Cloud-Native Network Functions (CNFs) in modern telecom infrastructure.

A Cloud-Native Network Function (CNF) is a software implementation of a network function that is decomposed into a set of independently deployable microservices, packaged as lightweight containers, and orchestrated by a platform like Kubernetes. This is fundamentally different from a Virtual Network Function (VNF), which typically packages a monolithic software instance inside a full virtual machine (VM) with a guest operating system. The key architectural distinction is that CNFs embrace immutable infrastructure, where containers are replaced rather than patched, and use declarative APIs for lifecycle management. While a VNF lifts and shifts a legacy appliance into a hypervisor, a CNF is purpose-built for a cloud-native environment, enabling horizontal auto-scaling, rolling updates, and service mesh integration that are impossible with the overhead of a full VM. This results in significantly faster instantiation times, often measured in milliseconds for a container versus minutes for a VM, and more efficient resource utilization through bin-packing on shared kernel hosts.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.