4 ms·
You're running on GKE. Of course that's easy, they're handling all the difficult parts for you! It's still not that difficult running it on your own servers, bu
by tokenizerrr 9y ago
You're running on GKE. Of course that's easy, they're handling all the difficult parts for you! It's still not that difficult running it on your own servers, but there are many more pain points.
Please get some experience with that, then re-evaluate whether Docker or Kubernetes is easier for small deployments.
- linkmotif 9y agoRight, I agree. But with your easier Swarm setup, how do you then attach cloud disks directly to your docker container, like a PersistentVolume affords? That one feature makes basically anything worth it, IMO. Most apps are stateful.
- jlawer 9y agoNFS mounts, provisioned via the same configuration management platform the hardware is provisioned by (Saltstack in my case)
- Bgd1 9y agoYou use one of the Docker plugins: https://docs.docker.com/docker-for-aws/persistent-data-volumes/ https://docs.docker.com/docker-for-aws/persistent-data-volum... https://github.com/thecodeteam/rexray https://github.com/thecodeteam/rexray
- tokenizerrr 9y agoYou don't, because you're running on your own hardware, and there is no concept of cloud disks. There are some solutions like Ceph, but they're tough to setup. Usually I just pin containers to hosts. This is fine on a small setup. In fact, many of my small setups are just a single host.
- raarts 9y ago> Ceph tough to setup Try ProxMox. They have it built-in.