cilium / cilium-cli

CLI to install, manage & troubleshoot Kubernetes clusters running Cilium
https://cilium.io
Apache License 2.0
417 stars 210 forks source link

Cilium connectivity test fails on Fargate nodes #2548

Open fe-ax opened 4 months ago

fe-ax commented 4 months ago

Bug report

Connectivity test fails on Fargate nodes due to not having the nodePort opened.

Example:

  ❌ host-entity-egress/pod-to-host/ping-ipv4-internal-ip: cilium-test/client2-5696665676-qfpmd (10.2.191.219) -> 10.2.46.18 (10.2.46.18:0)
  ❌ host-entity-egress/pod-to-host/ping-ipv4-internal-ip: cilium-test/client2-5696665676-qfpmd (10.2.191.219) -> 10.2.84.9 (10.2.84.9:0)
  ❌ host-entity-egress/pod-to-host/ping-ipv4-internal-ip: cilium-test/client3-6786f98c69-l9tc6 (10.2.140.51) -> 10.2.193.129 (10.2.193.129:0)
  ❌ host-entity-egress/pod-to-host/ping-ipv4-internal-ip: cilium-test/client3-6786f98c69-l9tc6 (10.2.140.51) -> 10.2.46.18 (10.2.46.18:0)
  ❌ host-entity-egress/pod-to-host/ping-ipv4-internal-ip: cilium-test/client3-6786f98c69-l9tc6 (10.2.140.51) -> 10.2.84.9 (10.2.84.9:0)
  ❌ host-entity-egress/pod-to-host/ping-ipv4-internal-ip: cilium-test/client3-6786f98c69-l9tc6 (10.2.140.51) -> 10.2.126.44 (10.2.126.44:0)

Node list:

fargate-ip-10-2-126-44.eu-central-1.compute.internal    Ready    <none>   3h8m   v1.29.0-eks-680e576
fargate-ip-10-2-193-129.eu-central-1.compute.internal   Ready    <none>   20h    v1.29.0-eks-680e576
fargate-ip-10-2-46-18.eu-central-1.compute.internal     Ready    <none>   20h    v1.29.0-eks-680e576
fargate-ip-10-2-84-9.eu-central-1.compute.internal      Ready    <none>   3h8m   v1.29.0-eks-680e576
ip-10-2-160-121.eu-central-1.compute.internal           Ready    <none>   121m   v1.29.1-eks-61c0bbb
ip-10-2-168-124.eu-central-1.compute.internal           Ready    <none>   123m   v1.29.1-eks-61c0bbb

General Information

How to reproduce the issue

  1. Run a node in Fargate, like CoreDNS with EKS config:
  cluster_addons = {
    coredns = {
      addon_version = "v1.11.1-eksbuild.9"
      configuration_values = jsonencode({
        computeType = "Fargate"
        resources = {
          limits = {
            cpu = "0.25"
            memory = "256M"
          }
          requests = {
            cpu = "0.25"
            memory = "256M"
          }
        }
      })
    }
  }
  1. Run connectivity test
github-actions[bot] commented 5 days ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.