Skip to content
Back to Blog
1 min read

Cilium Preview on AKS: eBPF-Based Networking

What is eBPF?

eBPF (Extended Berkeley Packet Filter) allows running sandboxed programs in the Linux kernel without changing kernel source code, enabling efficient networking and security.

Cilium Features

  • eBPF-based data plane
  • Advanced network policies
  • Transparent encryption
  • Service mesh capabilities
  • Observability with Hubble

Network Policy with Cilium

apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
  name: l7-policy
spec:
  endpointSelector:
    matchLabels:
      app: api
  ingress:
  - fromEndpoints:
    - matchLabels:
        app: frontend
    toPorts:
    - ports:
      - port: "80"
        protocol: TCP
      rules:
        http:
        - method: GET
          path: /api/.*

Hubble Observability

# Enable Hubble
cilium hubble enable

# View traffic flows
hubble observe --pod api
hubble observe --namespace production

Summary

Cilium represents the future of Kubernetes networking with eBPF, offering performance and features beyond traditional CNI plugins.

Michael John Peña

Michael John Peña

Data & AI Director and Microsoft MVP based in Sydney. Writing about Microsoft Fabric, Azure, data engineering, and AI.