How we learned to love the Data Center Operating System

How we learned to love the Data Center Operating System

by Saulius Valatka
DevOps Pro Vilnius 2016

6d46284ef16436cb154adf4963e236f0?s=128

DevOps Pro

June 01, 2016
Tweet

Transcript

  1. 4.
  2. 7.

    THE TORTURE # yum install python R libboost-3.12 $ scp

    script.R test.aws.com:/script.R # crontab -e
  3. 8.

    THE TORTURE # yum install python R libboost-3.12 $ scp

    script.R test.aws.com:/script.R # crontab -e “strange, worked on my machine …”
  4. 10.
  5. 13.

    The twelve-factor app stores config in environment variables Env vars

    are easy to change between deploys without changing any code There is little chance of them being checked into the code repo accidentally They are a language- and OS-agnostic standard
  6. 15.
  7. 17.
  8. 18.

    MARATHON the init of the DCOS constraints deployment { "id":

    “my-nginx", "container": { "type": "DOCKER", "docker": { "image": "nginx:1.7.7", "network": "BRIDGE", } }, "instances": 1, "cpus": 0.5, "mem": 128 }
  9. 21.

    MANAGING RESOURCES how much memory do I really need ?

    and CPUs ? what does 0.5 CPUs mean anyway ?
  10. 22.

    MANAGING RESOURCES how much memory do I really need ?

    and CPUs ? what does 0.5 CPUs mean anyway ? and what happens with the network ?
  11. 23.
  12. 27.

    SERVICE DISCOVERY where is my app ? how do I

    reach it ? won’t containers conflict about ports ?
  13. 29.

    PERSISTENCE so .. where do I store my data ?

    on the host ? won’t it disappear ?