cilium-gateway
Use when creating Gateway API resources for ingress, configuring TLS termination or passthrough, setting up HTTP-to-HTTPS redirect or traffic splitting…
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-gateway
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
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-gateway
What's inside
- Skill name
cilium-gateway- Description
- Use when creating Gateway API resources for ingress, configuring TLS termination or passthrough, setting up HTTP-to-HTTPS redirect or traffic splitting, integrating oauth2-proxy or ExternalDNS with Cilium, or debugging Cilium Gateway controller issues including the Programmed=False cosmetic bug.
- License
- MIT
- Instructions
- 280 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Cilium Gateway
Cilium v1.19.4 — Gateway API implementation for ingress traffic via per-node Envoy.
## Overview
Cilium implements Gateway API v1.4.1 using per-node Envoy proxies with eBPF TPROXY interception. Supports GatewayClass, Gateway, HTTPRoute, GRPCRoute, TLSRoute, and ReferenceGrant. Host network mode exposes listeners directly on node IPs without a LoadBalancer Service. TLS termination, traffic splitting, and header modification all handled in Envoy.
## CRDs Used
### Gateway API (standard)
| CRD | Version | Purpose |
|-----|---------|---------|
| `GatewayClass` | `gateway.networking.k8s.io/v1` | Class reference (parametersRef → `CiliumGatewayClassConfig`) |
| `Gateway` | `gateway.networking.k8s.io/v1` | Shared LB listener — hostname, TLS, ports |
| `HTTPRoute` | `gateway.networking.k8s.io/v1` | HTTP route rules — matches, filters, backends |
| `GRPCRoute` | `gateway.networking.k8s.io/v1` | gRPC route rules |
| `TLSRoute` | `gateway.networking.k8s.io/v1alpha2` | TLS passthrough routing by SNI (experimental) |
| `ReferenceGrant` | `gateway.networking.k8s.io/v1beta1` | Allow cross-namespace references (Secret, Service) |
### Cilium-specific
| CRD | Version | Purpose |
|-----|---------|---------|
| `CiliumGatewayClassConfig` | `cilium.io/v2alpha1` | Cilium-specific GatewayClass parameters (envoy config, LB type, etc.) |
| `CiliumEnvoyConfig` | `cilium.io/v2` | Low-level Envoy config (used internally by Gateway controller) |
## Architecture
```
Internet → LB IP → any node → eBPF TPROXY → per-node Envoy → identity "ingress" → backend pod
```
- Traffic arrives at any node, eBPF intercepts via TPROXY using `ingress` identity
- Per-node Envoy (DaemonSet or cilium-agent embedded) handles L7
- Two policy enforcement points: `world → ingress` and `ingress → backend`
- Source IP preserved in `X-Forwarded-For` and `X-Envoy-External-Address` headers
## Prerequisites
```yaml
# Helm values needed
kubeProxyReplacement: true
gatewayAPI:
enabled: true
```
Gateway API v1.4.1 CRDs must be pre-installed:
```bash
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.4.1/config/crd/standard/gateway.networking.k8s.io_*.yaml
```
## Host Network Mode
Cilium 1.16+ — expose Gateway directly on host network (no LoadBalancer Service). **Requires Envoy hostNetwork.**
```yaml
gatewayAPI:
enabled: true
hostNetwork:
enabled: true
nodes:
matchLabels:
role: infra
envoy:
enabled: true
hostNetwork: true
securityContext:
capabilities:
keepCapNetBindService: true
envoy:
- NET_BIND_SERVICE
```
**Privileged ports (≤1023):** Add `NET_BIND_SERVICE` capability to Envoy.
## Common Patterns
### Gateway with TLS Termination
```yaml
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: cilium-gateway
namespace: cilium-gateway
annotations:
external-dns.alpha.kubernetes.io/target: 79.76.124.104
spec:
gatewayClassName: cilium
listeners:
- name: http
protocol: HTTP
port: 80
hostname: "*.example.com"
allowedRoutes:
namespaces:
from: All
- name: https
protocol: HTTPS
port: 443
hostname: "*.example.com"
tls:
mode: Terminate
certificateRefs:
- name: example-tls
kind: Secret
allowedRoutes:
namespaces:
from: All
```
### HTTP → HTTPS Redirect
```yaml
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: http-to-https
namespace: cilium-gateway
spec:
parentRefs: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-network
Aidas-dev
Use when configuring Cilium CNI networking, writing network policies, debugging pod connectivity issues, setting up LB IPAM or L2 announcements for Service…
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)
- Jul 16, 2026 (3 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-gateway skill. Agent Mart. https://agentmart.dev/skills/aidas-dev-cilium-gateway (last updated 2026-10-24)