Get up to 50% off on CKA, CKAD, CKS, KCNA, KCSA exams and courses!

Practicing Kubernetes

Practicing Kubernetes

Grasping Kubernetes takes more than just reading docs, watching videos, or consuming courses. To truly solidify your understanding, hands-on practice is essential. Here are some excellent lab resources to help you get started!

Check Kubernetes learning resources here.

Build Kubernetes cluster automatically

If you want to create Kubernetes cluster very fast for testing and learning purposes (when you dont have time to build it from scratch) then try automated IaC (Infrastructure as Code) methods using minikube , Kind , Vagrant , Ansible or Terraform .

  • Let us test Kubernetes 1.29 with minikube (using VirtualBox, Docker or Podman)
  • Exploring Kubernetes 1.29 with Kind (using Docker or Podman)
  • Create Multi-node Kubernetes Cluster in 10 minutes (using Vagrant and Ansible)
  • Running Multiple Kubernetes Playgrounds: Your Guide to Minikube Magic!
  • Installing a Kubernetes Cluster using minikube
  • Create Kubernetes cluster with Kubespray
  • Installing minikube with Vagrant and Ansible | Video
  • Build your own Multi-node Kubernetes Cluster with Ubuntu(20) on VirtualBox

Also check some of the supporting articles here:

  • How to access applications deployed in minikube Kubernetes cluster using NodePort
  • How To Housekeep Your Vagrant Boxes
  • oc edit – How To Customize Your OpenShift / Kubernetes CLI Editor
  • Adding Custom Entries in /etc/hosts File in Kubernetes and OpenShift Containers
  • Top 15 Free Kubernetes Courses
  • Kubernetes Networking Fundamentals
  • Kubernetes vs OpenShift – 15 Facts You Should Know

Kubernetes the hard way (KTHW) – GCP

One of the best ways to learn and practice Kubernetes. In this GitHub repository Kelsey Hightower has explained how to build a Kubernetes cluster from scratch but on Google Cloud (GCP) platform. If you have difficulty to use GCP, then check the alternative option from Mumshad/KodeKloud using VirtualBox on local machine.

  • Configure Kubernetes from scratch on GCP – kubernetes-the-hard-way
  • Configure Kubernetes from scratch on VirtualBox – kubernetes-the-hard-way

Kubernetes Free Labs

There are free Kubernetes labs which you can access from your web browser without configuring anything on your local machine. Please note, these purely test labs and the cluster will be destroyed automatically after a timeout period but you can create new labs anytime again.

Update: O’Reilly has closed the public access to Katakoda labs.

  • Practice free Kubernetes Lab from Katacoda – Learn Kubernetes using Interactive Browser-Based Scenarios
  • Kubernetes Playground in Katacoda
  • Killercoda Playgrounds – Interactive browser-based labs.
  • Play with Kubernetes – A simple, interactive and fun playground to learn Kubernetes
  • Play with Kubernetes Classroom – Free Kubernetes Hands-on Workshops

Kubernetes practices using Amazon EKS

Also check these resources to learn EKS (Amazon Elastic Kubernetes Service).

  • Amazon EKS Workshop – (Amazon Elastic Kubernetes Service) In this workshop, you will explore multiple ways to configure VPC, ALB, and EC2 Kubernetes workers, and Amazon Elastic Kubernetes Service.
  • EKS ANYWHERE – EKS Anywhere can be deployed as a simple, unsupported local environment or as a production-quality environment that can become a supported on-premises Kubernetes platform.
Gineesh Madapparambath

Gineesh Madapparambath

Gineesh Madapparambath is the founder of techbeatly. He is the co-author of The Kubernetes Bible, Second Edition and the author of Ansible for Real Life Automation. He has worked as a Systems Engineer, Automation Specialist, and content author. His primary focus is on Ansible Automation, Containerisation (OpenShift & Kubernetes), and Infrastructure as Code (Terraform). (Read more: iamgini.com)


Note

Disclaimer: The views expressed and the content shared in all published articles on this website are solely those of the respective authors, and they do not necessarily reflect the views of the author’s employer or the techbeatly platform. We strive to ensure the accuracy and validity of the content published on our website. However, we cannot guarantee the absolute correctness or completeness of the information provided. It is the responsibility of the readers and users of this website to verify the accuracy and appropriateness of any information or opinions expressed within the articles. If you come across any content that you believe to be incorrect or invalid, please contact us immediately so that we can address the issue promptly.

Share :

Related Posts

Multi-node Kubernets Cluster in 10 minutes

Multi-node Kubernets Cluster in 10 minutes

If you have credits on Public cloud accounts, then you can use managed Kubernetes services such as GKE , AKS , EKS etc. But building self-hosted …

Build your own Multi-node Kubernetes Cluster with Ubuntu(20) on VirtualBox

Build your own Multi-node Kubernetes Cluster with Ubuntu(20) on VirtualBox

Typically Minikube is a utility that most developers use when they are learning Kubernetese. Though it’s a great tool, Minikube runs a single-node …

Introduction to Container Fundamental

Let’s learn about, Traditional VM based deployment Challenges Container based deployment Advantages of Containers Use cases Nived Velayudhan …