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

Kubernetes on the Cloud and the CNCF CKA Certification

Video Description

A comprehensive guide to Kubernetes: 45 labs and 50 practice question

About This Video

  • Docker, Kubernetes and the cloud platforms:
  • Understanding the inter-relationships
  • Pods and containers: Pods are the basic building block in K8S
  • Each pod holds one or more containers that are tightly-coupled to each other
  • ReplicaSets: Higher-level abstractions that provide scaling and auto-healing (they encapsulate pods, and bring new pods back up if the old ones crash)
  • Deployments: Even higher-level abstractions that provide versioning, fast rollback, rolling updates and more.
  • Services: Front-end abstractions (think of them as similar to load-balancers) that are loosely coupled with backend pods. Services provide a static, stable network frontend IP, as well as load-balancing
  • Other K8S objects: StatefulSets, Secrets, ConfigMaps, Jobs and CronJobs and more
  • CKA test tips: We don't reveal any information about the test that we should not, such as specific questions

In Detail

Kubernetes is also one of the hottest topics in tech today because it is perhaps the only straightforward way to architect a hybrid, multi-cloud compute a solution. Let's parse that- hybrid: this is a solution where an enterprise has a private cloud or on-premise data center, in addition to using one of the public cloud providers (such as AWS, GCP or Azure). Any firm migrating to the cloud is going to have to run a hybrid setup, at least during the migration. Multi-cloud: this refers to the use of more than one cloud provider. Why is this so important? Well, because most large firms are unwilling to be completely locked into one provider, particularly after events like Amazon's acquisition of Whole Foods (that gave pause to a whole lot of potential AWS customers, who decided that 'multi-cloud' makes sense for strategic reasons). The only straightforward way is when cloud providers offer a range of compute solutions, ranging from PaaS (Elastic Beanstalk, or Google App Engine) to IaaS (EC2, or Google Compute Engine VMs). The reality is that PaaS ties you down to one cloud provider, and IaaS is a lot of hassle, during migration and beyond. Kubernetes is supported by each of the Big-3: GCP has a special relationship with Kubernetes (since K8S originated at Google) but now AWS and Azure support it as well. Kubernetes has won the battle of the container orchestration systems. This is why containers running on Kubernetes constitute the hottest compute choice for a hybrid, multi-cloud world.

Table of Contents

  1. Chapter 1 : Introduction
    1. Introduction 00:02:24
    2. Why Is Kubernetes So Hot Right Now? 00:03:16
    3. Containers vs. Virtual Machines 00:05:37
    4. What Is Docker? 00:03:15
    5. What Is Kubernetes? 00:04:19
  2. Chapter 2 : Getting Started With Kubernetes
    1. Setting up A GCP Account 00:07:00
    2. Using the Cloud Shell 00:06:01
    3. An end-to-end example: Kubernetes on the GKE 00:06:40
  3. Chapter 3 : Kubernetes and the Cloud Ecosystem
    1. How Kubernetes Works 00:04:59
    2. The Role of the Master Node 00:07:39
    3. Nodes, Kube-proxy, Kubelet 00:06:20
    4. What Is A Pod? 00:06:31
    5. Lab: Creating pods imperatively 00:07:46
    6. Where Do Pods Run? 00:02:52
    7. Can Pods Have Multiple Containers? 00:04:13
    8. Lab: Multi-container Pods 00:06:46
    9. How Do Master Nodes Communicate? 00:04:21
    10. Where Can We Run Kubernetes? 00:03:03
    11. Kubernetes for a Hybrid Multi-cloud World 00:05:51
    12. Cloud Controllers 00:02:39
    13. Interacting with Kubernetes 00:05:06
  4. Chapter 4 : Pods
    1. Lab: Creating pods declaratively 00:06:37
    2. Imperative or Declarative? 00:07:23
    3. How Declarative Files are applied 00:03:07
    4. The Pros and Cons of Declarative and Imperative Object Management 00:02:06
    5. Names and UIDs 00:01:39
    6. Namespaces 00:02:32
    7. Labels 00:01:16
    8. Label Selectors Loose Coupling 00:03:34
    9. Annotations 00:01:21
    10. Lab: Deletion of pods 00:03:27
    11. Lab: Editing the configuration information of the deployment 00:03:31
    12. Lab: Scaling the Number of Pods using Deployments 00:01:34
  5. Chapter 5 : Volumes and Storage
    1. Volumes 00:02:52
    2. Lab: Volumes and the emptydir volume 00:05:49
    3. Types of Volumes 00:01:04
    4. Persistent_Volumes 00:02:05
    5. Cloud Specific Persistent Volumes 00:02:45
    6. Lab: Persistent Volumes 00:02:28
    7. Secrets, ConfigMaps and Other Volume Types 00:04:42
    8. Lab: Use of secrets pass information to pods 00:05:19
    9. Lab: Create secrets directly from files 00:02:38
    10. Lab: ConfigMaps 00:06:21
  6. Chapter 6 : More on Pods and Containers
    1. Containers in a Pod 00:02:59
    2. Lab: kubectl apply 00:09:47
    3. What Environment Do Containers See? 00:03:22
    4. Lab: Setting Environment Variables in Containers 00:02:41
    5. Lab: Downward API Passing information from pod to container 00:06:56
    6. How Can Containers React To Lifecycle Events? 00:01:47
    7. Lab: Handling Container Lifecycle Events 00:02:58
    8. Pod Node Matching 00:04:09
    9. Lab: Associating Pods with Nodes using nodeSelector 00:05:06
    10. Taints 00:02:45
    11. Lab: kubectl_taint 00:03:13
    12. Lab: Tolerations 00:03:13
    13. Init Containers 00:03:06
    14. Lab: Init containers setting up the state of the pods 00:06:09
    15. Pod Lifecycle 00:03:38
    16. Container Probes 00:03:44
    17. Lab: Use of Liveness and Readiness Probes 00:05:03
    18. Lab: Liveness probes Using HTTP and TCP 00:06:33
    19. Pod Presets 00:01:02
    20. Pod Priorities 00:03:43
  7. Chapter 7 : ReplicaSets
    1. Introducing Controllers 00:06:36
    2. What Are ReplicaSets? 00:04:55
    3. Lab: ReplicaSet object 00:04:31
    4. Working with ReplicaSets 00:05:19
    5. Lab: Deleting a ReplicaSet and its associated pods 00:02:59
    6. Lab: Deleting a ReplicaSet but not the associated pods 00:03:23
    7. ReplicaSets and Loose Coupling 00:04:33
    8. Horizontal Pod Autoscalers 00:03:26
    9. Lab: Loose coupling between ReplicaSet object and the pods 00:05:31
    10. Lab: Scaling a ReplicaSet object 00:02:47
  8. Chapter 8 : ReplicationControllers
    1. Replication Controllers 00:02:10
    2. Lab: Replication controller 00:02:43
    3. Lab: Deleting a replication controller and the associated pods 00:02:18
    4. Lab: Deleting a replication controller but not its pods 00:01:44
    5. Lab: Loose coupling between replication controller and its pods 00:04:30
  9. Chapter 9 : Deployments
    1. Deployments 00:03:36
    2. When Use Deployments 00:02:51
    3. Creating a Deployment 00:04:54
    4. Lab: kubectl run Create deployments imperatively 00:06:21
    5. Lab: YAML files for Deployment objects 00:05:46
    6. Rolling Back Deployment 00:02:39
    7. Pausing/Resuming Deployment 00:01:01
    8. Clean-up Policy 00:01:35
    9. Scaling Deployments 00:01:44
    10. Lab: Scaling deployments by editing the YAML config 00:03:22
    11. Lab: Changing the image version associated with a deployment 00:04:22
    12. Lab: Rolling back a deployment 00:01:02
    13. Lab: kubectl scale Scaling deployments imperatively 00:00:59
    14. Lab: Rolling Deployments 00:05:06
  10. Chapter 10 : Other Controllers
    1. StatefulSets 00:03:15
    2. Lab: Statefulsets 00:02:15
    3. DaemonSets 00:02:52
    4. Run To Completion Jobs 00:02:38
    5. Cron Jobs 00:00:51
    6. Lab: Batch Processing Job Objects 00:05:02
  11. Chapter 11 : Services
    1. Services 00:05:22
    2. Types of Services.mp4 00:04:21
    3. Service Pod Endpoint 00:05:23
    4. Services without Selectors 00:02:18
    5. Virtual IPs Service Proxies 00:03:33
    6. Multi-Port Services 00:00:35
    7. Service Discovery 00:04:05
    8. Headless Services 00:02:01
    9. NodePort Services 00:02:22
    10. LoadBalancer Services 00:04:23
    11. External IPs 00:00:32
    12. DNS for Services 00:03:03
    13. DNS for Pods 00:02:54
    14. Securing Services 00:01:13
    15. Federated Services 00:01:25
    16. Ingress Objects 00:02:09
    17. Lab: kubectl expose Service objects 00:03:25
  12. Chapter 12 : Kubernetes on AWS and Azure
    1. Kubernetes on the cloud 00:03:41
    2. Lab: AKS - the Azure Kubernetes Service 00:04:46
    3. Lab: Jumping through hoops - kops and AWS 00:05:47
    4. Lab: Play With Kubernetes (PWK) 00:02:32
  13. Chapter 13 : kubeadm: Bootstrapping a Kubernetes Cluster on Ubuntu
    1. RBAC (Role-Based Access Control) 00:04:48
    2. Roles and ClusterRoles 00:02:03
    3. RoleBindings and ClusterRoleBindings 00:03:53
    4. Pod Networks and Flannel 00:05:13
    5. Instantiating Ubuntu VMs 00:07:17
    6. Bootstrapping the Master Node 00:06:39
    7. Configuring the Worker Nodes 00:02:42
  14. Chapter 14 : The CNCF Certified Kubernetes Administrator Test
    1. The CKA Test 00:04:05
    2. Test Day Mechanics 00:06:21
    3. Curriculum and Preparation Tips 00:05:31