|
thread title, i want to get into containers i have a colocated vmware server with a lot of unused resources and a private network with some extra public ips how should i go about getting into containers? i was thinking docker + kubernetes or maybe dc/os is there a good guide i should follow? any help is appreciated
|
# ? Jun 8, 2017 04:47 |
|
|
# ? May 15, 2024 03:04 |
|
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
|
# ? Jun 8, 2017 04:54 |
|
I still don't get what the gently caress containers are supposed to do
|
# ? Jun 8, 2017 04:55 |
|
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
|
# ? Jun 8, 2017 04:55 |
|
RISCy Business posted:how should i go about getting into containers? pick a fight with a bully and he'll shove you into your locker
|
# ? Jun 8, 2017 04:58 |
|
thank you i will look into this in the morning
|
# ? Jun 8, 2017 07:00 |
|
Silver Alicorn posted:I still don't get what the gently caress containers are supposed to do it's a vm but instead of being an os it's one program
|
# ? Jun 8, 2017 08:50 |
|
RISCy Business posted:how should i go about getting into containers?
|
# ? Jun 8, 2017 11:29 |
|
A long time ago some user here was pimping his terrible windows app virtualization thing that was buggy AF. Then Microsoft bought it. https://en.wikipedia.org/wiki/Microsoft_App-V
|
# ? Jun 8, 2017 14:12 |
|
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
|
# ? Jun 8, 2017 17:16 |
|
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
|
# ? Jun 8, 2017 17:19 |
|
i have a unbind container because it does all the crap i wanted without me doing anything. i wouldn't use it for a pet project
|
# ? Jun 8, 2017 17:24 |
|
pram posted: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 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
|
# ? Jun 8, 2017 19:24 |
|
containers are rad for production, they're just the best iteration of 30(?) years of jails with the best generic tooling so far except docker is utter trash, like the specific software is poopoo
|
# ? Jun 8, 2017 19:27 |
|
i'm sorry i mean moby, not docker, pbuh
|
# ? Jun 8, 2017 19:28 |
|
VOTE YES ON 69 posted:this is actually really easy and idg why people bring it up so much 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
|
# ? Jun 8, 2017 19:32 |
|
VOTE YES ON 69 posted:i'm sorry i mean moby, not docker, pbuh https://www.youtube.com/watch?v=5Og42ldefVc
|
# ? Jun 8, 2017 19:33 |
|
which is why yarn/mr was married to a distributed file system by design (hdfs)
|
# ? Jun 8, 2017 19:34 |
|
only container u should get in is the bin
|
# ? Jun 8, 2017 19:52 |
|
so i guess i should just keep running vms then? idk if my use-case even fits containerization which means it probably doesn't
|
# ? Jun 8, 2017 20:27 |
|
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
|
# ? Jun 8, 2017 20:42 |
|
pram posted: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 i mean this is the real reason i was considering getting into it for fun lotta unused resources, and i feel like it's something i should know
|
# ? Jun 8, 2017 20:58 |
|
22.9 free gigahertz
|
# ? Jun 8, 2017 22:49 |
|
akadajet posted:A long time ago some user here was pimping his terrible windows app virtualization thing that was buggy AF. this has the worst db setup scripts ever. like you have to manually edit table names and poo poo. it's crap op
|
# ? Jun 8, 2017 22:52 |
|
careful op, thats how gareth williams died
|
# ? Jun 8, 2017 23:23 |
|
KOTEX GOD OF BLOOD posted:careful op, thats how gareth williams died
|
# ? Jun 9, 2017 00:23 |
|
nothing to it OP i hate this show & don't watch and the joke is forced as hell but w/e
|
# ? Jun 9, 2017 06:24 |
|
Silver Alicorn posted:I still don't get what the gently caress containers are supposed to do
|
# ? Jun 9, 2017 06:25 |
|
pram posted: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 making it hard for scrub devs to have important poo poo sitting in random folders on servers is one of the primary advantages to docker i think
|
# ? Jun 9, 2017 06:55 |
|
yeah that's def. a feature. learn 2 scale
|
# ? Jun 9, 2017 07:02 |
|
also instead of 1000 project putting stuff in the public schema of one db you can have 1000 lil dbs so its almost like we're using schemas now too!
|
# ? Jun 9, 2017 07:07 |
|
VOTE YES ON 69 posted:this is actually really easy and idg why people bring it up so much these days anyone who stores files on disk is a loving idiot just use s3 or whatever microsoft offers (lol) if you're janitoring files you're dumb. if you REALLY need just files, you should have the infrastructure in place (like fiber channel etc) but really gently caress that noise
|
# ? Jun 9, 2017 07:25 |
|
yes i agree paying amazon money does make stuff easy
|
# ? Jun 9, 2017 07:43 |
|
cool story though: s3 isnt block storage
|
# ? Jun 9, 2017 07:44 |
|
you put liquid in a bucket
|
# ? Jun 9, 2017 07:45 |
|
just put your database and kafka logs on s3 lol no big deal
|
# ? Jun 9, 2017 07:46 |
|
hifi posted:you put liquid in a bucket
|
# ? Jun 9, 2017 08:09 |
|
|
# ? Jun 9, 2017 10:55 |
|
put yourself in a dumpster
|
# ? Jun 9, 2017 16:12 |
|
|
# ? May 15, 2024 03:04 |
|
pram posted:just put your database and kafka logs on rds and kinesis respectively lol no big deal
|
# ? Jun 9, 2017 20:18 |