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
720
サイクルガードサービス AlterLock の問い合わせ対応業務に Azure OpenAI Service を活用した話/jazug46
thara0402
0
790
Microsoft Ignite 2023 現地参加レポート/ignite2023
thara0402
0
190
Azure Container Apps で .NET 7 アプリを Blue-Green デプロイしてみよう!/jazug12
thara0402
0
1.6k
Azure Synapse Analytics 入門/jazug11
thara0402
0
660
Azure Bicep で始める Infrastructure as Code/ace0917
thara0402
0
410
Introduction to Azure Synapse Analytics/ace0416
thara0402
0
460
Azure Kubernetes Service を活用したマイクロサービス開発/clouddev
thara0402
0
430
Azure Kubernetes Service を活用したマイクロサービス開発/Ignite-osaka
thara0402
0
430
Other Decks in Technology
See All in Technology
ZOZOのデータマネジメントの取り組み:これまでとこれから / ZOZO's Data Management Initiatives
takagiyudai
0
550
LeSS Yoake 2024 スポンサーセッション
riki_hiraoka
0
280
Databricksで構築する初めての複合AIシステム - ML15min
taka_aki
2
1.3k
WebRTC と Wasm の関係を振り返ってみた
tetter27
0
230
Databricksワークショップ - 生成AIとDWH
taka_aki
2
4.5k
Comparing Apache Flink and Spark for Modern Stream Data Processing
sharonx
0
170
APIテスト自動化の勘所
yokawasa
2
210
顧客が本当に必要だったもの - パフォーマンス改善編 / Make what is needed
soudai
16
3.5k
AWS SAW(AWS Support Automation Workflows)をもっと広めたい
kazzpapa3
2
170
API開発健全性 〜 持続可能で高品質なAPIのためのアプローチ 〜
nagix
2
210
AWS CDK を活用した 大量 AWS アカウントへのプロビジョニング例 〜 SaaSus Platform の場合 〜 於 JAWS-UG CDK支部 #17
yaggy
1
220
dbt-coreで実現するCore DataMartsのデータモデリング〜dbt編〜 / Core DataMarts Modeling with dbt-core
i125
3
1.1k
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Visualization
eitanlees
143
15k
Typedesign – Prime Four
hannesfritz
39
2.4k
4 Signs Your Business is Dying
shpigford
180
21k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
What's in a price? How to price your products and services
michaelherold
243
11k
Being A Developer After 40
akosma
86
590k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
92
16k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
Imperfection Machines: The Place of Print at Facebook
scottboms
264
13k
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. %& # $ "! '