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

KubeCon+CloudNativeCon Europe 2020 Overview

KubeCon+CloudNativeCon Europe 2020 Overview

Kubernetes Meetup Tokyo #34
https://k8sjp.connpass.com/event/188543/

Aya (Igarashi) Ozawa

September 30, 2020
Tweet

More Decks by Aya (Igarashi) Ozawa

Other Decks in Technology

Transcript

  1. Aya Igarashi — Z Lab Corporation KubeCon + CloudNativeCon Europe

    2020 Overview Kubernetes Meetup Tokyo #34
  2. KubeCon + CloudNativeCon Europe 2020 The Cloud Native Computing Foundation’s

    flagship conference. ‣ ຖ೥ϤʔϩούͰౙ͔Βय़ʹ͔͚ͯ΍͍ͬͯΔΠϕϯτ ‣ ࠓ೥͸3/30-4/2ʹAmsterdamͰ։࠵͢Δ༧ఆͩͬͨ ‣ ίϩφͷӨڹͰVirtual։࠵ʹมߋͱͳΓɺ8/17-8/20ʹ։࠵͞Εͨ ‣ ։࠵࣌ؒ͸Ϥʔϩούதԝ࣌ؒͷ13:00-18:00 (೔ຊ࣌ؒͷ20:00-1:00)
  3. ࢀՃऀͷ֓ཁ 29% 71% ॳճ 2ճҎ্ 54% 13% 33% ιϑτ΢ΣΞ Internet

    & Web ͦͷଞ 33% 30% 37% ։ൃ৬ ٕज़৬ ͦͷଞ ొ࿥ऀ਺͸18,700+(࣮ࡍʹࢀՃͨ͠ͷ͸70%), ࢀՃاۀ͸7,800ࣾ
  4. ݸਓతʹ໘ന͔ͬͨηογϣϯ AutoScalerɺObservabilityɺPerformanceʹภͬͯ·͢ ‣ Autoscaling at Scale: How We Manage Capacity

    ‣ Kubernetes On Cgroup v2 ‣ Scaling Kubernetes Networking Beyond 100k Endpoints ‣ Do The Math: Auto-Scaling Applications with Kubernetes ‣ Hubble - eBPF Based Observability for Kubernetes ‣ eBPF and Kubernetes: Little Helper Minions for Scaling Microservices ‣ Standardizing Applications For the Cloud at a Global Scale ‣ Virtual Cluster - A Practical Kubernetes Hard Multi-tenancy Solution ‣ Deep Dive into Autoscaling ‣ Better Histograms for Prometheus ‣ Dynamic Configuration with ComponentConfig and the Control Loop
  5. Autoscaling at Scale: How We Manage Capacity Zalandoࣾͷӡ༻Λ΋ͱʹͨ͠HPA/CA/VPAͷ஫ҙ఺ͱ৽ػೳͷ঺հ ‣ HPA/CA/VPAͷ֓ཁΛͬ͘͟Γ঺հ

    ‣ HPAͰ͸RPS౳ΧελϜϝτϦΫεΛ ར༻͢ΔͨΊAdapterΛࣗ࡞ https://github.com/zalando-incubator/kube-metrics-adapter ‣ metrics.typeʹContainerResource͕௥ Ճ͞ΕΔ (v1.20ʹ͸ೖΓͦ͏ͳงғؾ) ‣ VPA͸v0.7.1Λforkͯ͠OOMKillϋϯυ ϦϯάΛվળͨ͠΋ͷΛ։ൃ͍ͯ͠Δ https://github.com/zalando-incubator/autoscaler
  6. Do The Math: Auto-Scaling Applications HPAͷύϥϝʔλઃఆ༻ͷγϛϡϨʔλ࿩ ‣ HPA͸֤ύϥϝʔλ͕ґଘ͍ͯ͠ΔͨΊόϥϯ εͷऔΕͨઃఆ͕೉͍͠ ‣

    ଟ͘ͷ৔߹σϑΥϧτ஋͔ӡ༻͠ͳ͕Βͷௐ੔ ‣ ͜ΕΛ਺ֶతʹख๏ཱ͕֬Ͱ͖ͳ͍͔໛ࡧͨ͠ ‣ ෛՙͷܭࢉํ๏ͱͯ͠ɺΠϕϯτͷ99.7%ΛΧ όʔ͢Δ-3σ͔Β+3σ·ͰͷྖҬΛϦʔϚϯੵ ෼&ೋ෼๏ͰٻΊΔγϛϡϨʔλΛͭͬͨ͘ https://nephely-io.github.io/app-autoscaling-calculator/ ‣ σϞͰ͸γϛϡϨʔλͰaverageUtilization͕ 70~90%ͱͳΔΑ͏ύϥϝʔλΛௐ੔͍ͯͨ͠
  7. Virtual Cluster A Practical Kubernetes Hard Multi-tenancy Solution, Alibaba ‣

    Ϛϧνςφϯτͷݖݶ෼཭໰୊͸VirtualΫϥ ελΛ෷͍ग़͢ํ๏Λऔͬͨ ‣ ίϯςφ͝ͱʹผͷMasterΛར༻͠ɺSuper MasterͱNode͸ڞ௨ ‣ ίϯςφ͸SandboxΛར༻ ‣ ඪ४ͷkubelet͕࢖͑ΔΑ͏ʹsyncer͕ςφϯ τʹԠͯ͡ϦιʔεΛॻ͖׵͑ ‣ ϢʔβͷΠϯλϑΣʔε͸ඪ४k8sͱಉ͡