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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
TonyTonyKun
March 06, 2021
Technology
0
560
Azure Kubernetes Service を活用したマイクロサービス開発/clouddev
クラウドデベロッパーちゃんねるのセッション動画スライドです。
TonyTonyKun
March 06, 2021
Tweet
Share
More Decks by TonyTonyKun
See All by TonyTonyKun
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
160
これでバッチリ!Azure マルチテナントアーキテクチャ設計のコツ/jat06
thara0402
0
650
Azure Load Testing を使って Azure Functions Flex Consumption の HTTP Trigger のパフォーマンスとコストを最適化してみよう/global-azure2025
thara0402
0
230
Prompty を使って生成 AI アプリケーション開発のプロンプトを管理する/jat03
thara0402
0
65
Azure OpenAI Service で意図せず PTU モデルをデプロイして高額請求されてしまった件/jat04
thara0402
0
77
「Durable Task Scheduler」をチョイ見せ!/jat05
thara0402
0
55
Azure App Service on Linux の Sidecar に Phi-3 を配置してインテリジェントなアプリケーションを作ってみよう/jazug-anniv14
thara0402
0
1.3k
サイクルガードサービス AlterLock の問い合わせ対応業務に Azure OpenAI Service を活用した話/jazug46
thara0402
0
970
Microsoft Ignite 2023 現地参加レポート/ignite2023
thara0402
0
310
Other Decks in Technology
See All in Technology
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
210
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
140
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
200
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
150
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
480
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
350
今日から始めるAmazon Bedrock AgentCore
har1101
4
400
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
300
OWASP Top 10:2025 リリースと 少しの日本語化にまつわる裏話
okdt
PRO
3
560
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
99
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
55
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Building Applications with DynamoDB
mza
96
6.9k
Odyssey Design
rkendrick25
PRO
1
490
Design in an AI World
tapps
0
140
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
65
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
The Curious Case for Waylosing
cassininazir
0
230
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
320
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
140
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
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