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

Docker Meetup 22/11 - Keynote / Theseus

Docker Meetup 22/11 - Keynote / Theseus

Meetup de Docker en Mendoza, hablo del estado de Docker/Kubernetes en la actualidad y presento Theseus, nuestro actualizador de nodos de Kubernetes

Pablo Fredrikson

November 22, 2018
Tweet

More Decks by Pablo Fredrikson

Other Decks in Technology

Transcript

  1. Pablo Fredrikson @pablokbs • Nerd • Lead SRE @ Invision

    • 12 años con Linux / Software Libre • 4+ años con Docker • 2 años con Docker en producción
  2. Auto Scaling Groups (o ASGs) • Deseado/Max/Min • Reglas Auto

    Escalamiento • Launch configuration (script inicio) • Tags
  3. data "aws_ami" "coreos" { filter { name = "coreos" values

    = ["coreos/images/hvm-ssd/coreos-${version}*"] } } resource "aws_launch_configuration" "workers" { name = "cluster1-workers" image_id = "{data.aws_ami.coreos.id}" instance_type = "m3.large" user_data = "${my_install_script}" }
  4. resource "aws_autoscaling_group" "workers" { name = "cluster1-workers" max_size = 5

    min_size = 2 desired_capacity = 4 health_check_type = "ELB" launch_configuration = "${aws_launch_configuration.workers.name}" tag { key = "KubernetesVersion" value = "${kubernetes_version}" propagate_at_launch = true } }
  5. resource "aws_autoscaling_group" "workers" { name = "cluster1-workers" max_size = 5

    min_size = 2 desired_capacity = 4 health_check_type = "ELB" launch_configuration = "${aws_launch_configuration.workers.name}" tag { key = "AmiVERSION" value = "${ami_version}" propagate_at_launch = true } }
  6. Theseus • Drena nodos antes de matarlos • Ventana de

    mantenimiento • Concurrencia • Maneja versiones de kubernetes, versiones de AMI, versiones de scripts • Automático
  7. No.