ArticleslgStudy

computer science

Cilium (computing)

Cilium (computing) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Cilium (computing) rather than just read about it. In short: Cilium is a cloud native technology for networking, observability, and security. It is based on the kernel technology eBPF, originally for better networking performance, and now leverages many additional features for different use cases.

Cilium (computing) — main illustration
Cilium (computing) — illustration

Key takeaways

  • Cilium (computing) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Cilium (computing) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Cilium (computing) from memory before moving on to harder problems.

Reference excerpt

Cilium is a cloud native technology for networking, observability, and security. It is based on the kernel technology eBPF, originally for better networking performance, and now leverages many additional features for different use cases. The core networking component has evolved from only providing a flat Layer 3 network for containers to including advanced networking features, like BGP and Service mesh, within a Kubernetes cluster, across multiple clusters, and connecting with the world outside Kubernetes. Hubble was created as the network observability component and Tetragon was later added for security observability and runtime enforcement. Cilium runs on Linux and is one of the first eBPF applications being ported to Microsoft Windows through the eBPF on Windows project.

History Evolution from Networking CNI (Container Network Interface) Cilium began as a networking CNI for container workloads. It was originally IPv6 only and supported multiple container orchestrators, like Kubernetes. The original vision for Cilium was to build an intent and identity-based high-performance container networking platform. As the cloud native ecosystem expanded, Cilium added new projects and features to address new problems in the space. The table below summarises some of the most significant milestones of this evolution:

December 2015 - Initial commit to the Cilium project May 2016 - Network policy was added, expanding the scope beyond just networking August 2016 - Cilium was initially announced during LinuxCon as a project providing fast IPv6 container networking with eBPF and XDP. Today, Cilium has been adopted by major cloud provider's Kubernetes offerings and is one of the most widely used CNIs. August 2017 - ebpf-go was created as a library to read, modify, and load eBPF programs and attach them to various hooks. April 2018 - Cilium 1.0 is the first stable release November 2019 - Hubble was launched to provide eBPF-based observability to network flows August 2020 - Chosen by Google as the basis for their Kubernetes Dataplane v2 September 2021 - AWS picks Cilium for Networking & Security on EKS Anywhere October 2021 - Pwru was launched for tracing network packets in the Linux kernel with advanced filtering capabilities October 2021 - Accepted into CNCF as an incubation level project December 2021 - Cilium Service Mesh launched to help manage traffic between services May 2022 - Tetragon open sourced to cover security observability and runtime enforcement October 2022 - Chosen as CNI for Azure April 2023 - Cilium Mesh launched to connect workloads and machines across cloud, on-prem, and edge April 2023 - First CiliumCon hosted as a part of KubeCon October 2023 - Cilium becomes a CNCF Graduated project

CNCF Cilium was accepted into the Cloud Native Computing Foundation on October 13, 2021 as an incubation-level project. It applied to become a graduated project on October 27, 2022. It became a Graduated project one year later. Cilium is one of the fastest-moving projects in the CNCF ecosystem.

Adoption Cilium has been adopted by many large-scale production users, including over 100 that have stated it publicly, for example:

Datadog uses Cilium as their CNI and kube-proxy replacement Ascend uses Cilium as their one CNI across multiple cloud providers Bell Canada uses Cilium and eBPF for telco networking Cosmonic uses Cilium for their Nomad-based PaaS IKEA uses Cilium for their self-hosted bare-metal private cloud S&P Global uses Cilium as its CNI Sky uses Cilium as their CNI and for network security The New York Times uses Cilium on EKS for multi-region multi-tenant shared clusters Trip.com uses Cilium both on premise and in AWS OpenAI uses Cilium as their CNI Palantir uses Cilium as their CNI across all major cloud providers TikTok uses Cilium as their CNI in their IPv6-only datacenters Cilium is the CNI for many cloud providers including Alibaba, APPUiO, Azure, AWS, DigitalOcean, Exoscale, Google Cloud, Hetzner, and Tencent Cloud.

Projects overview

Cilium Cilium began as a container networking project. With the growth of Kubernetes and container orchestration, Cilium became a CNI, providing basic things like configuring container network interfaces and Pod to Pod connectivity. From the beginning, Cilium based its networking on eBPF rather than iptables or IPVS, betting that eBPF would become the future of cloud native networking. Cilium’s eBPF based dataplane provides a simple flat Layer 3 network with the ability to span multiple clusters in either a native routing or overlay mode with Cilium Cluster Mesh. It is Layer 7-protocol aware and can enforce network policies on Layer 3 to Layer 7 and with FQDN using an identity-based security model that is decoupled from network addressing. Cilium implements distributed load balancing for traffic between Pods and to external services, and is able to fully replace kube-proxy, using XDP, socket-based load-balancing and efficient hash tables in eBPF. It also supports advanced functionality like integrated ingress and egress gateways, bandwidth management, a stand-alone load balancer, and service mesh. Cilium is the first CNI to support advanced kernel features such as BBR TCP congestion control and BIG TCP for Kubernetes Pods.

Hubble Hubble is the observability, service map, and UI of Cilium which is shipped with the CNI. It can be used to observe individual network packet flows, view network policy decisions to allow or block traffic, and build up service maps showing how Kubernetes services are communicating. Hubble can export this data to Prometheus, OpenTelemetry, Grafana, and Fluentd for further analysis of Layer 3/4 and Layer 7 metrics.

Tetragon Tetragon is the security observability and runtime enforcement project of Cilium. Tetragon is a flexible Kubernetes-aware security observability and runtime enforcement tool that applies policy and filtering directly with eBPF. It allows users to monitor and observe the complete lifecycle of every process execution on their machine, translate policies for file monitoring, network observability, container security, and more into eBPF programs, and do synchronous monitoring, filtering, and enforcement completely in the kernel.

Go eBPF Library ebpf-go is a pure-Go library to interact with the eBPF subsystem in the Linux kernel. It has minimal external dependencies, emphasises reliability and compatibility, and is widely deployed in production.

… excerpt ends here. Continue reading the full article.

Illustrations

Cilium (computing) illustration
Cilium (computing) illustration

Worked examples

Example 1 — a first encounter with Cilium (computing)

Start with the simplest possible case. Write down what Cilium (computing) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Cilium (computing) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Cilium (computing) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Cilium (computing)

In research
Cilium (computing) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Cilium (computing) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Cilium (computing) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Network software, Open-source cloud applications, so understanding it makes those chapters shorter.
In everyday life
Look for Cilium (computing) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Cilium (computing)” →

How to study Cilium (computing) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Cilium (computing) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Cilium (computing) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Cilium (computing) in simple terms?

Cilium is a cloud native technology for networking, observability, and security. It is based on the kernel technology eBPF, originally for better networking performance, and now leverages many additional features for different use cases.

Why does Cilium (computing) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Cilium (computing)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Cilium (computing).

Tags

  • Network software
  • Open-source cloud applications

Keep exploring