Kubernetes¶
Requirements¶
Go through the theory sources provided below (or find your own) to achieve the following requirements:
- You should understand the concept of container orchestration.
- You should understand the basic architecture of Kubernetes, including the following components:
- Master node/control plane
- Worker node
- etcd
- kubelet
- kube-proxy
- You should be able to manipulate the following Kubernetes resources:
- Pods
- ReplicaSets
- Deployments
- Services
- Jobs
- CronJobs
- You should be able to organize applications using labels and selectors.
- You can install
minikube
, start a local Kubernetes cluster, and use thekubectl
command to interact with it. - You can explain the contents of a given Kubernetes manifest file, and you can apply it to a Kubernetes cluster.
Theory¶
Videos¶
Kubernetes concepts¶
- Kubernetes Explained in 100 Seconds: https://www.youtube.com/watch?v=PziYflu8cB8
- Very high-level introduction to Kubernetes. It explains the basic concepts in a simple way.
- It should be noted that this video is not sufficient to understand Kubernetes in depth.
- Kubernetes Essentials from Google Cloud: https://www.youtube.com/playlist?list=PLIivdWyY5sqLmnGdKSdQIXq2sd_1bWSnx
- Playlist of 9 videos that explain the basic concepts of Kubernetes and show how to use it on Google Cloud.
- You won't be able to use Google Cloud in this course, but the concepts are the same on any Kubernetes cluster.
- Kubernetes Crash Course for Absolute Beginners: https://www.youtube.com/watch?v=s_o8dwzRlu4
- Same author as the next video, but this one is more focused on the basics and is shorter.
- Complete Kubernetes Tutorial for Beginners https://www.youtube.com/watch?v=VnvRFRk_51k&list=PLy7NrYWoggjziYQIDorlXjTvvwweTYoNC
- Very detailed tutorial that explains more than just the basics.
- Includes a demo of
minikube
andkubectl
.
Minikube¶
- What is minikube?: https://youtu.be/uo82-n1gMcI?si=ahj2c2qtrAaMjCrK
Manuals¶
- Kubernetes documentation: https://kubernetes.io/docs/home/
- Minikube documentation: https://minikube.sigs.k8s.io/docs/
Online Courses¶
- Learning Kubernetes, LinkedIn Learning: https://www.linkedin.com/learning/learning-kubernetes/
- This course is part of a series of courses on Kubernetes: Getting Started with Kubernetes. It is a good starting point for beginners.
- Feel free to follow all courses to gain a deeper understanding of Kubernetes.
- Students of HOGENT get free access to LinkedIn Learning through Academic Software.
Books¶
If you want to use Kubernetes in a professional environment or gain deeper insights, these resources may be helpful:
- Martin, P. (2021) Kubernetes: Preparing for the CKA and CKAD Certifications. Apress
- HOGENT staff and students have free access to this ebook from campus or via VPN using this link.
- Hightower, K. (2021) Kubernetes The Hard Way. Retrieved on 2022-09-10 from https://github.com/kelseyhightower/kubernetes-the-hard-way
- Instructions on how to set up Kubernetes manually. Anyone using Kubernetes in production must understand the platform in detail. This guide helps with the installation and configuration of all necessary components. It is probably the best way to truly understand how Kubernetes works under the hood.