Learn how to schedule and run application containers using Kubernetes.
About This Book
- Get well-versed with the fundamentals of Kubernetes and get it production-ready for deployments
- Confidently manage your container clusters and networks using Kubernetes
- This practical guide will show you container application examples throughout to illustrate the concepts and features of Kubernetes
Who This Book Is For
This book is for developers, sys admins, and DevOps engineers who want to automate the deployment process and scale their applications. You do not need any knowledge about Kubernetes.
What You Will Learn
- Download, install, and configure the Kubernetes codebase
- Understand the core concepts of a Kubernetes cluster
- Be able to set up and access monitoring and logging for Kubernetes clusters
- Set up external access to applications running in the cluster
- Understand how CoreOS and Kubernetes can help you achieve greater performance and container implementation agility
- Run multiple clusters and manage from a single control plane
- Explore container security as well as securing Kubernetes clusters
- Work with third-party extensions and tools
Kubernetes has continued to grow and achieve broad adoption across various industries, helping you to orchestrate and automate container deployments on a massive scale.
This book will give you a complete understanding of Kubernetes and how to get a cluster up and running. You will develop an understanding of the installation and configuration process. The book will then focus on the core Kubernetes constructs such as pods, services, replica sets, replication controllers, and labels. You will also understand how cluster level networking is done in Kubernetes.
The book will also show you how to manage deployments and perform updates with minimal downtime. Additionally, you will learn about operational aspects of Kubernetes such as monitoring and logging. Advanced concepts such as container security and cluster federation will also be covered. Finally, you will learn about the wider Kubernetes ecosystem with OCP, CoreOS, and Tectonic and explore the third-party extensions and tools that can be used with Kubernetes.
By the end of the book, you will have a complete understanding of the Kubernetes platform and will start deploying applications on it.
Style and approach
This straightforward guide will help you understand how to move your container applications into production through best practices and a step-by-step walkthrough tied to real-world operational strategies.
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.
Table of Contents
Introduction to Kubernetes
- A brief overview of containers
- Why are containers so cool?
- Microservices and orchestration
- The birth of Kubernetes
- Our first cluster
- Working with other providers
Pods, Services, Replication Controllers, and Labels
- The architecture
- Core constructs
- Our first Kubernetes application
- Health checks
- Application scheduling
Networking, Load Balancers, and Ingress
- Kubernetes networking
- Advanced services
- Service discovery
- A note on resource usage
- Updates, Gradual Rollouts, and Autoscaling
- Deployments, Jobs, and DaemonSets
- Storage and Running Stateful Applications
- Continuous Delivery
Monitoring and Logging
- Monitoring operations
- Built-in monitoring
- FluentD and Google Cloud Logging
- Maturing our monitoring operations
- Cluster Federation
- Basics of container security
- Image repositories
- Kubernetes cluster security
- Securing sensitive application data (secrets)
- Extending Kubernetes with OCP, CoreOS, and Tectonic
- Towards Production Ready
- Title: Getting Started with Kubernetes - Second Edition
- Release date: May 2017
- Publisher(s): Packt Publishing
- ISBN: 9781787283367