Practical real-world hands-on projects to practice and learn Kubernetes implementations.
If you are planning to use this repo for learning, please hit the star. Thanks!
As part of our commitment to helping the DevOps community save money on Kubernetes Certifications, we continuously update the latest voucher codes from the Linux Foundation
- 🚀 CKA, CKAD, CKS, or KCNA exam aspirants can save 20% today using code DCUBE20 at https://kube.promo/devops. It is a limited-time offer from the Linux Foundation.
The following are the best bundles to save 20% + Extra Discount with code DCUBE20
- CKA + CKAD + CKS Exam bundle ($407 Savings): kube.promo/k8s-bundle
- CKA + CKS Bundle ($308 Savings) kube.promo/bundle
- KCNA + CKA ( $170 Savings) kube.promo/kcka-bundle
Note: You have one year of validity to appear for the certification exam after registration
You will learn the following from the hard way setup on AWS
- You'll get hands-on experience with Linux commands.
- You'll get hands-on with AWS CLI
- You will learn about systemd
- You'll learn how to generate and manage SSL/TLS certificates for secure communication between components.
- Encrypting data at rest.
- Networking
- As you're setting things up manually, you'll inevitably run into issues, which will teach you valuable troubleshooting skills.
Project Documentation: Kuberenetes the Hard Way on AWS
It is essential for a DevOps engineer to have a deep understanding of the various components that make up a Kubernetes cluster
Building and maintaining a self-hosted Kubernetes cluster provides valuable hands-on experience and exposes you to the system's complexities. This experience will help you better understand the cluster control plane and worker node components.
So We strongly suggest using a self-hosted kubernetes cluster during your learning process rather than using easily available solutions. Because Kubeadm allows you to access the VMs and provides the ability to troubleshoot and examine all the cluster components. With a multinode cluster, you can have a setup that mimics the real-world project setup.
Also, If you're preparing for the CKA or CKS exam, it's important to note that cluster management using Kubeadm is part of the exam syllabus.
Project Video: Setup Kubeadm Cluster
In this project, you will practically use the following key Kubernetes objects. It will help you understand how these objects can be used in real-world project implementations:
- Deployment
- HPA
- ConfigMap
- Secrets
- StatefulSet
- Service
- Namespace
It also covers key concepts such as:
- Startup, readiness, and liveness probes
- Consuming secret and configmap data using Environment Variables
- MySQL initialization script from ConfigMap to create tables
- Creating an application properties file from ConfigMap to be consumed by the app
Additionally, you will go through:
- Building a Java Spring Boot application using Maven
- Dockerizing the Java application and pushing it to Docker Hub
This is a simple but effective project to put your basics into practice. If you learn to work with one app effectively, you can deploy any number of apps. It's all about understanding how to use these objects correctly, and this guide is a good starting point for that.
Project Documentation: Deploy Java & MySQl Apps on Kubernetes