youtube image
From YouTube: Configuring and Deploying Stateful Applications with PetSet by David Oppenheimer

Description

Configuring and Deploying Stateful Applications with PetSet - David Oppenheimer and Prashanth Balasubramanian, Google & Clayton Coleman, Red Hat

Kubernetes 1.3 introduced the PetSet abstraction, which represents a collection of Pods with unique identities represented by an index, along with associated persistent storage and network identities. PetSet makes it easy to run stateful services on Kubernetes, including clustered applications like ZooKeeper and Redis. In this talk we discuss the design and implementation of PetSet, show how to use PetSet to deploy some common off-the-shelf stateful applications, and discuss our future plans for PetSet. We also describe “init containers,” which allow you to set up the user environment of a pod before the main container starts executing. We demonstrate how you can use this feature to configure the relationship between master and peers in a clustered application that is managed by a PetSet, and how new replicas are automatically configured when the application scales up.

About
Join us for KubeCon + CloudNativeCon in Barcelona May 20 - 23, Shanghai June 24 - 26, and San Diego November 18 - 21! Learn more at https://kubecon.io. The conference features presentations from developers and end users of Kubernetes, Prometheus, Envoy and all of the other CNCF-hosted projects.