what's new in kubernetes 1.3?
TRANSCRIPT
About me:
● Work at Red Hat on project kompose in Developer Tooling Team● python and golang programmer● Open Source enthusiast● Likes to share knowledge● surajd in [irc, slack], surajssd in [github], surajd_ in [twitter]● Blog: https://deshmukhsuraj.wordpress.com/
init-containers
● Sequential pod initialization● They can perform initialization of shared volumes, or configuration● Delay the startup of application containers until pre-conditions are met ● Register pod with other components of system● Its alpha in 1.3
Demo
Recorded Video Link: Watch here
PetSet
● Applications that need PersistentDisks, Stable Hostnames, Lifecycle Actions, Identities in a Group a.k.a Clustered Applications
● Now you can run clustered applications on k8s ● An ordinal index of Pets: 0, 1, 2, 3, etc ● Stable storage linked to hostname of Pet.● Applications like Cassandra, Zookeeper, etcd, etc. can now run on k8s.● Alpha in k8s 1.3
Demo
Recorded Video Link: Watch here
Kubernetes Cluster Federation a.k.a. Ubernetes
● Bring in multiple clusters across different regions, cloud providers, or on premise installations into single interface.
● Load balance across multiple clusters● Use when your application need HA, wanna make it globally available,
wanna make use multiple cloud providers, wanna mix usage of on-premise and public cloud simultaneously, etc.
● You can provide HA for your application across regions and Cloud providers.
● location affinity, cross-cluster scheduling, service discovery and application migration
● Pods in your application can do service discovery● Beta in k8s 1.3● Demo: https://github.com/kelseyhightower/kubernetes-cluster-federation
MiniKube
● Single node Kubernetes on your laptop.● For users who wanna try it or develop with it on daily basis.● It’s a Linux VM that has Docker and Kubernetes.● Uses libmachine for provisioning VMs.● Limitations: cannot use things that need cloud, like LoadBalancers,
PersistentVolumes, Ingress, etc.
Demo
Kubernetes UI
● Not a new release, but many new things added in this release● Shows all the resources● You can edit the resources in the dashboard itself● Also a view cluster nodes
rkt support
● Rkt is container runtime from CoreOS● With this release rkt is also a first class citizen of Kubernetes world● So k8s has pluggable container runtime environments.
Learn more about Kubernetes
● Docs: http://kubernetes.io/docs/● Free Course: Scalable Microservices with Kubernetes● Learn Kubernetes with zero setup: Kubernetes BootCamp● Free course from Red Hat: Docker, Kubernetes and OpenShift● Demo Scripts github repo: https://github.com/surajssd/k8s_demos
Contribute/Participate
● More about Kubernetes: http://kubernetes.io/ ● Code: https://github.com/kubernetes/kubernetes/● Slack: http://slack.k8s.io/● Google Group/Mailing List:
https://groups.google.com/d/forum/kubernetes-dev● Twitter: @kubernetesio● StackOverflow: http://stackoverflow.com/questions/tagged/kubernetes
Ref
● k8s Jobs http://kubernetes.io/docs/user-guide/jobs/● What's New in K8s 1.3? https://www.youtube.com/watch?v=aMMgbDSvZ7E● Autoscaling in Kubernetes http://blog.kubernetes.io/2016/07/autoscaling-in-kubernetes.html● The Kubernetes resource model https://github.com/kubernetes/kubernetes/blob/release-1.3/docs/design/resources.md● Managing Compute Resources http://kubernetes.io/docs/user-guide/compute-resources/● Horizontal Pod Autoscaling http://kubernetes.io/docs/user-guide/horizontal-pod-autoscaling/● PetSets http://kubernetes.io/docs/user-guide/petset/bootstrapping/● Thousand Instances of Cassandra using Kubernetes Pet Set http://blog.kubernetes.io/2016/07/thousand-instances-of-cassandra-using-kubernetes-pet-set.html● k8sbday https://www.youtube.com/watch?v=SI4e_ePGSHU&feature=youtu.be● Kubernetes & GKE v1.3 Overview by Vish Kannan https://speakerdeck.com/vishh/kubernetes-and-gke-v1-dot-3-overview● Federated Kubernetes Tutorial https://github.com/kelseyhightower/kubernetes-cluster-federation● Cross Cluster Services - Achieving Higher Availability for your Kubernetes Applications http://blog.kubernetes.io/2016/07/cross-cluster-services.html● Kubernetes Cluster Federation https://github.com/kubernetes/kubernetes/blob/release-1.3/docs/proposals/federation.md● Overview of Federated Clusters https://cloud.google.com/container-engine/docs/cluster-federation● Dashboard - Full Featured Web Interface for Kubernetes http://blog.kubernetes.io/2016/07/dashboard-web-interface-for-kubernetes.html● rktnetes brings rkt container engine to Kubernetes http://blog.kubernetes.io/2016/07/rktnetes-brings-rkt-container-engine-to-Kubernetes.html