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

What's new in Kubernetes 1.3

What's new in Kubernetes 1.3

There's a lot of new features in Kubernetes 1.3. From local clusters to cross cloud federated clusters to persistent data, Kubernetes 1.3 can help your enterprise meet it's needs at scale. Check out this presentation to see what's new in Kubernetes 1.3.

Carter Morgan

July 07, 2016
Tweet

More Decks by Carter Morgan

Other Decks in Technology

Transcript

  1. The App How do I write scalable apps? How do

    I package and distribute? What runtimes am I locked into? @_askcarter
  2. Kubernetes Pre 1.3 Horizontal Scaling Automated Rollbacks Container Scheduling Resource

    Quotas and Limits Self-healing Service Discovery and Load Balancing Secret and Configuration Management Daemon Sets Secrets and Config Maps Deployments (already had a lot) @_askcarter
  3. Pods Logical Application • One or more containers and volumes

    • Shared namespaces • One IP per pod Pod nginx monolith NFS iSCSI GCE 10.1.0.100 @_askcarter
  4. Labels Arbitrary metadata attached to any API object • Queryable

    by Selectors • How Kubernetes does grouping Pod nginx monolith Pod nginx monolith labels: version: v1 track: stable labels: version: v1 track: test @_askcarter
  5. Labels selector: version=v1 Pod nginx monolith Pod nginx monolith labels:

    version: v1 track: stable labels: version: v1 track: test @_askcarter
  6. Labels selector: track=stable Pod nginx monolith Pod nginx monolith labels:

    version: v1 track: stable labels: version: v1 track: test @_askcarter
  7. Services Persistent IPs for Pods • Uses Labels to Target

    Pods • Internal or External IPs Pod nginx monolith Pod nginx monolith Service 10.8.244.100 10.1.0.2 10.1.0.1 @_askcarter
  8. Deployments Drive current state towards desired state Node 1 Pod

    app: hello replicas: 1 hello Node 2 @_askcarter
  9. Deployments Drive current state towards desired state Node 1 Pod

    app: hello replicas: 2 hello Node 2 Pod hello @_askcarter
  10. Deployments Drive current state towards desired state Node 1 Pod

    app: hello replicas: 2 hello Node 2 @_askcarter
  11. Deployments Drive current state towards desired state Node 1 Pod

    app: hello replicas: 2 hello Node 2 Pod hello @_askcarter
  12. Rolling Update Node 1 Pod hello Pod hello Node Pod

    hello Node Pod hello Node Pod hello Service @_askcarter
  13. Rolling Update Node 1 Pod hello Pod hello Node Pod

    hello Node Pod hello Node Pod hello Service Pod goodbye @_askcarter
  14. Rolling Update Node 1 Pod hello Pod hello Node Pod

    hello Node Pod hello Node Pod hello Service Pod goodbye @_askcarter
  15. Rolling Update Node 1 Pod hello Pod hello Node Pod

    hello Node Pod hello Node Pod hello Service Pod goodbye @_askcarter
  16. Rolling Update Node 1 Pod hello Pod hello Node Pod

    hello Node Node Pod hello Service Pod goodbye Pod goodbye @_askcarter
  17. Rolling Update Node 1 Pod hello Pod hello Node Pod

    hello Node Node Pod hello Service Pod goodbye Pod goodbye @_askcarter
  18. Rolling Update Node 1 Pod hello Pod hello Node Pod

    hello Node Node Pod hello Service Pod goodbye Pod goodbye @_askcarter
  19. Rolling Update Node 1 Pod hello Pod hello Node Pod

    hello Node Node Service Pod goodbye Pod goodbye @_askcarter
  20. Rolling Update Node 1 Pod hello Pod hello Node Pod

    hello Node Node Service Pod goodbye Pod goodbye Pod goodbye @_askcarter
  21. Rolling Update Node 1 Pod hello Pod hello Node Pod

    hello Node Node Service Pod goodbye Pod goodbye Pod goodbye @_askcarter
  22. Rolling Update Node 1 Pod hello Pod hello Node Pod

    hello Node Node Service Pod goodbye Pod goodbye Pod goodbye @_askcarter
  23. Rolling Update Node 1 Pod hello Pod hello Node Node

    Node Service Pod goodbye Pod goodbye Pod goodbye @_askcarter
  24. Kubernetes 1.3 Init containers (alpha) Fixed PDs Cluster Federation (alpha)

    Optional HTTP2 Pod Level QoS Policy Tls secrets kubectl set command UI Jobs RBAC (alpha, experimental) Garbage Collector (alpha) Pet Sets rkt Container runtime Network policies (and more) @_askcarter
  25. Jobs Pods *expected* to terminate Creates 1...n Pods and ensures

    that a certain number of them run to completion 3 types: non-parallel, fixed count parallel, and parallel with a work queue @_askcarter
  26. Pet Sets Pods with ego Pods are fungible, stateless? Pets

    are Pods with: 1. Stable hostname 2. A unique name 3. Stable storage @_askcarter
  27. Google Container Engine (GKE) Cluster autoscaling (beta) IAM support Local

    SSD Container-VM Images (beta) Node pools @_askcarter
  28. Kubernetes 1.3 Planet Scale - SLA 2000 nodes Never Outgrow

    - minikube to prod Run Anywhere - Cluster Federation @_askcarter