KubernetesでWebアプリケーションをリリースするまでに必要なものは/What you need with Kubernetes

E7a86f7090ecce18bc3848324741b04c?s=47 watawuwu
January 31, 2019

KubernetesでWebアプリケーションをリリースするまでに必要なものは/What you need with Kubernetes

E7a86f7090ecce18bc3848324741b04c?s=128

watawuwu

January 31, 2019
Tweet

Transcript

  1. Kubernetesで Webアプリケーションを リリースするまでに 必要なものは

  2. profile: name: Wataru Matsui orz: [ zlab.co.jp ] twitter: @watawuwu

  3. どんなものが必要? + Summary

  4. 対象者 Kubernetesで アプリケーションを作るエンジニア ゴール Kubernetes以外に必要な ミドルウェア、サービスがなんとなくわかる

  5. Agenda ⊸ どんなOSS、SaaSが必要か ⊸ 最小構成で必要なもの ⊸ 本番に向けてで欲しいもの ⊸ あるといいね!

  6. Kubernetes は利用するだけなら簡単!?

  7. でも Ecosystemは多い

  8. None
  9. どんなOSS、SaaSが必要か

  10. • Docker Registry • (Load Balancer) • Logging • Monitoring

    • Alerting • CI/CD • Tracing • Analysis System
  11. 最小構成で必要なもの

  12. Docker Registry

  13. Docker registry Image Image Image CI/CD Developer push push pull

    Docker Registry Kubernetes
  14. Docker Registry SaaS: Container Registry(GCR) SaaS: DockerHub OSS: Harbor OSS:

    distribution Others SaaS GitLab Container Registry, Cycle.io, JFrog Artifactory, Private Docker Registry, Sonatype Nexus, Amazon EC2 Container Registry OSS Dragonfly, Europa, cleanreg
  15. (Load Balancer)

  16. Pod Service End User Request (Load Balancer) Ingress Kubernetes Pod

    Pod
  17. Load Balancer SaaS: Google Cloud Load Balancer OSS: NGINX OSS:

    nghttpx Others SaaS AWS ALB Ingress Controller, Avi Networks OSS Gimbal, Heptio Contour, HAProxy, METALLB, Traefik
  18. 本番に向けて欲しいもの

  19. Logging

  20. Logging Node Pod log-file.log Logging backend Container Pod Container Pod

    Logging Forwarder Using a node logging
  21. Logging Node Pod Logging backend Container Logging Forwarder Pod Container

    Sidecar container with a logging agent
  22. Others SaaS AWS CloudWatch Logs, Graylog, Splunk, logentries, Logz.io, Logmatic,

    Sumo Logic, Scalyr, Cloudlytics, logDNA, Loggy OSS syslog-ng, Grafana, Metabase, Logstash, Flume, Forwarder Store Visualizer SaaS: StackDriver Logging SaaS: Datadog OSS: Fluentd OSS: ElasticSearch OSS: Kibana OSS: Beats OSS: InfluentDB OSS: Re:Dash
  23. StackDriver Logging Kubernetes StackDriver Logging BigQuery Cloud Dataflow Cloud Pub/Sub

    Cloud Storage
  24. Monitoring

  25. Monitoring Node Pod Container Pod Container Agent Push approach Monitoring

    Backend push
  26. Monitoring Node Pod Container Pod Agent Pull approach Monitoring Backend

    (Prometheus) Container Agent pull
  27. Others SaaS New Relic, AppDynamics, Dynatrace, Sematext, Instana, outcoldsolutions,StackDriver Kubernetes

    Monitoring OSS Sysdig, Weave Scope, Zabbix Store Visualizer SaaS: StackDriver Monitoring(push) Saas: Datadog(push) OSS: Prometheus(pull) OSS: Grafana
  28. Alerting

  29. Alerting Monitoring Monitoring + Alerting AlertManager Alerting

  30. Others SaaS New Relic, AppDynamics, Dynatrace, Sematext, Instana, outcoldsolutions,StackDriver Kubernetes

    Monitoring OSS Searchlight Alerting SaaS: StackDriver Monitoring Saas: Datadog OSS: AlertManager(Prometheus) OSS: Grafana
  31. Alerting Monitoring AlertManager Alerting Metrics base Log base mtail

  32. CI/CD

  33. Docker registry CI/CD Developer push push CI/CD Kubernetes pull deploy

  34. SaaS CircleCI, Travis CI, AWS Code Build, GCP Cloud Build,

    Wercker, Codefresh, Bamboo, Buildkite, Cloudbees, Codeship, Octopus Deploy, Semaphore, Shippable, TeamCity, containership,io, Buddy, Solano Labs, AppVeyor, Distelli, Buildbot, Urbancode, GCP Cloud Composer(Airflow) OSS Spinnaker, Jenkins, Jenkins X, Concourse, Screwdriver.cd, Drone, Argo CI/CD, Gitlab CI, gitkube, Habitus, Weave flux, Zuul, containerops, GoCD, Strider CD, Airflow, Luigi, Azkaban, Argo workflow, CI/CD
  35. Workflow Engine scope CI/CD ETL Job Scheduler ML Batch

  36. DEMO

  37. あるといいね!

  38. Tracing StackDriver Trace Jaeger Chaos Gremlin Analysis BigQuery Cloud Datalab

  39. まとめ

  40. • Docker Registry • (Load Balancer) • Logging • Monitoring

    • Alerting • CI/CD • Tracing • Analysis まとめ BigQuery Cloud Datalab StackDriver Monitoring StackDriver Logging StackDriver Trace Cloud Load Balancing Container Registry Cloud Build Cloud Composer
  41. Thanks! WE ARE HIRING!! Kubernetes, Cloud Native zlab.co.jp