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
第11回 Tokyo JAZUG Night
Search
TonyTonyKun
February 25, 2018
Technology
0
1.4k
第11回 Tokyo JAZUG Night
Azure Container Service(AKS)の初心者向けのセッション資料です。
TonyTonyKun
February 25, 2018
Tweet
Share
More Decks by TonyTonyKun
See All by TonyTonyKun
Azure App Service on Linux の Sidecar に Phi-3 を配置してインテリジェントなアプリケーションを作ってみよう/jazug-anniv14
thara0402
0
990
サイクルガードサービス AlterLock の問い合わせ対応業務に Azure OpenAI Service を活用した話/jazug46
thara0402
0
870
Microsoft Ignite 2023 現地参加レポート/ignite2023
thara0402
0
250
Azure Container Apps で .NET 7 アプリを Blue-Green デプロイしてみよう!/jazug12
thara0402
0
1.7k
Azure Synapse Analytics 入門/jazug11
thara0402
0
710
Azure Bicep で始める Infrastructure as Code/ace0917
thara0402
0
450
Introduction to Azure Synapse Analytics/ace0416
thara0402
0
500
Azure Kubernetes Service を活用したマイクロサービス開発/clouddev
thara0402
0
470
Azure Kubernetes Service を活用したマイクロサービス開発/Ignite-osaka
thara0402
0
480
Other Decks in Technology
See All in Technology
偶然 × 行動で人生の可能性を広げよう / Serendipity × Action: Discover Your Possibilities
ar_tama
1
740
技術負債の「予兆検知」と「状況異変」のススメ / Technology Dept
i35_267
1
1k
FastConnect の冗長性
ocise
1
9.6k
SCSAから学ぶセキュリティ管理
masakamayama
0
140
Kubernetes x k6 で負荷試験基盤を開発して 負荷試験を民主化した話 / Kubernetes x k6
sansan_randd
2
730
ビジネスと現場活動をつなぐソフトウェアエンジニアリング~とあるスタートアッププロダクトの成長記録より~
mizunori
0
210
自動テストの世界に、この5年間で起きたこと
autifyhq
10
7.1k
現場で役立つAPIデザイン
nagix
29
10k
Tech Blogを書きやすい環境づくり
lycorptech_jp
PRO
0
120
『衛星データ利用の方々にとって近いようで触れる機会のなさそうな小話 ~ 衛星搭載ソフトウェアと衛星運用ソフトウェア (実物) を動かしながらわいわいする編 ~』 @日本衛星データコミニティ勉強会
meltingrabbit
0
120
AWSでRAGを実現する上で感じた3つの大事なこと
ymae
3
1k
TAMとre:Capセキュリティ編 〜拡張脅威検出デモを添えて〜
fujiihda
0
100
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Music & Morning Musume
bryan
46
6.3k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
Typedesign – Prime Four
hannesfritz
40
2.5k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Designing for humans not robots
tammielis
250
25k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
310
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
29
4.6k
Transcript
Azure Container ServiceAKS .1 0
ROMANCE DAWN for the new world • http://gooner.hateblo.jp/ Microsoft
MVP for Microsoft Azure : 2 8 0. 11 0. ,
Azure Container Service ( AKS ) .) ASP.NET
Core %$'& Azure Container Service ( AKS ) OSS * (+ "Helm Chats !#Istio !%,-Prometheus + Grafana 3 1 0 , 22 1 0 . . 8.
Overview ) () (
Consistent &4*- .1LI7=H FD#4.3%0",6 &,85 Lightweight Virtual Machine
@B:C ;9A RAM : Sharing Docker Hub Azure Container Registry Docker Registry MK >< Simple yet powerfull DockerFile '4.2*$)+G?!/(JE 51 0 , 22 1 0 . .58.
Azure Azure Virtual Machine Azure Service Fabric Azure
Web Apps for Containers Azure Container ServiceACS Azure Container ServiceAKS Azure Container Instances 1 0 , 22 1 0 6 .6. 8. 2018228Preview
Azure ≠ AKS Azure Web Apps for Containers
Azure (6,."I >DFL )/+ :N! Azure Web Apps (6,.P Kubernetes 8K9A=! E Web #03 '*26C< ! 7? AKS J@ "H (6,.%'+-4*26Kubernetes J@ OB(6,.#03'*26";M 1$&5)/+G 1 07 , 22 1 07 . . 8.
Kubernetes ( k8s ) +?04#aK53YQ "#7;/2 6'9b ! +?04%:,OK#NC!53YQ"!
IZ!SH VdUAF-*=$&2 ! -*=$&2+?04BTE[ c] ! G\@+?04 `R!AFD+?04 WFNC OK#X_M "! +?04^DAF><?)$/712"! Azure LJ(;&38?. P ! Amazon Elastic Container Service for KubernetesEKS Google Kubernetes EngineGKE 2 8 0. 11 0. ,
Azure Container ServiceAKS &! Kubernetes 59 $ Master " :;
42 /8 7-.6Agent " Agent " )*30 Kubernetes Cluster #'*%30 +,('*1 9 1 0 , 22 1 0 . . 8.
Azure Container ServiceACS -#&"$, +-3A(" DC / OS Kubernetes Docker
Swarm *'!%(" 7#-) ,$ 61;?B> ;?0<4 IaaS : 85"$/ AKS =.209@ (" 2 8 0. 11 0. ,
Quick Start
Azure Container ServiceAKS Azure Portal GUI Service Principal
Azure CLI 2.0 Azure Portal Cloud Shell Service Principal 2 8 0. 11 0. , $ az group create --name <> --location westus2 $ az aks create --resource-group <> –name <AKS> --generate-ssh-keys
AKS Service Principal Kubernetes Azure ,& ("
$) • ! IP *% Azure Portal Cloud Shell ' -+ &# 3 1 0 , 22 1 0 . . 8. $ az account set --subscription < ID> $ az ad sp create-for-rbac --role=“Contributor” --scopes=“/subscriptions/ ID”
kubectl Kubernetes 0* #!# " Azure
CLI 2.0 - #" Azure CLI 2.0 - #" .+ kubernetes /%)&$( .kube/config "/%)&,' 4 1 0 , 22 1 0 . . 8. $ az aks get-credentials --resource-group=<> --name=<AKS> $ kubectl get nodes https://kubernetes.io/docs/tasks/tools/install-kubectl/ $ az aks install-cli
Demo AKS ASP.NET Core 51
0 , 22 1 0 . .58. Agent Node Agent Node Pod Service Container Master Node Azure Container Service ( Kubernetes ) Docker Hub Request docker pull
AKS OSS +
+
Helm Charts Kubernetes Charts Kubernetes YAML
YAML '&!$% ( Helm " )# Client ( helm ) Server ( tiller ) Kubeapps Hub Charts Repository https://hub.kubeapps.com/ 1 07 , 22 1 07 . . 8.
Demo Helm Charts WordPress 2 8
0. 11 0. ,
( Istio ) GoogleIBMLyft3/ &+$! Kubernetes , &* #028<-1
?9 =6 Blue / Green &*'+! "((( !%) .B!)+ Kubernetes @4 C> Istio ; :A 57 9 1 0 , 22 1 0 . . 8.
( Istio ) Istio 2 8 0. 11 0.
, Envoy Istio Proxy
Demo 2 8 0. 11 0. , 50
% 50 % Reviews
Demo 2 8 0. 11 0. ,
AKS Prometheus Kubernetes L?>6 Pull JFG#3 +%*2A; FG7H5<8 =B
• ,204 • Pod • 4$( • )' .&2NKMSlack .3 1&9C Grafana Prometheus =B.&2!"/-' EG: ,14I@ % A;ED 3 1 0 , 22 1 0 . . 8.
Demo Grafana Prometheus 4 1
0 , 22 1 0 . . 8. Grafana Azure Container Service ( Kubernetes ) Prometheus k8s API Server App Exporter cAdvisor Kube State Metrics Node Exporter
Azure Container ServiceAKS<.+$) Kubernetes =@ A9 Web -1!#03:4 #%&/=@
Azure Container ServiceAKS;> "3&*!%(2#03', ( Kubernetes 6B OSS 75C?8 51 0 , 22 1 0 . .58. %& # $ "! '