cilium-network
Use when configuring Cilium CNI networking, writing network policies, debugging pod connectivity issues, setting up LB IPAM or L2 announcements for Service…
Skill by Aidas-dev
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aidas-dev-cilium-network
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, security, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/cilium-network
What's inside
- Skill name
cilium-network- Description
- Use when configuring Cilium CNI networking, writing network policies, debugging pod connectivity issues, setting up LB IPAM or L2 announcements for Service LoadBalancer IPs, enabling BGP route advertisement, configuring transparent encryption or Hubble observability, or managing Cilium security features (host firewall, Local Redirect Policy, CiliumCIDRGroup). Not for Gateway API (use cilium-gateway).
- License
- MIT
- Instructions
- 240 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Cilium Network
Cilium v1.19.4 — eBPF-based CNI, networking, and security for Kubernetes.
## Overview
Cilium provides pod networking via eBPF, replacing kube-proxy with socket-level load balancing. Security policies enforce L3-L7 rules based on identity (not IP), surviving pod churn. Hubble delivers observability. LB IPAM + L2/BGP announcements expose Services externally without a cloud LB.
## Cilium CRDs (Network Domain)
| CRD | API | Purpose |
|-----|-----|---------|
| `CiliumNetworkPolicy` | `cilium.io/v2` | Namespaced L3-L7 network policy (identity, HTTP/gRPC/Kafka, DNS) |
| `CiliumClusterwideNetworkPolicy` | `cilium.io/v2` | Cluster-scoped L3-L7 network policy |
| `CiliumEndpoint` | `cilium.io/v2` | Per-pod status: identity, labels, policy enforcement state |
| `CiliumEndpointSlice` | `cilium.io/v2` | Groups CiliumEndpoints for large-scale clusters |
| `CiliumIdentity` | `cilium.io/v2` | Security identity (labels → numeric ID) |
| `CiliumNode` | `cilium.io/v2` | Node-level Cilium config (allocated CIDRs, health endpoints) |
| `CiliumCIDRGroup` | `cilium.io/v2alpha1` | Named group of CIDRs for policy `fromCIDRSet`/`toCIDRSet` |
| `CiliumLoadBalancerIPPool` | `cilium.io/v2` | LB IPAM pool — allocate LoadBalancer IPs |
| `CiliumL2AnnouncementPolicy` | `cilium.io/v2alpha1` | L2 ARP/NDP announcement of LoadBalancer IPs (beta) |
| `CiliumLocalRedirectPolicy` | `cilium.io/v2` | Node-local traffic redirect (DNS cache, node-local proxy) |
| `CiliumBGPClusterConfig` | `cilium.io/v2alpha1` | BGP cluster-level config (ASN, listen port, node selector) |
| `CiliumBGPPeerConfig` | `cilium.io/v2alpha1` | BGP peer — transport, auth, timers, AFI/SAFI |
| `CiliumBGPAdvertisement` | `cilium.io/v2alpha1` | Advertise pod CIDRs / service LB IPs via BGP |
| `CiliumBGPNodeConfig` | `cilium.io/v2alpha1` | Per-node BGP status (read-only) |
| `CiliumEnvoyConfig` | `cilium.io/v2` | Envoy proxy config (L7 policy enforcement) |
## Key Concepts
### Routing Modes
- **Overlay (VXLAN/Geneve):** Encapsulation, works on any infra. Default.
- **Native routing:** Uses host routing table. Needs KubeSpan/IPsec/WireGuard for cross-node encryption. Faster.
- **kube-proxy replacement:** `kubeProxyReplacement=true` — eBPF replaces iptables for services. Required for many features.
### Identity-Based Security
Cilium assigns a security identity to every pod based on labels. Policies match on identity, not IP. This survives pod churn.
### Policy Enforcement Points
- L3/L4: eBPF datapath (fast path)
- L7: Envoy proxy (HTTP/gRPC/Kafka inspection)
- `reserved:host` identity for kubelet probes, `reserved:world` for external traffic
## CRD Usage Patterns
### Network Policies
```yaml
# Namespaced: allow ingress from app=frontend to app=backend on port 80
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-frontend
namespace: default
spec:
endpointSelector:
matchLabels:
app: backend
ingress:
- fromEndpoints:
- matchLabels:
app: frontend
toPorts:
- ports:
- port: "80"
protocol: TCP
# Cluster-wide: allow kubelet health probes from host
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: allow-kubelet-health-probes
spec:
endpointSelector: {}
ingress:
- fromEntities:
- host
- remote-node
```
Key endpoints: `fromEndpoints`, `toEndpoints`, `fromEntities` (host/world/cluster/remote-node/all), `fromCIDR`, `toCIDR`, `toFQDNs` (DNS), `fromCIDRSet` with `cidrGroupRef`.
### L7 HTTP Policy
```yaml
spec:
endpointSelector:
matchLabels:
app: my-api
ingress:
- toPorts:
- ports:
- port: "8080"
rules:
http:
- method: "GET"
path: "/public/.*"
```
### LB IPAM + L2 Announcements
```yaml
# 1. IP pool
apiVersion: cilium.io/v2
kind: CiliumLoadBalancerIPPool
metadata:
name: prod-pool
spec:
blocks:
- cidr: "10.0.10.0/24"
serviceSelector:
matchLabels:
lb-site: prod
# 2. L2 announcement policy
apiVersion: cilium.io/v2alpha1
kind: CiliumL2AnnouncementPolicy
metadata:
name: prod-policy
spec:
loadBalancerIPs: true
serviceSelector:
matchLabels:From Aidas-dev/k8s-agent-skills, MIT.
More from Aidas-dev/k8s-agent-skills
- 0.569score
harbor-terraform
Aidas-dev
Use when managing Harbor infrastructure as code with Terraform — projects, robot accounts, registries, replication rules, retention policies, webhooks, users…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-webhooks
Aidas-dev
Use when managing Gitea webhooks — creating webhooks via API, understanding event types, system vs repo vs org webhooks, payload verification with…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
harbor-api
Aidas-dev
Use when working with the Harbor REST API v2 — project management, artifact operations, robot accounts, replication, vulnerability scanning, OIDC/LDAP config…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cert-manager
Aidas-dev
Use when creating or managing cert-manager CRDs — Certificate, Issuer, ClusterIssuer, CertificateRequest.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
dragonfly
Aidas-dev
Use when working with DragonflyDB operator on Kubernetes — creating or troubleshooting Dragonfly resources, configuring replication, snapshots, TLS…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
flux
Aidas-dev
Use when working with Flux CD — debugging live clusters, writing/auditing Flux resources, or asking Flux CD questions.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-runner
Aidas-dev
Use when configuring Gitea Actions runners — registration, deployment modes, Docker vs host mode, Talos/Kubernetes host-mode, ephemeral runners, and v1.26…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-tea
Aidas-dev
Work with Gitea using tea CLI for auth, repo, issue, pull request, release, actions, webhook, and notification workflows.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
harbor-helm
Aidas-dev
Use when deploying, configuring, or upgrading Harbor on Kubernetes via Helm chart — values configuration, external database, TLS/certificates, storage…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
atlas
Aidas-dev
Use when working with Atlas Operator on Kubernetes — creating or troubleshooting AtlasSchema or AtlasMigration resources; configuring DevDB, migration…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cilium-gateway
Aidas-dev
Use when creating Gateway API resources for ingress, configuring TLS termination or passthrough, setting up HTTP-to-HTTPS redirect or traffic splitting…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cnpg
Aidas-dev
Use when working with CloudNativePG (CNPG) for PostgreSQL on Kubernetes — creating or troubleshooting Cluster, Backup, ScheduledBackup, Pooler, or…
SkillBFreshness: B★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Jun 1, 2026 (5 months ago)
- Last release
- Aug 14, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Aidas-dev/k8s-agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Aidas-dev
- 0.569score
dragonfly
Aidas-dev
Use when working with DragonflyDB operator on Kubernetes — creating or troubleshooting Dragonfly resources, configuring replication, snapshots, TLS…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
flux
Aidas-dev
Use when working with Flux CD — debugging live clusters, writing/auditing Flux resources, or asking Flux CD questions.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-runner
Aidas-dev
Use when configuring Gitea Actions runners — registration, deployment modes, Docker vs host mode, Talos/Kubernetes host-mode, ephemeral runners, and v1.26…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-tea
Aidas-dev
Work with Gitea using tea CLI for auth, repo, issue, pull request, release, actions, webhook, and notification workflows.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
harbor-helm
Aidas-dev
Use when deploying, configuring, or upgrading Harbor on Kubernetes via Helm chart — values configuration, external database, TLS/certificates, storage…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cert-manager
Aidas-dev
Use when creating or managing cert-manager CRDs — Certificate, Issuer, ClusterIssuer, CertificateRequest.
SkillBFreshness: B★ 4Claude Code +9
Cite this page
cilium-network skill. Agent Mart. https://agentmart.dev/skills/aidas-dev-cilium-network (last updated 2026-10-24)