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

fuku-kuma20180622

 fuku-kuma20180622

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

TonyTonyKun

June 22, 2018
Tweet

More Decks by TonyTonyKun

Other Decks in Technology

Transcript

  1. Azure Kubernetes Service       

     -.   -. 
  2.   %,$ :1   (#+ !& <;5 %,$'+

    " %,$ !) Azure Kubernetes Service Azure Kubernetes Service  %,$0-  %,$6378  %,$./492 $' *  3 1 0 , 22 1 0 . . 8.
  3.   !3A() %*3A?@GDIF  >  GD5 ## 4&()

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

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

    1 07 , 22 1 07 . . 8. * ++(+&* $) +!#'"+% 
  6. 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.
  7. 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. ,
  8. 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. ,
  9. 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
  10. 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.
  11. 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
  12. 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.
  13. Demo Grafana  Prometheus     2 8

    0. 11 0. , Grafana Azure Kubernetes Service Prometheus k8s API Server App Exporter cAdvisor Kube State Metrics Node Exporter   
  14.  ( Istio ) GoogleIBMLyft84 )0'" Kubernetes 1 !)/ &57=A26

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

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

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

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