Upgrade to Pro — share decks privately, control downloads, hide ads and more …

[Matthew Mosesohn] Kubernetes: More than just a toy

[Matthew Mosesohn] Kubernetes: More than just a toy

Presentation from GDG DevFest Ukraine 2016.
Learn more at: https://devfest.gdg.org.ua

Google Developers Group Lviv

September 10, 2016
Tweet

More Decks by Google Developers Group Lviv

Other Decks in Technology

Transcript

  1. Kubernetes: More than just a toy a look into deploying

    with Kargo Matthew Mosesohn Deployment Engineer @ Mirantis
  2. #dfua Why is deployment so divisive? Salt-based kube-up.sh Orchestration Division

    in configuration management solutions Systemd and Docker aren’t friends
  3. #dfua Why Ansible? Flexible Readable Works on many OSes Native

    Kubernetes module (in Ansible 2.1) Composable roles
  4. #dfua Deployment Workflow Preinstall step • Define service addresses •

    Prepare log directories Install Docker Install ETCD Install Kubernetes Master Install Kubernetes Minion Install any add-ons
  5. #dfua Component upgrade workflow Apply new configuration parameters Update container

    launch script Restart relevant systemd unit Static pods will restart automatically
  6. #dfua Upgrade concerns Downtime = pods being rescheduled It’s okay!

    Alternative: Drain nodes before maintenance
  7. #dfua High Availability ETCD: Horizontal scaling with n etcd-proxies Use

    local etcd-proxy Kube-apiserver: Separate load balancer (Issue #30588) via HAProxy or nginx Use cloud LB when available
  8. #dfua Next steps for Kargo Community integration and collaboration Rolling/safe

    upgrades Self-provisioning via Terraform Support for more cloud platforms (Azure, DigitalOcean) Testing against master Kubernetes code (e2e) More add-ons