Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Azure Kubernetes Service を活用したマイクロサービス開発/clouddev
Search
TonyTonyKun
March 06, 2021
Technology
0
350
Azure Kubernetes Service を活用したマイクロサービス開発/clouddev
クラウドデベロッパーちゃんねるのセッション動画スライドです。
TonyTonyKun
March 06, 2021
Tweet
Share
More Decks by TonyTonyKun
See All by TonyTonyKun
サイクルガードサービス AlterLock の問い合わせ対応業務に Azure OpenAI Service を活用した話/jazug46
thara0402
0
470
Microsoft Ignite 2023 現地参加レポート/ignite2023
thara0402
0
75
Azure Container Apps で .NET 7 アプリを Blue-Green デプロイしてみよう!/jazug12
thara0402
0
1.4k
Azure Synapse Analytics 入門/jazug11
thara0402
0
590
Azure Bicep で始める Infrastructure as Code/ace0917
thara0402
0
350
Introduction to Azure Synapse Analytics/ace0416
thara0402
0
400
Azure Kubernetes Service を活用したマイクロサービス開発/Ignite-osaka
thara0402
0
400
Azure Kubernetes Service を活用したマイクロサービス開発/Ignite-tokyo
thara0402
0
140
Azure アーキテクチャ センターを読んで LINE BOT を作ってみた話/kitaazu23
thara0402
0
1.3k
Other Decks in Technology
See All in Technology
技術広報経験0のEMがエンジニアブランディングをはじめてみた
coconala_engineer
1
130
KubeCon EU: Unlocking new Platform Experiences with Open Interfaces
salaboy
1
370
KTC_DBRE.pdf
_awache
0
290
統計的学習理論読み Chapter 2
kmatsui
1
200
Autify Company Deck
autifyhq
1
30k
エンジニアブランディングチームの KPI / KPI's of engineer branding team
chaspy
1
140
既存プロセスからの脱却と変化に適応するために必要なこと
cybozuinsideout
PRO
2
170
バッチ処理のSLOをどう設計するか
rynsuke
7
560
継続的テストモデルを実現するためにスリーアミーゴスを用いた10Xでのシフトレフトの事例
nihonbuson
3
160
技術広報として2023年度に頑張ったこと / What we did well in FY2023 as a DevRel
pauli
5
460
8週連続ウェビナー_イチから学ぶFivetran
cmsuzu
0
160
TCA入門したてなので、自分が馴染みのある実装と比較しながらキャッチアップしてみる
fumiyasac0921
1
370
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
75
4.8k
Producing Creativity
orderedlist
PRO
335
39k
How to Ace a Technical Interview
jacobian
272
22k
Stop Working from a Prison Cell
hatefulcrawdad
265
19k
The Invisible Customer
myddelton
114
12k
The Invisible Side of Design
smashingmag
293
49k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
101
6.6k
Product Roadmaps are Hard
iamctodd
43
9.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
16k
It's Worth the Effort
3n
180
27k
Build your cross-platform service in a week with App Engine
jlugia
223
17k
What the flash - Photography Introduction
edds
64
11k
Transcript
Azure Kubernetes Service を活用した マイクロサービス開発のベストプラクティス
自己紹介 https://gooner.hateblo.jp/ https://jazug.connpass.com
AKS を活用したマイクロサービス開発のベストプラクティス
1. Helm でマイクロサービスの構成を管理する https://hub.kubeapps.com/
2. Nginx Ingress Controller で外部向けエンドポイントを公開する ※ Azure ポータルから設定できる HTTP Application
Routing アドオンの本番運用は非推奨です。 POS Service Client Item Service Nginx Ingress Controller /pos /item Ingress.yaml Kubernetes Cluster Ingress.yaml
3. アップグレード戦略には Blue / Green デプロイを採用する ※ サービスメッシュ(Istio など)を使わなくても、Blue /
Green デプロイを実現できます。 POS Service Client Nginx Ingress Controller Kubernetes Cluster Pod Pod pos-api v1 pos-api v1 pos-api v2 Service
3. アップグレード戦略には Blue / Green デプロイを採用する Nginx Ingress Controller Microservices
( Pod ) Kubernetes Cluster v 1.18.14 Nginx Ingress Controller Kubernetes Cluster v 1.19.7 Microservices ( Pod ) Application Gateway V2 Data Store
4. Pod と Node のスケーリングを組み合わせて構成する 200m 256Mi 100m 128Mi
4. Pod と Node のスケーリングを組み合わせて構成する ※ 導入時は Cluster Autoscaler を使わずに、Node
数を固定して運用を開始する方法もあります。
5. 障害が発生する前提で構成を決める
5. 障害が発生する前提で構成を決める / 80 /readiness 80
6. Azure Monitor でマイクロサービスを監視する Kubernetes Docker Application Container(Pod) アプリ監視 インフラ・ミドル
ウェア監視 Application Insights Azure Monitor for Containers OS VM マイクロサービス プラットフォーム
6. Azure Monitor でマイクロサービスを監視する
6. Azure Monitor でマイクロサービスを監視する
まとめ マイクロサービスを実現する手段は、Kubernetes だけではありません。 Kubernetes を採用するなら、シンプルな構成から始めましょう。
Microsoft Learn のお勧めコンテンツ https://aka.ms/k8s-learn-jp
None