Cilium — eBPF-based networking and security.
1# CiliumNetworkPolicy2apiVersion: cilium.io/v23kind: CiliumNetworkPolicy4metadata:5 name: l7-policy6 namespace: production7spec:8 endpointSelector:9 matchLabels:10 app: api11 ingress:12 - fromEndpoints:13 - matchLabels:14 app: frontend15 toPorts:16 - ports:17 - port: "8080"18 protocol: TCP19 rules:20 http:21 - method: "GET"22 path: "/api/.*"23 - method: "POST"24 path: "/api/users"25 headers:26 - "Content-Type: application/json"27 egress:28 - toEndpoints:29 - matchLabels:30 app: postgres31 toPorts:32 - ports:33 - port: "5432"34 protocol: TCP35 rules:36 kafka:37 - apiKey: "Produce"38 topic: "events"39---40# L7 HTTP policy41apiVersion: cilium.io/v242kind: CiliumNetworkPolicy43metadata:44 name: http-allow45spec:46 endpointSelector:47 matchLabels:48 app: web49 ingress:50 - toPorts:51 - ports:52 - port: "80"53 protocol: TCP54 rules:55 http:56 - method: "GET"57 path: "/health"58 - method: "GET"59 path: "/static/.*"
1# Cilium commands2cilium status3cilium policy get4cilium endpoint list5cilium l7list6cilium connectivity test7cilium hubble observe
Cilium Features: