Have you been trying to learn Kubernetes for a while now but still miss some concepts?. Learning Kubernetes can be tough especially for users new to Containers and its orchestration. This ebook is one of the best books to getting started with Kubernetes. It has all the pieces you need to become a Kubernetes master.
For introduction purposes, let’s define what’s Kubernetes. Kubernetes is an open source tool initially designed by Google to aid in automation and management of containers and applications running on them.
If you’ve been playing with container engine tools like Docker, you must have experienced how difficult it is to manage more than one docker container across a number of hosts. This is where Kubernetes comes in. It makes it easy to deploy more than one container across a fleet of nodes and ensure they are highly available and redundant.
What’s in “Kubernetes Essentials” eBook?
Everything in this “Kubernetes Essentials” ebook is perfectly arranged, starting from Kubernetes basics to advanced topics for experienced system administrators and Developers. Below is a cover of chapter available in this book.
Chapter 1: Introduction to Kubernetes
In this chapter, you’re introduced to the world of containers. You get to differentiate between Virtualization and Containerization. What’s the difference between Docker and VM, Docker vs Kubernetes, Why you need Kubernetes, Kubernetes use cases all over the world e.t.c?
Chapter 2: Key definitions and components
On chapter two of this ebook, you get to learn all the pieces that makeup Kubernetes. You’re introduced to the concepts of Pods, Clusters, Levels, Services, Replication and all the components of Kubernetes are covered in detail, with a clear definition of its functionalities. This is where you get to understand Kubernetes well and how all its components fit together.
Chapter 3: Kubernetes Concepts
In this chapter, you get to learn Kubernets Networking and Storage subsystem layer in detail. How Pods in Kubernetes manage multiple containers – lifecycle, pods creation, replication, and the multi-node networking like VXLAN. How rescheduling and rolling updates take place in Kubernetes is also covered in this section.
Chapter 4: Deploying Kubernetes Manually
Chapter 4 of this book concentrates on the manual deployment of Kubernetes on CentOS, Ubuntu, and other operating systems. The environment can be Virtual e.g VirtualBox, AWS cloud, Azure or with the help of Vagrant for test environments. You’ll build Kubernetes clusters from scratch, starting from preparation of base OS, the basics of managing a cluster with Vagrant and working with the kubeadm tool, to troubleshooting deployment issues, working with etcd, Kubernetes add-ons, Kubernetes dashboard, Flannel networking, CoreDNS e.t.c.
Chapter 5: Orchestrating Containers with Kubernetes
Now that everything before this chapter introduced you to the basics of Kubernetes and its deployment. It’s time to do the dirty work. Here you start to deploy real applications on containers orchestrated through Kubernetes. By the end of this chapter, you should be confident in the deployment of applications of Kubernetes and expose them to the public via Services. Troubleshooting of Docker containers inside Kubernetes umbrella is covered in detail.
Chapter 6: Deploying Kubernetes with Ansible
You don’t want to deploy Kubernetes manually? don’t worry your medication is here. With ansible, you can automate the deployment of Kubernetes by having everything in a playbook that’s executable. You’ll spend some time writing YAML files which will save you a lot of hours later. With this, it becomes easy to scale out your Kubernetes infrastructure and tear it down when done.
Chapter 7: Provisioning Storage in Kubernetes
Storage is one of the crucial parts of Kubernetes. If poorly designed and deployed, it can cost you money to bring things up to service in case of a failure. This chapter will teach you on best storage guidelines to follow for Kubernetes. You’re introduced to various storage plugins available and advice on which one to pick. The main goal of this chapter is to help you deploy persistent storage that’s easy to scale, and how to use this storage inside containers. NFS and ISCSI are the core storage protocols covered.
Chapter 8: Troubleshooting Kubernetes and Systemd Services
Troubleshooting is a key in all systems management tasks. You’ll learn to inspect and debug issues in Kubernetes. It covers troubleshooting of pods, cluster controllers, worker nodes, Docker containers, storage, networking and all other Kubernetes components. If you have been in Linux world for some time, you must have witnessed the stress of managing services with upstart. There cane Systemd with its challenges and benefits. On this chapter, you’ll learn all the bells and whistles of systemd on Kubernetes. How to fix issues when they arise by utilizing systemd as a tool for troubleshooting
Chapter 9: Kubernetes Maintenance
This chapter includes Kubernetes monitoring with influxdb as a data store, Grafana as a visualization tool and Prometheus monitoring system/ time series database. Using Kubernetes Dashboard to visualize container infrastructure is also covered here and how to do logging for containers. Finally, regular checks and cleaning are essential.
Wrapping Up
Learning Kubernetes is inevitable, especially for System Engineers, Administrators, and DevOps roles. Kubernetes is a recent technology but has revolutionized how containerized applications are deployed in the cloud. Being an open source technology backed by huge community and support of big companies like Red Hat, SUSE and others, its future is definitely great. This ebook will help you get started earlier and grow your career in this interesting and growing containers space. The content of this book is concrete and covers everything you need to become a Kubernetes guru!