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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5k
Context Engineeringの取り組み
nutslove
0
310
Deno・Bunの標準機能やElysiaJSを使ったWebSocketサーバー実装 / ラーメン屋を貸し切ってLT会! IoTLT 2026新年会
you
PRO
0
300
データ民主化のための LLM 活用状況と課題紹介(IVRy の場合)
wxyzzz
2
690
GitLab Duo Agent Platform × AGENTS.md で実現するSpec-Driven Development / GitLab Duo Agent Platform × AGENTS.md
n11sh1
0
130
Cosmos World Foundation Model Platform for Physical AI
takmin
0
630
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
120
使いにくいの壁を突破する
sansantech
PRO
1
130
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.3k
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
200
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.4k
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
320
How to Ace a Technical Interview
jacobian
281
24k
A Modern Web Designer's Workflow
chriscoyier
698
190k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
For a Future-Friendly Web
brad_frost
182
10k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
300
sira's awesome portfolio website redesign presentation
elsirapls
0
150
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Side Projects
sachag
455
43k
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