O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Ultimate Kubernetes Bootcamp by School of Devops®

Video Description

Mastering container orchestration with Kubernetes one step at a time. Prepare for the CKA Exam

About This Video

  • This course brings you a distilled experience from Gourav's knowledge of building and managing infrastructures, his experience of helping companies with their DevOps journey and more than 300 corporate training sessions.
  • This is a well-researched program and he has tried many variants of applications, with different flows, took feedback, and iterated it many times.
  • That's one of the reasons why it took us more than 4 months to even launch the course in its first form.
  • The team have also started incorporating some new and useful techniques including glassboard, mindmaps to explain the concepts better and make things easier.

In Detail

Kubernetes is the gold standard in the world of container orchestration. It was originally created by Google, based on their experience of building and managing containers at scale (at Google Scale). However it's now driven by Cloud Native Compute Foundation (CNCF), an open body, which also offers the official certification, Kubernetes Certified Administrator. Kubernetes comes with mindboggling features, is very reliable, and is an extremely sophisticated container orchestration engine. It lets you convert your infrastructure into a container as a service (Platform), bringing in some of the awe-inspiring features such as zero down time deployments, fault tolerance, auto scaling, and cloud and storage integrations, which were previously extremely difficult to implement. And it brings it to the masses with its truly open, lock in free eco system. With Kubernetes' sophistication however, comes complexity too. You definitely need a guide while you navigate the complex world of Kubernetes, and this coursedoes just that. It's been created in such a way that you start learning Kubernetes from the ground up, one small step at a time, feature by feature. This course brings you a distilled experience with the author's knowledge of building and managing infrastructures, experience of helping companies with their DevOps journey and more than 300 corporate training sessions. This is a well-researched program in which many variants of applications, with different flows, have been trialled and iterated many times, according to feedback. We have also started incorporating some new and useful techniques including glassboard and mindmaps to explain the concepts better and make things easier.

