Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@elgringo that's what i want to run on the pi's. But how to distribute/manage/look-at-the-status-of them?
-
@elgringo i failed to mention it, but i wanted to know if anyone already had a good setup with multiple pis and orchestration-software.
Pi's arent exactly high-end-servers with giant amounts of cpu and memory, and not all software/containers are available for armhf-arch.
It'd be good to know something will work before i try for hours -
@bashleigh i'd love to, but the last time i tried to set up k8s i screwed up. (I tried to create a non-minikube installation on my server). guessing that i will have even more problems on the pi's i wont try it unless i have a clear tutorial
(I blame the bad documentation and the fact im new to this) -
@YouAreAPIRate sorry missed this message. Yeaaa start with docker and get used to using them. Then work your way up from there building series of containers that communicate with one another, then maybe move onto dev tool containers and production builds and keep going! I'm not sure kubes I right for managing a series of pis. Why 4 pis though?
-
Personally I'd recommend Rancher managed k8s, it's easier to get off the ground but has the power (and responsibility) you're probably looking for. Then change to rancher 2.0 once it's ready and you'll be sweet ;D
Actually, if you want something simple to tinker with a rancher managed cattle orchestration might work. It is used for some production workloads so isn't vapourware. -
Oh you only want monitoring? Prometheus looks fucking amazing!!!! Comes as a docker container. However I'm not sure they'll cooperate with one another. There are some similar tools, if you're using node there's pm2, I've used ctop to monitor my Dockers on my local but never from additional. Docker and kubes have APIs you can talk to somehow? I think? Not 100% o n that but I bet you there's a tool out there somewhere. I'm sure if you Google Prometheus or ctop you'll get similar tools come up
-
@Froot do you know the amount of software that has to run on each pi for k8s? If i have to run a ~50mb ram program thats neglectable
-
@bashleigh following your advice docker-compose is next (and a private image registry). To answer your question, i ordered a few pi's for testing purposes. 4 because i like the number and pi's because they have one of the best price-per-machine
-
@YouAreAPIRate if you find a decent private image registry let me know!! I've not looked yet. Are you using them for testing?
-
@bashleigh i'll host one myself. I'll dust off my old amd64-server and run docker-registry. I want things to be private and that's the only real way to do it
-
@YouAreAPIRate let me borrow it? XD I found this https://stackoverflow.com/questions... guy mentions dockerprom? I've never heard of it before. Might be what you're looking for? Mentions a master and slaves so sounds the right track?
-
@bashleigh i wouldn't mind sharing that registry with someone, but do you really want a registry with max ~1mbps download? ^^"
Sorry for not clarifying, but i already use grafana for monitoring. I need something to manage the containers like "stop container on host 0 and put it on host 2" or "run X on two hosts and use a load balancer"
I got 4 raspberry pi's with docker next to me. What's the best way to orchestrate them?
Kubernetes, docker swarm, other?
rant