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

k3s only works with iptables-legacy #89

Closed
e-minguez opened this issue Nov 6, 2019 · 2 comments
Closed

k3s only works with iptables-legacy #89

e-minguez opened this issue Nov 6, 2019 · 2 comments

Comments

@e-minguez
Copy link
Contributor

@e-minguez e-minguez commented Nov 6, 2019

Expected Behaviour

After deploying k3s with k3sup the networking should be working

Current Behaviour

It seems iptables-legacy is required in Debian Buster at least.

Possible Solution

k3sup should verify the OS and the iptables version and switch to the legacy version if required

sudo update-alternatives --set iptables /usr/sbin/iptables-legacy > /dev/null
sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy > /dev/null

Steps to Reproduce (for bugs)

  1. Install k3sup
  2. Deploy k3s using k3sup in latest raspbian in at least 2 raspberry pis

Context

Pods cannot reach other pods or the internet

Your Environment

RPI3 cluster (1+1) with latest raspbian

@alexellis

This comment has been minimized.

Copy link
Owner

@alexellis alexellis commented Nov 6, 2019

I'm going to close this issue and ask you to file it upstream on the https://github.com/rancher/k3s repo.

K3sup is only a wrapper for the k3s' installer script.

Perhaps we can add a note here in the README for RPi users?

@alexellis alexellis closed this Nov 6, 2019
@e-minguez

This comment has been minimized.

Copy link
Contributor Author

@e-minguez e-minguez commented Nov 6, 2019

While I agree the main issue is k3s, k3sup is supposed to make k3s installation easy hence k3sup should be able to identify the problem and provide a workaround.
I agree the first step can be a note in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.