News for hackers. Stuff that matters.
Re:Kubernetes – The Hard Way by cies on Monday September 12, 2016 @04:28AM (#12478030)
To me it seems that there are many approaches. A storage cluster seems to be a necessity for anything serious. But then the questions is: which one? Open source solutions are not too many (Gluster, Ceph, FreeNAS come to mind), and from the closed source camp ScaleIO looks really promising.

But non of these are part of your K8s tutorial :)

Re:Kubernetes – The Hard Way by user5994461 on Monday September 12, 2016 @04:23PM (#12483304)
These storage systems are meant to be SAN devices. Meaning either Amazon EBS volume or Google volumes, on their respective clouds.

I recall reading that EBS is being [partially] implemented and tested. (Read: The documentation is full of "known bug: ..." and "please don't try that in production").

Re:Kubernetes – The Hard Way by tw04 on Monday September 12, 2016 @12:09PM (#12480899)
Probably depends on the scale/scope of your deployment. I know NetApp has a docker plugin for their storage platforms, I would imagine other vendors do as well:

https://github.com/NetApp/netappdvp

Re:Kubernetes – The Hard Way by creshal on Monday September 12, 2016 @08:55AM (#12479243)
And gluster at least has horrible performance and stability issues. And with containers, kernel panics kill an entire host…
Re:Kubernetes – The Hard Way by strikerz on Monday September 12, 2016 @09:44AM (#12479602)
Do you have more details on performance and stability issues? The recent releases of gluster have been working very well.

Gluster is completely in userspace. How would stability issues, if any, in userspace cause kernel panics? Can you comment more about that?

Re:Kubernetes – The Hard Way by creshal on Monday September 12, 2016 @10:01AM (#12479710)
> Do you have more details on performance and stability issues?

Tried using it for a while (last November until ~April) on Debian Jessie, with latest versions. Lots of bugs with SSL mode, lots of desynchronization issues, crippling performance issues, …

And no matter what I ran into, the bugs were already known and filed for months at that point, with zero developer reaction.

> Gluster is completely in userspace.

Unless you try using its NFS server to get not entirely disastrous performance.

Re:Kubernetes – The Hard Way by strikerz on Monday September 12, 2016 @11:29AM (#12480532)
What workloads were you using Gluster for? How did you reach out to the developers? Usually the mailing lists are very responsive and most bugs brought up on the lists are addressed.

> Unless you try using its NFS server to get not entirely disastrous performance.

Wrong again, Gluster's NFS server is in userspace too. Not sure how that can cause a kernel panic.

Re:Kubernetes – The Hard Way by creshal on Monday September 12, 2016 @06:58PM (#12484356)
> What workloads were you using Gluster for?

Sharing config files. Wordpress sites. Django sites. The performance was too shitty for everything.

> How did you reach out to the developers? Usually the mailing lists are very responsive and most bugs brought up on the lists are addressed.

IRC. I ended up finding all my errors unresolved by it in the mailing list archives with zero developer attention, and since I didn't have the time to help RedHat make their product actually usable, I dropped Gluster.

> Not sure how that can cause a kernel panic.

I guess it's technically not a kernel panic if I/O just stalls so hard that you can neither mount nor unmount nor otherwise access any of your NFS targets… but you have to hard reset the whole machine anyway.

Re:Kubernetes – The Hard Way by lazylizard on Monday September 12, 2016 @07:45PM (#12484630)
we used to run 3 gluster nodes, with a few hundred gb of shared storage..mostly used to keep logs and as war file directory for jboss/tomcat. from what i can tell gluster itself seems ok..but someone also enabled ctdb..which seems to hang every half a year or so..