Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
pram
Jun 10, 2001
just start with docker first, make some images and get used to the tools. kubernetes is a lot easier to install on small hardware than dc/os (it needs like 3-5 vms minimum lol) and anyway i think mesos isn't that popular anyway from my observations. theres like a billion guides out there

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04

Adbot
ADBOT LOVES YOU

pram
Jun 10, 2001
also ive used https://hyper.sh/ to host some things like gogs. its pretty sick because the api commands are exactly like deploying/building anything on docker

pram
Jun 10, 2001
containers and their schedulers aren't anything new. openvz and zones and yarn etc have been around forever. it's just docker made the build and image management part very easy. IRL deployment is still a major pain though unless your app is totally stateless/doesn't need any local persistence

pram
Jun 10, 2001
like for example doing something as simple as saving images to a disk, in a clustered setup, is not possible. you now need an object store or some distributed storage. it ratchets up complexity a ton. most people don't need to deploy infra like this

pram
Jun 10, 2001

VOTE YES ON 69 posted:

this is actually really easy and idg why people bring it up so much

probably most of your app doesnt need storage, okay, so thats easy, throw in stateless containers
and then like some things do (like your db), so make them a daemonset in k8s and use node storage, okay that was easy

problems left are: 'there's no distributed object store' which is also easy to fix if you install a distributed object store

or use nfs which probably sucks, or ceph or gluster or whatever that other one that had the company implode and pvcs, or use k8s in the cloud like you probably already are and use your cloud providers block storage

it all falls apart the second you need persistent storage. you're left with managing the distributed garbage you posted or implementation specific block device janitoring that follows the container, like rexray. basically just turns into something you could have done with vms easier

pram
Jun 10, 2001
which is why yarn/mr was married to a distributed file system by design (hdfs)

pram
Jun 10, 2001
it's really intended for large scale distributed deployments through a scheduler, running docker on your $5 vm isn't gaining anything useful. you can do all the same build automation with packer/ansible

still worthwhile to learn though :thumbsup:

pram
Jun 10, 2001
yes i agree paying amazon money does make stuff easy

pram
Jun 10, 2001
cool story though: s3 isnt block storage

pram
Jun 10, 2001
just put your database and kafka logs on s3 lol no big deal

pram
Jun 10, 2001

Shinku ABOOKEN posted:

i want to make a personal website. what container / cloud should i use ??

digitalocean

pram
Jun 10, 2001
learn ansible instead

pram
Jun 10, 2001
it's literally possible to have a git repo with all your playbooks same way you can have a git repo that has all your puppet modules

Adbot
ADBOT LOVES YOU

pram
Jun 10, 2001
and lol at chef and puppet 'scaling' organizationally at all. ive seen zero good deployments in 3 giant corporations. it's always a giant pile of poo poo with ridiculous edge cases.

did they use hiera?
are they depending on some bizarre facter bootstrap to work?
are they using roles or is everything hardcoded in the module?
do you need to create ten dozen different node files for it to work?
are they using some kind of in house enc?
did they use LWRP, or libraries, or HWRP?
has everything become a custom rube goldberg machine written directly in ruby??
do you need to refactor this dumpster fire to get anything done? yes

  • Locked thread