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

NetApp Kubernetes Services

NetApp Kubernetes Services

Presentation at the NetApp Technology Forum 2019 in Lausanne, Switzerland.

Adrian Kosmaczewski
PRO

September 26, 2019
Tweet

More Decks by Adrian Kosmaczewski

Other Decks in Technology

Transcript

  1. NETAPP
    NETAPP
    KUBERNETES
    KUBERNETES
    SERVICES
    SERVICES
    Adrian Kosmaczewski

    View Slide

  2. AGENDA
    AGENDA
    1. Introduction to Kubernetes
    2. Demo of the NetApp Kubernetes Service
    3. Introduction to OpenShift

    View Slide

  3. KUBERNETES
    KUBERNETES
    Feature-rich, established and growing
    True cloud platform
    Horizontal scaling
    Automated rollouts and rollbacks
    Self-healing

    View Slide

  4. KUBERNETES
    KUBERNETES
    Third generation container management from
    Google
    Open sourced in 2014
    Rapid adoption in market
    Strong contributors like Red Hat (OpenShift)

    View Slide

  5. KUBERNETES
    KUBERNETES
    Available on
    Amazon: EKS
    Google Cloud Platform: GKE
    Azure: AKS
    Your laptop!

    View Slide

  6. KUBERNETES TERMINOLOGY
    KUBERNETES TERMINOLOGY
    Pod
    Pod
    One or more containers running inside
    Kubernetes
    Service
    Service
    Publicly-available endpoint to access a web
    service through a load balancer

    View Slide

  7. KUBERNETES TERMINOLOGY
    KUBERNETES TERMINOLOGY
    Persistence Volume (PV)
    Persistence Volume (PV)
    Unit of networked storage
    Persistence Volume Claim (PVC)
    Persistence Volume Claim (PVC)
    Request for storage from a Pod

    View Slide

  8. TRIDENT
    TRIDENT
    Storage orchestrator for NetApp storage
    Open Source (released December 2016)
    Out of tree, out of process
    Usually installed as a Kubernetes pod
    Watches for PVC requests

    View Slide

  9. REVOLUTION
    REVOLUTION
    Containers have taken over
    Kubernetes is leader in container
    orchestration
    Trident enables dynamically provisioned
    storage for Kubernetes
    NetApp Kubernetes Service makes
    Kubernetes easier!

    View Slide

  10. NETAPP KUBERNETES
    NETAPP KUBERNETES
    SERVICE
    SERVICE
    30-day free trial
    Console: nks.netapp.io

    View Slide

  11. View Slide

  12. View Slide

  13. View Slide

  14. View Slide

  15. View Slide

  16. View Slide

  17. View Slide

  18. View Slide

  19. View Slide

  20. View Slide

  21. View Slide

  22. View Slide

  23. View Slide

  24. View Slide

  25. View Slide

  26. ip-172-23-2-178.eu-central-1.compute.internal Ready 159m v1.15.3
    ip-172-23-2-206.eu-central-1.compute.internal Ready master 160m v1.15.3
    %
    asciinema $ export KUBECONFIG=clusters/aks/kubeconfig
    %
    asciinema $ kubectl get nodes
    NAME STATUS ROLES AGE VERSION
    netpabu31c-master-1 Ready master 97m v1.15.3
    netpabu31c-worker-1 Ready 96m v1.15.3
    netpabu31c-worker-2 Ready 95m v1.15.3
    %
    asciinema $ export KUBECONFIG=clusters/gce/kubeconfig
    %
    asciinema $ kubectl get nodes
    NAME STATUS ROLES AGE VERSION
    netfocobew-master-1 Ready master 132m v1.15.3
    netfocobew-worker-1 Ready 130m v1.15.3
    netfocobew-worker-2 Ready 130m v1.15.3
    %
    asciinema $
    00:00
    asciinema.org/a/267702

    View Slide

  27. LET’S DEPLOY AN
    LET’S DEPLOY AN
    APPLICATION!
    APPLICATION!

    View Slide

  28. service/mysql created
    service/wordpress created
    deployment.apps/mysql created
    deployment.apps/wordpress created
    persistentvolume/mysql-pv created
    persistentvolume/wordpress-pv created
    persistentvolumeclaim/mysql-pvc created
    persistentvolumeclaim/wordpress-pvc created
    %
    asciinema $ kubectl get pods
    NAME READY STATUS RESTARTS AGE
    mysql-98565d745-zmxw5 1/1 Running 0 6s
    wordpress-67946cd8d8-hz6f4 1/1 Running 0 6s
    %
    asciinema $ kubectl get services
    NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
    kubernetes ClusterIP 10.3.0.1 443/TCP 3h5m
    mysql ClusterIP None 3306/TCP 12s
    wordpress LoadBalancer 10.3.0.196 80:32719/TCP 12s
    %
    asciinema $
    00:00
    asciinema.org/a/267726

    View Slide

  29. OPENSHIFT
    OPENSHIFT
    Kubernetes distribution by Red Hat
    Based on Kubernetes since 2015 (version 3)
    Basis of appuio.ch

    View Slide

  30. View Slide

  31. View Slide

  32. DOCUMENTATION
    DOCUMENTATION
    cloud.netapp.com/kubernetes-service
    docs.netapp.com/us-en/kubernetes-service
    nks.netapp.io

    View Slide

  33. THANKS!
    THANKS!
    Adrian Kosmaczewski – [email protected]

    View Slide