Upgrade to Pro — share decks privately, control downloads, hide ads and more …

fuku-kuma20180622

 fuku-kuma20180622

Azure Kubernetes Service を活用したマイクロサービス開発

9481f5fd577257e4cef132b4fd53ddce?s=128

TonyTonyKun

June 22, 2018
Tweet

Transcript

  1. Azure Kubernetes Service       

     -.   -. 
  2.  ROMANCE DAWN for the new world • http://gooner.hateblo.jp/ Microsoft

    MVP for Microsoft Azure : 2 8 0. 11 0. ,
  3.   %,$ :1   (#+ !& <;5 %,$'+

    " %,$ !) Azure Kubernetes Service Azure Kubernetes Service  %,$0-  %,$6378  %,$./492 $' *  3 1 0 , 22 1 0 . . 8.
  4. Microservices Architecture   

  5.   !3A() %*3A?@GDIF  >  GD5 ## 4&()

    "$ $!/- E7 81 %*06C+  !/-##  ;B<H'9 :.26 =,   51 0 , 22 1 0 . .58.
  6.     *! (&' "   (#

      $ )% $ 1 0 , 22 1 0 6 .6. 8.
  7.          

    1 07 , 22 1 07 . . 8. * ++(+&* $) +!#'"+% 
  8. Azure Kubernetes Service     

  9. Azure Kubernetes Service )$# Kubernetes 8<' Master Node => 752;

    :019Agent %# Agent Node  ,"-63 Kubernetes Cluster &*-!(63 2018/6/14  GA   ./+*-4  9 1 0 , 22 1 0 . . 8.
  10. 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. ,
  11. Azure Kubernetes Service    

  12. Azure Kubernetes Service  Azure Portal GUI  Service Principal

      Azure CLI 2.0   Azure CLI 2.0  • Azure Portal  Cloud Shell • Docker Image (azuresdk/azure-cli-python) • Local Install 2 8 0. 11 0. ,
  13. kubectl    Kubernetes 0*  #!# " Azure

    CLI 2.0 - #" Azure CLI 2.0 - #" .+ kubernetes /%)&$( .kube/config "/%)&,' 3 1 0 , 22 1 0 . . 8. $ az aks get-credentials --resource-group=<> --name=<AKS>  https://kubernetes.io/docs/tasks/tools/install-kubectl/ $ az aks install-cli
  14. Helm Charts Kubernetes  Charts Kubernetes  YAML  

    YAML *)#&' "+ -! Charts ( Helm !$ ,%   Client ( helm ) Server ( tiller ) Kubeapps Hub  Charts Repository https://hub.kubeapps.com/ 4 1 0 , 22 1 0 . . 8.
  15. Demo AKS  ASP.NET Core     51

    0 , 22 1 0 . .58. Azure Kubernetes Service Node Pod Container Service Node Pod Container Container Registry Docker Hub Docker Pull Request Client
  16. Azure Kubernetes Service    

  17. 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 1 07 , 22 1 07 . . 8.
  18. Demo Grafana  Prometheus     2 8

    0. 11 0. , Grafana Azure Kubernetes Service Prometheus k8s API Server App Exporter cAdvisor Kube State Metrics Node Exporter   
  19. Azure Kubernetes Service       

  20.  ( Istio ) GoogleIBMLyft84 )0'" Kubernetes 1 !)/ &57=A26

    D>  B; Blue / Green !)/+0" $,,,  "(. %-* # 3G".0 Kubernetes E9 HC  Istio @ ?F :<  2 8 0. 11 0. ,
  21. ( Istio ) Istio  2 8 0. 11 0.

    , Envoy     Istio Proxy        
  22. Demo   2 8 0. 11 0. , 50

    % 50 % Reviews     
  23. Demo  3 1 0 , 22 1 0 .

    . 8.
  24.  #'  >2+ &&:8 9. 3 $0- :/4 !#(5)

      =6 % &5)  Azure Kubernetes Service # Kubernetes ;?  #'  ,*7/ 1< "%!$ 4 1 0 , 22 1 0 . . 8.