Giter VIP home page Giter VIP logo

Comments (7)

rhuss avatar rhuss commented on July 20, 2024

Hmm, you are correct, but it still works for me out of the box:

root@n1:/home/pi# uname -a
Linux n1 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
root@n1:/home/pi# file /usr/bin/kubelet
/usr/bin/kubelet: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=8451bc098c7ecbda570a38b5e9884a54eb00103a, not stripped
root@n1:/home/pi# /usr/bin/kubelet --version
Kubernetes v1.2.0

The binary btw is taken directly from the official Kubernetes release. (Its within kubernetes.tar.gz in kubernetes/server/kubernetes-server-linux-arm.tar.gz)

What symptoms do you have ?

from ansible-kubernetes-openshift-pi3.

Hades32 avatar Hades32 commented on July 20, 2024

Well the binary cannot be executed with a "file not found" error. After creating a link to the arm LD lib everything works fine.

I'm using the Scaleway Docker image which is based on debian/jessie. Maybe the binaries have been built on another OS with different lib names.

What OS are you on?

PS: I struggled also quite a bit to get SkyDNS working. Maybe you should have mentioned that the scripts expect a "master" entry in /etc/hosts :)

from ansible-kubernetes-openshift-pi3.

rhuss avatar rhuss commented on July 20, 2024

I'm using a vanilla Raspbian, which already has this link out of the box:

root@n0:/home/pi# ls -l /lib/ld-linux.so.3
lrwxrwxrwx 1 root root 24 Mar 18 09:10 /lib/ld-linux.so.3 -> /lib/ld-linux-armhf.so.3

But you are right, its probably a good idea to add to the Ansible playbooks a task to verify this.

from ansible-kubernetes-openshift-pi3.

rhuss avatar rhuss commented on July 20, 2024

Thanks for the comment /wrt to master. The host alias should be already entered when you used the in the base role.

But yeah, I will add this to the documentation.

from ansible-kubernetes-openshift-pi3.

Hades32 avatar Hades32 commented on July 20, 2024

Ah, I see. I didn't use the base role as the Scaleway image has already Docker installed.

Maybe you could even automate it and just use the eth0 ip address if there is no entry in /etc/hosts

from ansible-kubernetes-openshift-pi3.

Hades32 avatar Hades32 commented on July 20, 2024

BTW thanks for this project! I tested like 4 different projects on GitHub which all failed in mysterious ways. Yours worked like breeze in comparison :D

from ansible-kubernetes-openshift-pi3.

rhuss avatar rhuss commented on July 20, 2024

You are welcome ;-) Let me know when other stuff breaks, too.

from ansible-kubernetes-openshift-pi3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.