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

interact2018.pdf

 interact2018.pdf

9481f5fd577257e4cef132b4fd53ddce?s=128

TonyTonyKun

June 30, 2018
Tweet

Transcript

  1.  Kubernetes 

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

    Azure User Group JAZUG Microsoft MVP for Microsoft Azure : @ 2 8 0. 11 0. ,
  3.  Kubernetes  Kubernetes !# Kubernetes    

    Kubernetes " Kubernetes    3 1 0 , 22 1 0 . . 8.
  4. Kubernetes   

  5.  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.
  6. Kubernetes ( k8s )  *A15&)-3?+;A Kubernetes CIB27!'3-.A/4 *A15 cO64[S

     8<03 7%9d   *A15#:,RO QG 64[S N\UM XfWEK-)>"$3  -)>"$3*A15FVJ]e_  L^D*A15bTEKH*A15YK QGRO ZaP  *A15`HEK@=A("0823  1 0 , 22 1 0 6 .6. 8.
  7. Kubernetes   1 07 , 22 1 07 .

    . 8. Kubernetes Node Pod Node Pod Container Container Master Node    )&+%# ! $*'(+ "!  $*'(+ # !  Container Container
  8. Kubernetes  Kubernetes     2 8 0.

    11 0. , Kubernetes Node Pod Container Service Node Pod Container Client Container Container    
  9. Kubernetes   9 1 0 , 22 1 0

    . . 8. Kubernetes Deployment Replica Set Pod Pod Replica Set Pod Pod         
  10.   Kubernetes 5*!',("! Kubernetes 8<  %2;  Master

    Node =>  74 2; :-.9Agent #! Agent Node + ,63 Kubernetes Cluster $),&63 01/ Kubernetes % Google Kubernetes EngineGKE Azure Kubernetes ServiceAKS Amazon Elastic Container Service for KubernetesEKS 2 8 0. 11 0. ,
  11. Kubernetes    

  12.   Kubernetes  +"'.7=(#" Kubernetes % 65) Google Kubernetes

    EngineGKE Azure Kubernetes ServiceAKS Amazon Elastic Container Service for KubernetesEKS $"# !->;4+"9  &,*.3/<1  20Azure Kubernetes ServiceAKS8 :? 2 8 0. 11 0. ,
  13. 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 3 1 0 , 22 1 0 . . 8.
  14. kubectl    Kubernetes 3.   # #

    ! %0#" #! kubernetes  2(-*&,  Azure CLI 2.0 )$ 1' .kube/config ! 2(-*/+ 4 1 0 , 22 1 0 . . 8. $ az aks get-credentials --resource-group=<> --name=<AKS>  https://kubernetes.io/docs/tasks/tools/install-kubectl/
  15. Demo AKS Kubernetes Cluster   51 0 , 22

    1 0 . .58.
  16. Kubernetes       

  17. kubectl     kubectl run  Deployment Service

     expose  kubectl apply  YAML   1 07 , 22 1 07 . . 8. $ kubectl run < > --image <   > $ kubectl expose deployments < > —port=80 --type=LoadBalancer $ kubectl apply –f deployment.yaml $ kubectl apply –f service.yaml
  18. kubectl     2 8 0. 11 0.

    , Deployment.yaml
  19. Helm Charts Kubernetes  Charts Kubernetes  YAML  

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

    8 0. 11 0. , Kubernetes Node Pod Container Service Node Pod Container Container Registry Docker Hub Docker Pull Client
  21. Kubernetes     

  22. Kubernetes  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 2 8 0. 11 0. ,
  23. Demo Grafana  Prometheus     3 1

    0 , 22 1 0 . . 8. Grafana Kubernetes Prometheus k8s API Server App Exporter cAdvisor Kube State Metrics Node Exporter   
  24. Kubernetes         

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

    D>  B; Blue / Green !)/+0" $,,,  "(. %-* # 3G".0 Kubernetes E9 HC  Istio @ ?F :<  51 0 , 22 1 0 . .58.
  26. ( Istio ) Istio  1 0 , 22 1

    0 6 .6. 8. Envoy     Istio Proxy        
  27. Demo   1 07 , 22 1 07 .

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

  29.  )C04 WM63SR 9?/2 8%< Y  ;#'B*7- WM Web

    "9@(+>C OD FEQH JU9?/28%< '?$3:C.PT ;5,3 Kubernetes *7- NH &--= )C04&(-2A+>C18!'2 Kubernetes  IX OSS KGZV L    9 1 0 , 22 1 0 . . 8.