Table of Contents

  1. Chapter 1 : Introduction to Kubernetes
    1. The need for a Container Orchestration Engine 00:04:00
    2. Battles of COEs, which one to choose 00:03:42
    3. Key Features of a COE 00:03:39
    4. What makes Kubernetes the de facto COE choice 00:04:16
    5. Negatives of using Kubernetes 00:02:35
  2. Chapter 2 : Path to Automation with Kubernetes
    1. Section Intro - Path to Automation with Kubernetes 00:00:36
    2. Namespaces 00:04:45
    3. Pods 00:08:11
    4. Replication Controller, Replica Sets and Deployments 00:10:37
    5. Service Discovery and Load Balancing 00:08:13
    6. Applying kubernetes primitives to your Application Stack 00:03:40
    7. Configmaps and , Storage, Network, RBAC etc. 00:05:35
    8. Daemonsets, Statefulsets, Crons and Jobs 00:05:57
    9. Kubernetes Architecture Run Down 00:06:48
    10. Building production grade Hight Available Kubernetes Cluster 00:06:10
  3. Chapter 3 : Setting up Environment
    1. Section Intro- Setting up Environment 00:02:29
    2. Provisioning and configuring Digital Ocean Nodes 00:03:53
    3. Initialise Cluster with Kubeadm 00:06:38
    4. Setting up Weave CNI 00:04:15
    5. Launching Kubernetes Dashboard 00:05:10
    6. Setting up a kubernetes Visualizer 00:05:29
    7. Resetting cluster created with kubeadm 00:06:15
  4. Chapter 4 : Building Blocks – Pods
    1. Section Intro - Pods 00:00:53
    2. Writing pod Specification 00:04:37
    3. Launching and Operating Pods 00:04:55
    4. Troubleshooting Pods Issues 00:05:15
    5. Attaching a volume to a Pod 00:07:19
    6. Launching Multi-Container Pods 00:03:39
    7. Connecting to Individual Containers 00:05:20
  5. Chapter 5 : Replication Controllers and Replica Sets
    1. Section Intro - Replication Controllers 00:01:06
    2. Setting up namespace and switching context 00:04:10
    3. Writing Replica Set Specification 00:08:19
    4. Launching Replica Set and Fault Tolerance 00:04:24
  6. Chapter 6 : Service Discovery and Load Balancing
    1. Section intro – Services 00:01:15
    2. Writing Service Specification 00:05:06
    3. Exposting services outside the Cluster 00:06:02
    4. Service Discovery 00:04:39
  7. Chapter 7 : Application Deployments and Updates
    1. Section Intro – Deployments 00:01:21
    2. Writing Deployment Specification 00:04:38
    3. Rolling Out a Deployment 00:04:12
    4. Update and Rollback 00:04:34
    5. Rollbacks 00:04:49
    6. Solution part I - Deploying a worker App 00:04:44
    7. Solution part II - Deploying DB service 00:03:35
    8. Solutions part III - Results App 00:04:03
  8. Chapter 8 : Managing Application Configurations with ConfigMaps and Secrets
    1. Section intro - Coonfigmaps and Secrets 00:01:40
    2. Creating Config Map for Vote app Options 00:05:57
    3. Setting up Environment Specific Configs 00:04:23
    4. Adding Configs from Files 00:04:13
    5. Creating Secrets to Encrypt Database Credentials 00:03:35
    6. Setting Environment vars using Secrets 00:04:04
  9. Chapter 9 : Persisting data and dynamic volumes provisioning
    1. Section Intro- Persistent Volumes 00:01:24
    2. Setting up RBAC for NFS Provisioner 00:04:17
    3. Setting up NFS provisioner with Statefulset 00:04:17
    4. Creating storage class for NFS 00:02:01
    5. Claiming a persistent volume and mounting it 00:05:01
    6. Dynamically provisioning of persistent volumes 00:07:43
  10. Chapter 10 : Creating Release Strategies - Blue/Green, Canary
    1. Section Intro- Release Strategies 00:00:42
    2. Defining Recreate as a Release Strategy 00:06:13
    3. Canary Releases 00:03:56
    4. Blue Green Deployments 00:07:12
    5. Pausing and fixing rollouts 00:03:03
  11. Chapter 11 : Dynamically scaling apps with Horizontal Pod Autoscaler
    1. Section Intro HPA 00:01:22
    2. Setting up code monitoring with Metrics Server 00:05:19
    3. Defining Resource Requests and Limits 00:07:30
    4. Creating a Horizontal Pod Autoscaler 00:07:00
    5. Writing load test Job definition 00:05:50
    6. Laying a siege with loadtest jobs 00:07:33
    7. Autoscaling in action with HPA 00:08:34
  12. Chapter 12 : Application routing with Ingress Controllers
    1. Section Intro Ingress 00:01:04
    2. Ingress Controllers and Ingress 00:06:20
    3. Choosing Traefik as a ingress controller and DaemonSet as a deployment type 00:07:07
    4. Creating DaemonSet for Traefik 00:11:28
    5. Writing Ingress definition for vote app with named based routing 00:07:31
    6. Testing ingress and accessing the application 00:05:54
    7. Annotations and setting up basic auth for vote app 00:07:45
  13. Chapter 13 : Setting up firewall with Network Policies
    1. Creating default network policy for instavote namespace 00:07:22
    2. Exposing public facing apps and allowing inter namespace communication 00:07:55
  14. Chapter 14 : High Available Production Cluster setup with Kubespray
    1. From dev to production with High Available kubernetes Cluster 00:01:56
    2. Introduction to Kubespray 00:02:34
    3. HA Design 00:03:15
    4. Preparing Nodes to setup Kubernetes 00:05:10
    5. Ansible control node and inventory setup 00:06:34
    6. Running ansible kubespray playbooks to configure etcd, master and nodes 00:07:28
    7. Adding a new node to cluster with kubespray 00:03:14
    8. Enabling additional kubernetes features with with Kubespray 00:03:46
    9. Understanding HA setup, mapping services to nodes 00:06:19
    10. Kubernetes configurations quick dive 00:07:43
    11. Configuring kubectl locally to conenct with multiple clusters 00:06:32
    12. Deploying instavote app on prod cluster 00:07:26
    13. Accessing kubernetes dashboard 00:03:29
  15. Chapter 15 : Access Control and RBAC Policies - Authentication and Authorization
    1. Access Control with Kubernetes 00:06:20
    2. RBAC Concepts 00:10:23
    3. Defining Users, Groups and Authorizations 00:04:52
    4. Creating Users and Groups using x509 Certificates 00:07:10
    5. Setting credentials and contexts 00:06:50
    6. Creating Roles and RoleBindings for interns 00:12:38
    7. Binding to existing ClusterRole using ClusterRoleBinding for Ops 00:05:17
  16. Chapter 16 : Advanced Pod Scheduling
    1. Using nodeName to bind a pod to a node 00:02:40
    2. Selecting node based on labels with nodeSelector 00:06:24
    3. Selecting nodes with nodeAffinity 00:11:05
    4. Using podAffinity and podAntiAffinity to ensure co locating applications 00:08:57
    5. Using taints and tolerations to make nodes unschedulable or run only specific app 00:06:18
  17. Chapter 17 : Using HELM to setup Monitoring with Prometheus and Grafana
    1. Introduction to HELM 00:04:51
    2. Setting up helm with tiller and launching Prometheus 00:07:09
    3. Quick overview of helm Charts 00:08:23
    4. Launching WordPress with custom values 00:07:22
    5. Setting up Prometheus with custom storageclass and ingress rules 00:09:48
    6. Deploying grafana and integrating it with Prometheus 00:08:34