What is Kubernetes? π€
Kubernetes, also known as K8s, is an open-source platform designed to automate deploying, scaling, and operating application containers. It helps you manage a cluster of Linux containers as a single system to streamline DevOps processes and ensure efficient resource utilization.
Why Kubernetes? π
- Scalability: Automatically scale your applications up or down based on demand.
- Portability: Run Kubernetes on various environments like on-premises, cloud providers, or hybrid setups.
- Self-healing: Automatically replace or reschedule failed containers.
- Service Discovery & Load Balancing: Efficiently manage service discovery and load balancing.
- Automated Rollouts & Rollbacks: Seamlessly update your applications without downtime.
Getting Started π
In this documentation, we'll cover everything from setting up your local machine with Minikube to deploying clusters on cloud providers like AWS (EKS), DigitalOcean, and more.
Table of Contents
- Introduction to Kubernetes π
- Setting Up Local Machine with Minikube π»
- EC2 Cloud Cluster βοΈ
- AWS EKS Setup π§
- Working with ECR π³
- DigitalOcean Kubernetes Cluster π
- Advanced Kubernetes Features π₯
- Best Practices & Tips π‘
Setting Up Your Local Environment π οΈ
To start your Kubernetes journey, you'll first need to set up a local development environment. We recommend using Minikube for this purpose.
Prerequisites
- Docker: Ensure Docker is installed on your machine.
- Kubectl: Kubernetes command-line tool for interacting with the cluster.
- Minikube: Tool to run Kubernetes locally.
Installation Steps
- Install Docker:
- Install Kubectl:
- Install Minikube:
Once you have everything installed, you can start your Minikube cluster with:
minikube start
You're now ready to explore the power of Kubernetes!
Next Steps π
Dive deeper into each section of this documentation to learn more about setting up and managing Kubernetes clusters on different environments.
Feel free to reach out if you have any questions or need further assistance. Happy Kuberneting! π
This documentation is an evolving project. Contributions and suggestions are always welcome!
INTRO
Certified Kubernetes Administrator: https://www.cncf.io/certification/cka/ (opens in a new tab)
Exam Curriculum (Topics): https://github.com/cncf/curriculum (opens in a new tab)
Candidate Handbook: https://www.cncf.io/certification/candidate-handbook (opens in a new tab)
Exam Tips: http://training.linuxfoundation.org/go//Important-Tips-CKA-CKAD (opens in a new tab)
Head over to this link (opens in a new tab) to enroll in the Certification Exam. Remember to keep the code - 20KODE - handy to get a 20% discount while registering for the CKA exam with Linux Foundation.
https://github.com/mmumshad/kubernetes-the-hard-way (opens in a new tab)
https://github.com/kodekloudhub/certified-kubernetes-administrator-course (opens in a new tab)
Kubernetes Documentation π
Welcome to the comprehensive documentation for Kubernetes! Whether you're a beginner or an experienced user, this guide will help you navigate through the world of Kubernetes, from local setups to cloud-based clusters.