Skip to content

Instantly share code, notes, and snippets.

@Fazendaaa
Last active June 18, 2020 01:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fazendaaa/d41718af657718e10914fe83a1121773 to your computer and use it in GitHub Desktop.
Save Fazendaaa/d41718af657718e10914fe83a1121773 to your computer and use it in GitHub Desktop.
Nanopi m4 Rancher Support

Set up

  • OS: Armbian -- run the usally update/upgrade/dist-upgrade before proceding
  • Docker

Running

Just run the following command:

docker run -d --restart=unless-stopped --publish 80:80 --publish 443:443 \
  -v /opt/rancher:/var/lib/rancher \
  -v /lib64:/lib64 \
  -v /etc/cni/:/etc/cni/ \
  rancher/rancher:v2.4.5-rc7

While creating your new cluster, just remember to select flannel in the network provider, otherwise it will not work:

image1047

To fix some known issues:

  • Restart your board
  • sudo rm -r /etc/kubernetes
  • sudo rm -r /var/lib/rancher

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment