Git Product home page Git Product logo

workshop's Introduction

Beyond the Basics: OpenEBS - Container Attached Storage (CAS) for Kubernetes

OpenEBS solution is a new approach to solving persistent storage issues for Kubernetes stateful applications. It provides a true cloud native storage solution to the containerized applications, in that the storage software itself is containerized. In other words, with OpenEBS each stateful workload is allocated a dedicated storage controller, which increases the agility and flexibility of data protection operations and granularity of storage policies of the given stateful workload.

Please read the Introduction to OpenEBS, and also Concepts to familiarize yourself with OpenEBS and its architecture. We will discuss all in details in the following workshop.

In this workshop, we will go over some of the basics that have emerged in Kubernetes around persistent workloads. We will go over Persistent Volumes (PVs), Persistent Volume Claims (PVCs) and how Kubernetes provisions them.

We will also discuss the dynamic provisioners and how they can be used to setup PVs and PVCs dynamically and show how we can build a resilient storage system using Container Attached Storage (CAS) concepts. We will go over Storage Engines, Storage Schemas, and Policies and how they can help you build a fully DevOps centric deployment with persistent storage, while not losing any of agility that Kubernetes provides.

We will finish the workshop with K8s snapshots and how they can be used to rollout applications using the blue/green approach.

Objectives

After you complete this course, you'll be able to:

  • Explain benefits of CAS
  • Download and install OpenEBS in your cluster
  • Deploy stateful workloads
  • Modify and create your own storage classes
  • Use metrics, to observe services
  • Perform simple green/blue deployments
  • Take/restore snapshot of your stateful workloads
  • Rollout your stateful application with blue/green deployment

Prerequisites / Preparation for the workshop

You need to either BYOKC (Bring Your Own Kubernetes Cluster) or pick one of the options below (local or cloud) and perform the steps prior to the workshop.

  1. Local: A laptop with sufficient CPU and memory to run Kubernetes locally using Minikube on Virtualbox VM
  2. Cloud: A subscription with a cloud provider (AWS) and StackPointCloud account (Free 30 Day trial available) to run a K8s cluster

You also need to have your development environment with all your favorite tools with you. And finally, interest in figuring out how to use K8s with persistent workloads.

You should have a basic understanding of containers, Kubernetes, CAS and OpenEBS. If you have no experience with those, go through the following documentation before the workshop:

  1. Get started with Kubernetes
  2. Get started with OpenEBS

Workshop setup

Configuring OpenEBS

Monitoring OpenEBS

Managing Snapshots

Blue/Green Deployment

workshop's People

Contributors

muratkars avatar gila avatar

Watchers

James Cloos avatar Pamir avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.