Slide 1

Slide 1 text

Azure Container ServiceAKS .1 0

Slide 2

Slide 2 text

ROMANCE DAWN for the new world • http://gooner.hateblo.jp/ Microsoft MVP for Microsoft Azure : 2 8 0. 11 0. ,

Slide 3

Slide 3 text

Azure Container Service ( AKS ) .) ASP.NET Core %$'& Azure Container Service ( AKS ) OSS *(+ "Helm Chats !#Istio !%,-Prometheus + Grafana 3 1 0 , 22 1 0 . . 8.

Slide 4

Slide 4 text

Overview ) () (

Slide 5

Slide 5 text

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.

Slide 6

Slide 6 text

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

Slide 7

Slide 7 text

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*26KubernetesJ@ OB(6,.#03'*26";M 1$&5)/+G 1 07 , 22 1 07 . . 8.

Slide 8

Slide 8 text

Kubernetes ( k8s ) +?04#aK53YQ"#7;/2 6'9b! +?04%:,OK#NC!53YQ"! IZ!SH VdUAF-*=$&2! -*=$&2+?04BTE[ c]! G\@+?04`R!AFD+?04WFNC OK#X_M "! +?04^DAF>)$/712"! Azure LJ(;&38?. P ! Amazon Elastic Container Service for KubernetesEKS Google Kubernetes EngineGKE 2 8 0. 11 0. ,

Slide 9

Slide 9 text

Azure Container ServiceAKS &! Kubernetes 59$ Master " :;42/8 7-.6Agent " Agent " )*30 Kubernetes Cluster #'*%30 +,('*1 9 1 0 , 22 1 0 . . 8.

Slide 10

Slide 10 text

Azure Container ServiceACS -#&"$, +-3A(" DC / OS Kubernetes Docker Swarm *'!%("7#-) ,$ 61;?B> ;?0<4 IaaS : 85"$/ AKS =.209@ (" 2 8 0. 11 0. ,

Slide 11

Slide 11 text

Quick Start

Slide 12

Slide 12 text

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 --generate-ssh-keys

Slide 13

Slide 13 text

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”

Slide 14

Slide 14 text

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= $ kubectl get nodes https://kubernetes.io/docs/tasks/tools/install-kubectl/ $ az aks install-cli

Slide 15

Slide 15 text

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

Slide 16

Slide 16 text

AKS OSS + +

Slide 17

Slide 17 text

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.

Slide 18

Slide 18 text

Demo Helm Charts WordPress 2 8 0. 11 0. ,

Slide 19

Slide 19 text

( Istio ) GoogleIBMLyft3/ &+$! Kubernetes , &* #028<-1?9 =6 Blue / Green &*'+! "((( !%) .B!)+ Kubernetes @4 C> Istio ;:A 57 9 1 0 , 22 1 0 . . 8.

Slide 20

Slide 20 text

( Istio ) Istio 2 8 0. 11 0. , Envoy Istio Proxy

Slide 21

Slide 21 text

Demo 2 8 0. 11 0. , 50 % 50 % Reviews

Slide 22

Slide 22 text

Demo 2 8 0. 11 0. ,

Slide 23

Slide 23 text

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.

Slide 24

Slide 24 text

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

Slide 25

Slide 25 text

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. %& # $ "! '