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

Pi Cubed/Project31 #30

Open
KurtStam opened this issue Dec 4, 2015 · 5 comments
Open

Pi Cubed/Project31 #30

KurtStam opened this issue Dec 4, 2015 · 5 comments

Comments

@KurtStam
Copy link

KurtStam commented Dec 4, 2015

@luxas Hi Luxas,

I just created an Organization called Project31 and I'm trying to bundle the efforts on Kubernetes deployment on Raspberry Pi. I just finished my own little project (https://kurtstam.github.io/2015/12/04/Build-a-Kubernetes-Cluster-on-Raspberry-Pi.html) and I'm hungry for more. So if you are interested to becoming a contributor please let me know and we can learn from each other.

Cheers,

--Kurt

@luxas
Copy link
Owner

luxas commented Dec 5, 2015

Hello @KurtStam!
Glad you notified me.

Just some thoughts:

  • hyperkube should be compiled dynamically, if one wants cAdvisor: Hyperkube: cAdvisor is unsupported in this build kubernetes/kubernetes#8772
  • What kind of networking solution do you use? I'm using flannel
  • Do you plan to deploy addons? I have dns and registry for the moment.
  • How do one start and stop k8s easily?
  • Try to make your images as small as possible
  • Which OSes does it run on? HypriotOS?
  • What about serviceAccounts and secrets?

My project is 2-3 months old now, and I think k8s and ARM are a match made in heaven.
Just now I have quite a lot to do with this project and mainline k8s.
Some things I'm adding in v0.6.2

  • A .deb package, so you guys may use it on HypriotOS out-of-the-box.
  • Statically linked docker daemon for Raspberry Pi 1, removes dependencies on other package managers. Optional to use.
  • iptables proxying by default for kube-proxy
  • Banana Pro support

Just say if there is something that you think could be added.

@KurtStam
Copy link
Author

KurtStam commented Dec 7, 2015

Hi @luxas, now that I have a working setup I'm going to try to get OpenShift v3 to work (which comes with a Kubernetes implementation). Out of the box our http://fabric8.io project runs on top of that, though it's meant to run on plain vanilla Kubernetes too, however we do seem to be using some of the OpenShifts Kubernetes extensions. To answer some of your questions; yes I'm running on HypriotOS and it's cool to see that you are working on a .deb package for Kubernetes :).

iptables proxying by default for kube-proxy

Do you mean an kube-proxy implementation based on iptables, or iptables sitting in front of kube-proxy? I'm thinking about a fabric8/apiman gateway implementation of the kube-proxy so we can add policies on services. So I'm curious to see what you are thinking..

@luxas
Copy link
Owner

luxas commented Dec 7, 2015

I mean that by default, kube-proxy uses userspace proxying (don't exactly know what it does) but since v1.1 another proxy mode is usable and much better; pure iptables.
With iptables proxying, I'll test this
I've already added it to dev

@KurtStam
Copy link
Author

KurtStam commented Dec 8, 2015

Ah ok, interestingly enough on Openshift 3 we have an yet another
implementation, based on http://www.haproxy.org, and I'm thinking about
using the apiman gateway - so we can apply all sorts of policies (think
authentication, rate limiting, metering.

Iptables is faster or has more features?

On Mon, Dec 7, 2015 at 1:27 PM, Lucas Käldström [email protected]
wrote:

I mean that by default, kube-proxy uses userspace proxying (don't exactly
know what it does) but since v1.1 another proxy mode is usable and much
better; pure iptables.
With iptables proxying, I'll test this
https://github.com/kubernetes/contrib/tree/master/scale-demo
I've already added it to dev


Reply to this email directly or view it on GitHub
#30 (comment)
.

Kurt T. Stam

twitter: @KurtStam
google+: [email protected]

@luxas
Copy link
Owner

luxas commented Dec 8, 2015

iptables is much faster AFAIU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants