Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calico VXLAN: No ClusterIP networking on the same node #2192

Closed
xmudrii opened this issue Jul 26, 2022 · 2 comments · Fixed by #2844
Closed

Calico VXLAN: No ClusterIP networking on the same node #2192

xmudrii opened this issue Jul 26, 2022 · 2 comments · Fixed by #2844
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/normal Not that urgent, but is important sig/cluster-management Denotes a PR or issue as being assigned to SIG Cluster Management.

Comments

@xmudrii
Copy link
Member

xmudrii commented Jul 26, 2022

What happened?

Consider the following scenario:

  • Pod is running on Node A
  • Pod is exposed via a ClusterIP service
  • SSH to the Node A
  • Try curl-ing the ClusterIP service

The cluster is running Calico VXLAN deployed using the addon provided by KubeOne (see the provided KubeOneCluster manifest).

Expected behavior

curl returns the proper/expected response.

Actual behavior

curl is stuck waiting for a response forever. I believe this causes the Kubernetes conformance tests to fail.

*   Trying 10.106.181.168:80...
* TCP_NODELAY set
* connect to 10.106.181.168 port 80 failed: Connection timed out
* Failed to connect to 10.106.181.168 port 80: Connection timed out
* Closing connection 0
curl: (28) Failed to connect to 10.106.181.168 port 80: Connection timed out

What KubeOne version are you using?

$ kubeone version
{
  "kubeone": {
    "major": "1",
    "minor": "4",
    "gitVersion": "v1.4.0-162-g3b7397f6",
    "gitCommit": "3b7397f62ed2852292d18bda68adaf053d776a45",
    "gitTreeState": "",
    "buildDate": "2022-07-26T07:51:23+02:00",
    "goVersion": "go1.18.3",
    "compiler": "gc",
    "platform": "linux/amd64"
  },
  "machine_controller": {
    "major": "1",
    "minor": "52",
    "gitVersion": "v1.52.0",
    "gitCommit": "",
    "gitTreeState": "",
    "buildDate": "",
    "goVersion": "",
    "compiler": "",
    "platform": "linux/amd64"
  }
}

Provide your KubeOneCluster manifest here (if applicable)

apiVersion: kubeone.k8c.io/v1beta2
kind: KubeOneCluster

versions:
  kubernetes: "1.23.9"

containerRuntime:
  containerd: {}

clusterNetwork:
  cni:
    external: {}

addons:
  enable: true
  addons:
  - name: default-storage-class
  - name: calico-vxlan
    params:
      mtu: "8951" # same happens without a custom MTU

What cloud provider are you running on?

AWS

What operating system are you running in your cluster?

Ubuntu 20.04.4 LTS

Additional information

If a pod is running on a different node, there are no issues. In other words, this scenario works as expected:

  • Pod is running on Node A
  • Pod is exposed via a ClusterIP service
  • SSH to the Node B
  • Try curl-ing the ClusterIP service
  • Response is returned
@xmudrii xmudrii added kind/bug Categorizes issue or PR as related to a bug. sig/cluster-management Denotes a PR or issue as being assigned to SIG Cluster Management. priority/high labels Jul 26, 2022
@xmudrii xmudrii self-assigned this Aug 9, 2022
@xmudrii xmudrii removed their assignment Aug 30, 2022
@csengerszabo csengerszabo added priority/normal Not that urgent, but is important and removed priority/high labels Oct 27, 2022
@kubermatic-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
After a furter 30 days, they will turn rotten.
Mark the issue as fresh with /remove-lifecycle stale.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@kubermatic-bot kubermatic-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 23, 2023
@xmudrii
Copy link
Member Author

xmudrii commented May 23, 2023

/remove-lifecycle stale

@kubermatic-bot kubermatic-bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/normal Not that urgent, but is important sig/cluster-management Denotes a PR or issue as being assigned to SIG Cluster Management.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants