This is a guide for you on how to use Kubernetes. It begins by guiding you on how to get started with Kubernetes by installing it in a machine which is running Linux. You are also guided on how to do any necessary setup and configuration after the installation has been completed. You are then guided on how to initialize the master once the installation is complete. The book also explains you on how to install the pod add-on. This is the add-on which facilitates communication between the various nodes contained in the cluster, and it has to be installed before any application is added. In a Kubernetes cluster, nodes may be joined together. This book teaches you how to do this in the easiest way. Once a cluster has been setup, you may want to connect to it, maybe from your laptop. This book shows you how to do this. You will also learn how to establish a connection to the API server. In Kubernetes, customers need to receive services continuously without or with minimal disruptions. This book guides you on how to do zero downtime deployments in Kubernetes. Container draining, which will help you prevent the killing of the containing as processing of requests is being done. The Http Keep-Alive process is also explored. This is implemented by the addition of a proxy tier for terminating HTTP connections. The book then guides you on how to create Kubernetes deployments in YAML. You will learn how to use Kubernetes for creation of a Pod and then a deployment. Auto-scaling is an important feature in any container, including Kubernetes. This book guides you on how to use Supergiant so as to auto-scale a Kubernetes cluster on DigitalOcean.
The following topics are discussed in this book:
- Installing Kubernetes on Linux
- Zero Downtime Deployments in Kuberentes
- Creating a Kubernetes Deployment in YAML
- Auto-Scaling Kubernetes