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
510
Azure Kubernetes Service を活用したマイクロサービス開発/clouddev
クラウドデベロッパーちゃんねるのセッション動画スライドです。
TonyTonyKun
March 06, 2021
Tweet
Share
More Decks by TonyTonyKun
See All by TonyTonyKun
これでバッチリ!Azure マルチテナントアーキテクチャ設計のコツ/jat06
thara0402
0
230
Azure Load Testing を使って Azure Functions Flex Consumption の HTTP Trigger のパフォーマンスとコストを最適化してみよう/global-azure2025
thara0402
0
140
Prompty を使って生成 AI アプリケーション開発のプロンプトを管理する/jat03
thara0402
0
34
Azure OpenAI Service で意図せず PTU モデルをデプロイして高額請求されてしまった件/jat04
thara0402
0
36
「Durable Task Scheduler」をチョイ見せ!/jat05
thara0402
0
22
Azure App Service on Linux の Sidecar に Phi-3 を配置してインテリジェントなアプリケーションを作ってみよう/jazug-anniv14
thara0402
0
1.2k
サイクルガードサービス AlterLock の問い合わせ対応業務に Azure OpenAI Service を活用した話/jazug46
thara0402
0
920
Microsoft Ignite 2023 現地参加レポート/ignite2023
thara0402
0
280
Azure Container Apps で .NET 7 アプリを Blue-Green デプロイしてみよう!/jazug12
thara0402
0
1.7k
Other Decks in Technology
See All in Technology
より良いプロダクトの開発を目指して - 情報を中心としたプロダクト開発 #phpcon #phpcon2025
bengo4com
1
3.1k
原則から考える保守しやすいComposable関数設計
moriatsushi
3
530
強化されたAmazon Location Serviceによる新機能と開発者体験
dayjournal
2
200
Witchcraft for Memory
pocke
1
210
Model Mondays S2E02: Model Context Protocol
nitya
0
210
変化する開発、進化する体系時代に適応するソフトウェアエンジニアの知識と考え方(JaSST'25 Kansai)
mizunori
1
200
20250625 Snowflake Summit 2025活用事例 レポート / Nowcast Snowflake Summit 2025 Case Study Report
kkuv
1
290
_第3回__AIxIoTビジネス共創ラボ紹介資料_20250617.pdf
iotcomjpadmin
0
150
Node-REDのFunctionノードでMCPサーバーの実装を試してみた / Node-RED × MCP 勉強会 vol.1
you
PRO
0
110
プロダクトエンジニアリング組織への歩み、その現在地 / Our journey to becoming a product engineering organization
hiro_torii
0
120
「Chatwork」の認証基盤の移行とログ活用によるプロダクト改善
kubell_hr
1
110
LinkX_GitHubを基点にした_AI時代のプロジェクトマネジメント.pdf
iotcomjpadmin
0
170
Featured
See All Featured
The Invisible Side of Design
smashingmag
299
51k
Code Review Best Practice
trishagee
68
18k
Unsuck your backbone
ammeep
671
58k
What's in a price? How to price your products and services
michaelherold
246
12k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Visualization
eitanlees
146
16k
Gamification - CAS2011
davidbonilla
81
5.3k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Automating Front-end Workflow
addyosmani
1370
200k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Embracing the Ebb and Flow
colly
86
4.7k
Thoughts on Productivity
jonyablonski
69
4.7k
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