While we're on the topic can anyone recommend a system for rolling out (Java) applications across server farms that doesn't use containers? We have a bunch of shell scripts that are pretty horrible. We could containerize, but we dont need that right now.
Lessons learned from using Docker Swarm mode in production
31–40 of 55 posts
Re: Lessons learned from using Docker Swarm mode in production
#32As long as your willing to re-architect your app so that workers pull web requests from a queue rather than expecting to just... serve traffic normally. Or did I misunderstand that section?
Incorrect - that's what we're running currently but as soon as the routing mesh issues are resolved you can start running apps that listen on ports too
Re: Lessons learned from using Docker Swarm mode in production
#33While we're on the topic can anyone recommend a system for rolling out (Java) applications across server farms that doesn't use containers? We have a bunch of shell scripts that are pretty horrible. We could containerize, but we dont need that right now.
I haven't used it, but Nomad has specific support for Java apps.
Re: Lessons learned from using Docker Swarm mode in production
#34> This might be a wishlist item (since we don’t find ourselves doing it frequently enough to merit an automated solution), but it would be very nice to be able to simply bake a new AMI, the completion of which would trigger a job that could swap out instances one or several at a time, such that we would be able to perform zero-downtime upgrades automatically. This can still be done, but right now it’s by hand. BOSH[0…
I respectfully disagree. When running on AWS you want CloudFormation controlling an AutoScaling Group for this.
As a footnote, BOSH works on AWS, OpenStack, vSphere, Azure, GCP and there are experimental CPIs for RackHD and Photon.
Re: Lessons learned from using Docker Swarm mode in production
#35Earlier quoted context omitted.
There are plenty of people running Kubernetes on bare-metal. There are a number of resources out there for PXE-booting a Kubernetes cluster on bare-metal. Might be time to take a closer look ;).
Yes, but the instructions that I've found to do so are based on installation via shell scripts, which I'm not comfortable with. I'd like to understand it well before running it even in a test setup.
https://coreos.com/kubernetes/docs/latest/kubernetes-on-bare...
Re: Lessons learned from using Docker Swarm mode in production
#36Re: Lessons learned from using Docker Swarm mode in production
#37Earlier quoted context omitted.
I haven't used it, but Nomad has specific support for Java apps.
From their site: Nomad has extensible support for task drivers, allowing it to run containerized, virtualized, and standalone applications. Users can easily start Docker containers, VMs, or application runtimes like Java.
Re: Lessons learned from using Docker Swarm mode in production
#38Re: Lessons learned from using Docker Swarm mode in production
#39While we're on the topic can anyone recommend a system for rolling out (Java) applications across server farms that doesn't use containers? We have a bunch of shell scripts that are pretty horrible. We could containerize, but we dont need that right now.
FROM openjdk:8u92-jdk-alpine
COPY file.jar file.jar
CMD java -Duser.timezone=UTC -cp file.jar com.foo
and to stay on-topic, you can run java apps in mesos without a docker wrapper :)Re: Lessons learned from using Docker Swarm mode in production
#40Nothing whose version ends in "-rc4" is used in "production". You're using it in a very hot beta test.
We ran RC4 in production and we're running 1.12.1GA in production right now as well. We have been making money while running this and serving live customer traffic so we consider it production :)