agentleFS
abevzabevz/devops-skills/skills/cilium/SKILL.md

cilium

Skill0 starsChanged 41 days agoMITView on GitHub

Use when designing, deploying, or reviewing Cilium — CNI install, kube-proxy replacement, L3/L4/L7 network policies, Hubble observability, transparent encryption, Cluster Mesh, Gateway API/Ingress, Egress Gateway, LB-IPAM/BGP/L2. Mention "cilium", "kube-proxy replacement", "ciliumnetworkpolicy", "hubble", "cluster mesh", "egress gateway", "cilium bgp" as triggers.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not combine CNI migration and unrelated features into one blind change.

    line 22
  2. Distinctive:

    Follow the Workflow, Safety rules, and Quality checklist below.

    line 26
  3. Very specific:

    Use when planning, installing, configuring, or reviewing any part of Cilium: the CNI/datapath, kube-proxy replacement, network policies …

    line 37
  4. Distinctive:

    Confirm the baseline: before feature work: Cilium version, datapath mode, whether kube-proxy replacement is on (many features — Egress …

    line 64
  5. Very specific:

    Prefer read-only verification (cilium status, hubble observe, cilium bgp routes) in any investigation.

    line 104

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cilium

TL;DR checklist

  • Choose the Cilium feature area before loading its reference.
  • Record Cilium, kernel, datapath, kube-proxy, and cluster baseline.
  • Match the feature to a concrete need and plan validation.

Key read-only checks

  • Inspect the installed Cilium version, datapath mode, kube-proxy replacement, and relevant cluster type.

Common pitfalls

  • Do not combine CNI migration and unrelated features into one blind change.

Agent procedure

Follow the Workflow, Safety rules, and Quality checklist below.

Quick references

  • references/install.md
  • references/network-policies.md

Last verified: unverified

When to use

Use when planning, installing, configuring, or reviewing any part of Cilium: the CNI/datapath, kube-proxy replacement, network policies (including L7), Hubble, encryption, multi-cluster Cluster Mesh, Gateway API/Ingress, Egress Gateway, or LB-IPAM/BGP/L2 announcements. For troubleshooting live drops/connectivity ("traffic dropped by policy", stuck endpoints) use the cilium-debug skill instead — this skill is design/deploy/review, that one is symptom triage.

Goal

Get Cilium's many features configured correctly and safely for the cluster's actual needs — without turning on complexity (encryption, mesh, BGP) that isn't warranted, and without the foot-guns each feature carries (datapath mode mismatches, policy default-deny lockouts, kube-proxy-replacement prerequisites).

Workflow

  1. Scope the ask to a feature area and load its reference — don't reason about all of Cilium at once:

    AreaReference
    Install, datapath (tunnel vs native), IPAM, kube-proxy replacement, CNI migration, managed clustersreferences/install.md
    CiliumNetworkPolicy / ClusterwideNetworkPolicy, L3/L4/L7 (HTTP/DNS/Kafka), toFQDNs, default-deny, deny policies, host firewallreferences/network-policies.md
    Hubble / Relay / UI, flow observability, metrics, exportreferences/hubble.md
    Transparent encryption: WireGuard vs IPsecreferences/encryption.md
    Multi-cluster Cluster Mesh, global servicesreferences/clustermesh.md
    Gateway API, Ingress, Egress Gateway, LB-IPAM, BGP, L2 announcementsreferences/gateway-egress.md
  2. Confirm the baseline before feature work: Cilium version, datapath mode, whether kube-proxy replacement is on (many features — Egress Gateway, some LB paths — require it), kernel version (eBPF features have floors), and the underlying cluster (managed vs self-hosted changes IPAM and routing). If the cluster is a managed cloud one, load the matching conditional reference — references/conditional/eks.md (ENI vs overlay, VPC CNI removal, SG-per-pod caveat), gke.md (Dataplane V2 is managed Cilium vs self-managed for advanced features), or aks.md (Azure CNI Powered by Cilium vs BYOCNI) — before recommending anything, because IPAM, kube-proxy, and available features differ substantially per cloud.
  3. Match feature to need, not to novelty — encryption, Cluster Mesh, BGP each add real operational cost; recommend them when the requirement (compliance, multi-region HA, bare-metal L2) exists, and say so plainly when it doesn't.
  4. Check prerequisites and blast radius — many Cilium changes are cluster-wide and disruptive (datapath mode change, kube-proxy replacement toggle, encryption enablement all touch every node). Plan them like a migration (migration-plan skill): staged, reversible, with a connectivity check between steps.
  5. GitOps the config — Helm values + Cilium CRDs live in the GitOps repo; changes go through PR and staged rollout, not cilium CLI mutations on a live cluster.
  6. Verify with read-only tools — cilium status, cilium config view, hubble observe, cilium bgp peers, cilium clustermesh status confirm state without changing it.

References

  • references/install.md, references/network-policies.md, references/hubble.md, references/encryption.md, references/clustermesh.md, references/gateway-egress.md — one per feature area, each with decision tables, Helm/CRD examples, prerequisites, and gotchas.
  • references/conditional/{eks,gke,aks}.md — cloud-specific integration, loaded by signal (managed cluster detected): the per-cloud IPAM, kube-proxy, and feature-availability differences that override the generic install guidance.

Safety rules

  • This is a design/deploy-planning/review skill: do not run cilium install/upgrade, cilium clustermesh enable, apply CiliumNetworkPolicies, or toggle datapath/kube-proxy/ encryption on a live cluster — propose Helm values and manifests for the user to apply.
  • Cluster-wide changes (datapath mode, kube-proxy replacement, encryption, CNI migration) can sever all pod networking if done wrong — always frame them as staged, reversible rollouts with a rollback path, never a single flip.
  • A default-deny CiliumNetworkPolicy or a wrong endpointSelector can cut off production traffic instantly — propose policies in a way that's validated (audit/observe first via Hubble) before enforcement.
  • Prefer read-only verification (cilium status, hubble observe, cilium bgp routes) in any investigation; never restart agents or run cilium cleanup-class commands without explicit confirmation.

Output format

## Feature area & baseline (version, datapath, kube-proxy replacement, kernel, cluster type)
## Recommendation (what to enable/change, and explicitly what NOT to)
## Prerequisites & blast radius
## Proposed config (Helm values / CRDs, for user review)
## Rollout plan (staged, with per-step verification and rollback)
## Verification (read-only commands)

Quality checklist

  • The relevant feature reference was consulted, not reasoned from memory
  • Prerequisites checked (kube-proxy replacement, kernel floor, datapath compatibility)
  • Cluster-wide/disruptive changes are framed as staged reversible rollouts
  • Complexity (encryption/mesh/BGP) is recommended only against a real requirement
  • Policies are validated (Hubble observe) before enforcement, never blind default-deny
  • Nothing was applied to a live cluster; verification is read-only

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.