-
Notifications
You must be signed in to change notification settings - Fork 583
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
[CentOS 8][Debian 10] No network connectivity outside of pod or to other pods with Canal and Calico #1788
Comments
Switching* to *) complete teardown of cluster, cleaning nodes and spin up new cluster |
I am trying on a brand new Centos 8 installed cluster to run Canal but my canal instances on the nodes are not coming up.
|
the problem is centos8 switched from iptables to nftables. fixed it by adding |
@johnjcool you mean by adding an environment variable in the pod? |
Yes, on DeamonSet. |
By change do you know how the rke |
I've updated the dameonset ....
Environment:
FELIX_IPTABLESBACKEND: NFT
.... and new pods were created calico-node-82s74 1/1 Running 0 70s
calico-node-qv7fg 1/1 Running 0 48s However, when I issue a ping from my bash-5.0# ping google.com
PING google.com (216.58.207.78) 56(84) bytes of data.
^C
--- google.com ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 144ms However, name resolution now works! |
I changed default iptables in /etc/alternatives to point to iptables-legacy as a resolution. The problem occurred on all latest combo of k8s, calico on debian10 ;
|
This issue/PR has been automatically marked as stale because it has not had activity (commit/comment/label) for 60 days. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
I've successfully installed kubernetes 1.16 with rke 0.3.2 however, there is no connection from the pods to outside nor to other pods.
RKE version:
v0.3.2
Docker version: (
docker version
,docker info
preferred)Operating system and kernel: (
cat /etc/os-release
,uname -r
preferred)4.18.0-80.11.2.el8_0.x86_64
(CentOS 8)Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Bare-metal
cluster.yml file:
Steps to Reproduce:
rke up --config config.yaml
multitool
containerResults:
connection from pod
connection from node
The connection on the hosts seems fine
Here my
ip route
output on the nodeThe k8s nodes themselves to not run firewalld and I checked several things which seem fine
selinux disabled
sysctl
iptables
Maybe also useful to know, I use a multitool container for debugging, this is the config
and this is the
ip addr list
in the containerThe text was updated successfully, but these errors were encountered: