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