O'Reilly logo
live online training icon Live Online training

Up and Running with Kubernetes: A Practical Approach

Learn the basics of container orchestration and management

Douglas Eadline

Containers provide a fluid approach to computing by separating the underlying hardware (real or virtual) from the application. Kubernetes is an open-source container-orchestration system used for automating application deployment, scaling, and management. Originally designed by Google it is now maintained by the Cloud Native Computing Foundation. Kubernetes works with a range of container tools including Docker.

Kubernetes can be considered a container operating system where application resource and storage needs are matched to an underlying cluster environment (either virtual or real). This course provides both background for users coupled with a practical hands-on introduction to Kubernetes.

What you'll learn-and how you can apply it

  • Understand the problem Kubernetes solves
  • Learn the components of a Kubernetes cluster
  • Understand how Kubernetes components interact with each other
  • Learn how to start a small virtual Kubernetes cluster (Minikube) on a laptop
  • As a Kubernetes user, create and run simple container examples on Minikube
  • Learn about the four major versions of Kubernetes available in the cloud

This training course is for you because...

  • You are not sure what Kubernetes actual does or why it used
  • You want to understand how to manage containerized applications from a user perspective
  • Hands-on experience is important to you when learning a new technology
  • You need to learn the basics of Kubernetes quickly
  • The ability to continue exploring and implementing after the class is important

Prerequisites

The hands-on portion of the course is done using the Linux command line. The course assumes familiarity using the command line on a modern Linux server. Those skills and topics are covered in the following live online training courses:

Beginning/Intermediate Linux Command Line for Data Engineers (search O'Reilly Learning for upcoming dates)

Please be aware, if you have no experience with the Linux command line, you may find this course difficult to follow.

Setup Instructions:

  • To run the class examples, the Minikube virtual machine will be used (https://minikube.sigs.k8s.io/). Versions are available for Windows, Mac, and Linux.
  • Attendees are invited to download the virtual machine prior to class, however download and installation instructions/examples will be provided as part of the class.

About your instructor

  • Douglas Eadline, PhD, began his career as an analytical chemist with an interest in computer methods. Starting with the first Beowulf how-to document, Doug has written instructional documents covering many aspects of Linux HPC (High Performance Computing) and Hadoop computing. Currently, Doug serves as editor of the ClusterMonkey.net website and was previously editor of ClusterWorld Magazine, and senior HPC Editor for Linux Magazine. He is also an active writer and consultant to the HPC/Analytics industry. His recent video tutorials and books include of the Hadoop and Spark Fundamentals LiveLessons (Addison Wesley) video, Hadoop 2 Quick Start Guide (Addison Wesley), High Performance Computing for Dummies (Wiley) and Practical Data Science with Hadoop and Spark (Co-author, Addison Wesley).

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

Segment 1: Introduction and Course Goals (10 mins)

  • Class Resources and web page
  • How to get the most out of this course
  • Required prerequisite skills

Segment 2: Kubernetes Background and Concepts (25 mins)

  • Why is Kubernetes needed
  • Containers vs virtual machines
  • Kubernetes Architecture

Segment 3: Kubernetes Components (45 mins)

  • Basic Master Components
  • Basic Node Components
  • Higher Level Components (Abstractions)
  • Additional Kubernetes Components

Break (10 mins)

Segment 4: Example Minikube (55 mins)

  • Using VirtualBox
  • Download and start Minikube
  • Run a simple Docker container
  • Interacting with the Minikube cluster
  • Kubernetes Dashboard
  • Networking
  • Persistent volumes

Segment 5: Using Kubernetes in the Cloud (25 mins)

  • Google: Kubernetes Engine (GKS)
  • Microsoft: Azure Kubernetes Service (AKS)
  • Amazon: Elastic Kubernetes Service (EKS)
  • Red Hat: OpenShift

Segment 6: Course Wrap-up, Questions, and Additional Resources (10 mins)