$30 off During Our Annual Pro Sale. View Details »

Kubernetes: Ecosystem & Cluster Ops

Adam Hawkins
February 15, 2017

Kubernetes: Ecosystem & Cluster Ops

Part 2 of a Kubernetes webinar series for CloudAcademy

Adam Hawkins

February 15, 2017
Tweet

More Decks by Adam Hawkins

Other Decks in Technology

Transcript

  1. Kubernetes: Ecosystem &
    Production
    cloudacademy.com

    View Slide

  2. Plan
    Goal: Introduce you to real world Kubernetes
    Presentation
    ~10 minutes for Q & A. Please put your questions in the chat.

    View Slide

  3. Hi! I’m Adam Hawkins
    • Site Reliability Engineering Team Lead at Saltside

    • Manages ~350 containers in production

    • 2+ years of Docker experience

    • “Introduction to Docker” course lecturer

    • “Introduction to Kubernetes” course lecturer

    • @adman65; http://blog.slashdeploy.com

    View Slide

  4. Agenda
    Production Preparedness
    Application Packaging & Cluster Ops
    Ecosystem Tools
    Question / Answer

    View Slide

  5. Production Preparedness

    View Slide

  6. Useful Resources
    • DaemonSet: Schedule a pod on each node
    • StatefulSet: Stateful application support
    • Job & CronJob: Batch processing
    • Ingress (https:/
    /kubernetes.io/docs/user-guide/ingress/)

    View Slide

  7. Ingress

    View Slide

  8. Production Practices
    • Set resource requests & limits
    • Separate critical & non-critical workloads
    • Node selectors
    • Set liveness & readiness probes
    • Add telemetry
    • Prep for node maintenance (draining & rescheduling pods)
    • Plan for Availability (investigate federated clusters)
    • Keep resource definitions in (YML/JSON) under source control
    • Secure your cluster!

    View Slide

  9. Application Packaging
    &
    Cluster Ops

    View Slide

  10. Helm (https:/
    /github.com/kubernetes/helm)
    • helm install app-mysql mysql
    • helm rollback app-mysql
    • helm create my-app
    • helm package

    View Slide

  11. kops (https:/
    /github.com/kubernetes/kops)
    • kops create cluster
    • kops edit cluster
    • kops upgrade

    View Slide

  12. Ecosystem

    View Slide

  13. Ecosystem
    • https:/
    /github.com/kubernetes/charts (Official Helm charts; very active
    repo!)
    • Tectonic from CoreOS
    • Kubernetes Enterprise Toolkit from Apprenda
    • Google Container Engine (GKE)
    • Kubernetes the Hard Way by Kelsey Hightower
    • Official Slack Channel (http:/
    /slack.kubernetes.io)

    View Slide

  14. Question Time
    cloudacademy.com

    View Slide

  15. Thank you!
    https:/
    /cloudacademy.com/webinars/
    https:/
    /cloudacademy.com/enterprise-cloud-training/
    https:/
    /cloudacademy.com/pricing/
    cloudacademy.com

    View Slide