Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
KubernetesでWebアプリケーションをリリースするまでに必要なものは/What you need with Kubernetes
watawuwu
January 31, 2019
Technology
10
1.2k
KubernetesでWebアプリケーションをリリースするまでに必要なものは/What you need with Kubernetes
watawuwu
January 31, 2019
Tweet
Share
More Decks by watawuwu
See All by watawuwu
watawuwu
0
3.6k
watawuwu
5
560
watawuwu
1
550
watawuwu
0
700
watawuwu
3
1.6k
Other Decks in Technology
See All in Technology
recruitengineers
0
130
kraj
0
5.4k
kentaro
1
430
sho7650
0
130
layerx
1
960
yutamakotaro
1
210
shimacos
2
360
clustervr
0
170
hmatsu47
0
170
muras
0
120
viva_tweet_x
5
2.7k
yosshi_
2
350
Featured
See All Featured
jeffersonlam
328
15k
roundedbygravity
84
7.8k
rasmusluckow
318
18k
pauljervisheath
196
15k
notwaldorf
13
1.6k
eitanlees
111
9.9k
dotmariusz
94
5.1k
colly
187
14k
malarkey
192
8.6k
carmenhchung
26
1.3k
ammeep
656
54k
lara
172
9.5k
Transcript
Kubernetesで Webアプリケーションを リリースするまでに 必要なものは
profile: name: Wataru Matsui orz: [ zlab.co.jp ] twitter: @watawuwu
どんなものが必要? + Summary
対象者 Kubernetesで アプリケーションを作るエンジニア ゴール Kubernetes以外に必要な ミドルウェア、サービスがなんとなくわかる
Agenda ⊸ どんなOSS、SaaSが必要か ⊸ 最小構成で必要なもの ⊸ 本番に向けてで欲しいもの ⊸ あるといいね!
Kubernetes は利用するだけなら簡単!?
でも Ecosystemは多い
None
どんなOSS、SaaSが必要か
• Docker Registry • (Load Balancer) • Logging • Monitoring
• Alerting • CI/CD • Tracing • Analysis System
最小構成で必要なもの
Docker Registry
Docker registry Image Image Image CI/CD Developer push push pull
Docker Registry Kubernetes
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
(Load Balancer)
Pod Service End User Request (Load Balancer) Ingress Kubernetes Pod
Pod
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
本番に向けて欲しいもの
Logging
Logging Node Pod log-file.log Logging backend Container Pod Container Pod
Logging Forwarder Using a node logging
Logging Node Pod Logging backend Container Logging Forwarder Pod Container
Sidecar container with a logging agent
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
StackDriver Logging Kubernetes StackDriver Logging BigQuery Cloud Dataflow Cloud Pub/Sub
Cloud Storage
Monitoring
Monitoring Node Pod Container Pod Container Agent Push approach Monitoring
Backend push
Monitoring Node Pod Container Pod Agent Pull approach Monitoring Backend
(Prometheus) Container Agent pull
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
Alerting
Alerting Monitoring Monitoring + Alerting AlertManager Alerting
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
Alerting Monitoring AlertManager Alerting Metrics base Log base mtail
CI/CD
Docker registry CI/CD Developer push push CI/CD Kubernetes pull deploy
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
Workflow Engine scope CI/CD ETL Job Scheduler ML Batch
DEMO
あるといいね!
Tracing StackDriver Trace Jaeger Chaos Gremlin Analysis BigQuery Cloud Datalab
まとめ
• 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
Thanks! WE ARE HIRING!! Kubernetes, Cloud Native zlab.co.jp