Lab 3.1 Cilium endpoints are not reachable.

I have installed K8S cluster on AWS EC2 instances following lab 3.1.
Ubuntu 24.04
K8S 1.30.1
Cilium 1.16.1
AWS VPC: 10.0.0.0/16
POD CIDR: 192.168.0.0/24
The host are able to see each other, but the cilium endpoints are not reachable. What might be the problem ?
ubuntu@ip-10-0-1-70:~$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
k8scp Ready control-plane 7m55s v1.30.1
worker1 Ready 6m39s v1.30.1
ubuntu@ip-10-0-1-70:~$ kubectl get pods -n kube-system
NAME READY STATUS RESTARTS AGE
cilium-2lc9m 1/1 Running 0 7m38s
cilium-envoy-85hfc 1/1 Running 0 7m38s
cilium-envoy-vnh2z 1/1 Running 0 7m12s
cilium-fh2tk 1/1 Running 0 7m12s
cilium-operator-64767f6566-jrqzm 1/1 Running 0 7m38s
cilium-operator-64767f6566-rpvmh 1/1 Running 0 7m38s
coredns-7db6d8ff4d-lpmcp 1/1 Running 0 8m11s
coredns-7db6d8ff4d-vkk9h 1/1 Running 0 8m11s
etcd-k8scp 1/1 Running 0 8m25s
kube-apiserver-k8scp 1/1 Running 0 8m26s
kube-controller-manager-k8scp 1/1 Running 0 8m25s
kube-proxy-q7m68 1/1 Running 0 8m11s
kube-proxy-tj6kr 1/1 Running 0 7m12s
kube-scheduler-k8scp 1/1 Running 0 8m25s
root@ip-10-0-1-70:/home/cilium# cilium-dbg status
KVStore: Ok Disabled
Kubernetes: Ok 1.30 (v1.30.1) [linux/amd64]
Kubernetes APIs: ["EndpointSliceOrEndpoint", "cilium/v2::CiliumClusterwideNetworkPolicy", "cilium/v2::CiliumEndpoint", "cilium/v2::CiliumNetworkPolicy", "cilium/v2::CiliumNode", "cilium/v2alpha1::CiliumCIDRGroup", "core/v1::Namespace", "core/v1::Pods", "core/v1::Service", "networking.k8s.io/v1::NetworkPolicy"]
KubeProxyReplacement: False
Host firewall: Disabled
SRv6: Disabled
CNI Chaining: none
CNI Config file: successfully wrote CNI configuration file to /host/etc/cni/net.d/05-cilium.conflist
Cilium: Ok 1.16.1 (v1.16.1-68579055)
NodeMonitor: Listening for events on 15 CPUs with 64x4096 of shared memory
Cilium health daemon: Ok
IPAM: IPv4: 4/254 allocated from 192.168.0.0/24,
IPv4 BIG TCP: Disabled
IPv6 BIG TCP: Disabled
BandwidthManager: Disabled
Routing: Network: Tunnel [vxlan] Host: Legacy
Attach Mode: TCX
Device Mode: veth
Masquerading: IPTables [IPv4: Enabled, IPv6: Disabled]
Controller Status: 29/29 healthy
Proxy Status: OK, ip 192.168.0.199, 0 redirects active on ports 10000-20000, Envoy: external
Global Identity Range: min 256, max 65535
Hubble: Ok Current/Max Flows: 1612/4095 (39.37%), Flows/s: 3.31 Metrics: Disabled
Encryption: Disabled
Cluster health: 1/2 reachable (2025-02-21T19:26:11Z)
Name IP Node Endpoints
worker1 10.0.1.152 reachable unreachable
Modules Health: Stopped(0) Degraded(0) OK(40)
Answers
-
Not able to attach files here
time="2025-02-21T19:18:06Z" level=info msg=" --cluster-pool-ipv4-cidr='192.168.0.0/16'" subsys=daemon
time="2025-02-21T19:18:06Z" level=info msg=" --cluster-pool-ipv4-mask-size='24'" subsys=daemon0 -
Hi @miro.gospodinov,
To ensure a proper setup of your AWS EC2 instances, VPC, and SG respectively please review the demo video guide from the introductory chapter of the course.
Also, ensure consistency in the
podSubnet
CIDR value populated in thekubeadm-config.yaml
manifest and thecluster-pool-ipv4-cidr
value incilium-cni.yaml
manifest. I recommend double checking both manifests prior to initializing the cluster and making edits if necessary to have both set with192.168.0.0/16
, to avoid conflicts with the EC2 private IP addresses or with the Kubernetes default Service subnet. Using inconsistent ranges, such as/16
in one place and/24
someplace else may cause routing conflicts in the cluster.From the output, it seems your Nodes are Ready, and all the Pods are Running - as they should be.
Regards,
-Chris0 -
Hello Chris,
The issue has been resolved. The root cause was identified as a misconfiguration of the security groups. By enabling unrestricted network access ("All traffic"), the problem was successfully rectified and functionality restored.
0
Categories
- All Categories
- 232 LFX Mentorship
- 232 LFX Mentorship: Linux Kernel
- 812 Linux Foundation IT Professional Programs
- 365 Cloud Engineer IT Professional Program
- 183 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 151 Cloud Native Developer IT Professional Program
- 140 Express Training Courses & Microlearning
- 140 Express Courses - Discussion Forum
- Microlearning - Discussion Forum
- 6.4K Training Courses
- 48 LFC110 Class Forum - Discontinued
- 71 LFC131 Class Forum
- 46 LFD102 Class Forum
- 229 LFD103 Class Forum
- 20 LFD110 Class Forum
- 44 LFD121 Class Forum
- LFD125 Class Forum
- 18 LFD133 Class Forum
- 8 LFD134 Class Forum
- 18 LFD137 Class Forum
- 71 LFD201 Class Forum
- 5 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 2 LFD233 Class Forum
- 4 LFD237 Class Forum
- 24 LFD254 Class Forum
- 711 LFD259 Class Forum
- 111 LFD272 Class Forum - Discontinued
- 4 LFD272-JP クラス フォーラム
- 13 LFD273 Class Forum
- 200 LFS101 Class Forum
- 1 LFS111 Class Forum
- 3 LFS112 Class Forum
- 3 LFS116 Class Forum
- 7 LFS118 Class Forum
- LFS120 Class Forum
- 9 LFS142 Class Forum
- 8 LFS144 Class Forum
- 4 LFS145 Class Forum
- 3 LFS146 Class Forum
- 15 LFS148 Class Forum
- 15 LFS151 Class Forum
- 5 LFS157 Class Forum
- 49 LFS158 Class Forum
- LFS158-JP クラス フォーラム
- 10 LFS162 Class Forum
- 2 LFS166 Class Forum
- 4 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 3 LFS178 Class Forum
- 3 LFS180 Class Forum
- 2 LFS182 Class Forum
- 5 LFS183 Class Forum
- 33 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 3 LFS201-JP クラス フォーラム - Discontinued
- 19 LFS203 Class Forum
- 135 LFS207 Class Forum
- 2 LFS207-DE-Klassenforum
- 2 LFS207-JP クラス フォーラム
- 302 LFS211 Class Forum
- 56 LFS216 Class Forum
- 52 LFS241 Class Forum
- 50 LFS242 Class Forum
- 38 LFS243 Class Forum
- 16 LFS244 Class Forum
- 5 LFS245 Class Forum
- LFS246 Class Forum
- LFS248 Class Forum
- 54 LFS250 Class Forum
- 2 LFS250-JP クラス フォーラム
- 1 LFS251 Class Forum
- 156 LFS253 Class Forum
- 1 LFS254 Class Forum
- 1 LFS255 Class Forum
- 10 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.3K LFS258 Class Forum
- 11 LFS258-JP クラス フォーラム
- 134 LFS260 Class Forum
- 160 LFS261 Class Forum
- 43 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 24 LFS267 Class Forum
- 25 LFS268 Class Forum
- 32 LFS269 Class Forum
- 6 LFS270 Class Forum
- 202 LFS272 Class Forum - Discontinued
- 2 LFS272-JP クラス フォーラム
- 4 LFS147 Class Forum
- 1 LFS274 Class Forum
- 4 LFS281 Class Forum
- 15 LFW111 Class Forum
- 262 LFW211 Class Forum
- 184 LFW212 Class Forum
- 15 SKF100 Class Forum
- 1 SKF200 Class Forum
- 2 SKF201 Class Forum
- 797 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 104 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 85 Storage
- 759 Linux Distributions
- 82 Debian
- 67 Fedora
- 17 Linux Mint
- 13 Mageia
- 23 openSUSE
- 148 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 354 Ubuntu
- 470 Linux System Administration
- 39 Cloud Computing
- 71 Command Line/Scripting
- Github systems admin projects
- 95 Linux Security
- 78 Network Management
- 102 System Management
- 47 Web Management
- 69 Mobile Computing
- 18 Android
- 38 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 377 Off Topic
- 115 Introductions
- 175 Small Talk
- 26 Study Material
- 807 Programming and Development
- 304 Kernel Development
- 485 Software Development
- 1.8K Software
- 263 Applications
- 183 Command Line
- 3 Compiling/Installing
- 988 Games
- 317 Installation
- 103 All In Program
- 103 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)