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

interact2018.pdf

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

 interact2018.pdf

Avatar for TonyTonyKun

TonyTonyKun

June 30, 2018
Tweet

More Decks by TonyTonyKun

Other Decks in Technology

Transcript

  1.  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. ,
  2.  Kubernetes  Kubernetes !# Kubernetes    

    Kubernetes " Kubernetes    3 1 0 , 22 1 0 . . 8.
  3.  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.
  4. 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.
  5. Kubernetes   1 07 , 22 1 07 .

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

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

    . . 8. Kubernetes Deployment Replica Set Pod Pod Replica Set Pod Pod         
  8.   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. ,
  9.   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. ,
  10. 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.
  11. 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/
  12. 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
  13. 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.
  14. 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
  15. 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. ,
  16. Demo Grafana  Prometheus     3 1

    0 , 22 1 0 . . 8. Grafana Kubernetes Prometheus k8s API Server App Exporter cAdvisor Kube State Metrics Node Exporter   
  17.  ( 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.
  18. ( Istio ) Istio  1 0 , 22 1

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

    . 8. 50 % 50 % Reviews     
  20.  )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.