Book description
Learn from an expert on how to use Kubernetes, the most adopted container orchestration platform.
About This Book- Get a detailed, hands-on exploration of everything from the basic to the most advanced aspects of Kubernetes
- Explore the tools behind not only the official project but also the third-party add-ons
- Learn how to create a wide range of tools, including clusters, Role Bindings, and Ingress Resources with default backends, among many applicable, real-word creations
- Discover how to deploy and manage highly available and fault-tolerant applications at scale with zero downtime
This book is for professionals experienced with Docker, looking to get a detailed overview from the basics to the advanced features of Kubernetes.
What You Will Learn- Let Viktor show you the wide range of features available in Kubernetes - from the basic to the most advanced features
- Learn how to use the tools not only from the official project but also from the wide range of third-party add-ons
- Understand how to create a pod, how to Scale Bids with Replica Sets, and how to install both Kubectl and Minikube
- Explore the meaning of terms such as container scheduler and Kubernetes
- Discover how to create a local Kubernetes cluster and what to do with it
Building on The DevOps 2.0 Toolkit, The DevOps 2.1 Toolkit: Docker Swarm, and The DevOps 2.2 Toolkit: Self-Sufficient Docker Clusters, Viktor Farcic brings his latest exploration of the DevOps Toolkit as he takes you on a journey to explore the features of Kubernetes.
The DevOps 2.3 Toolkit: Kubernetes is a book in the series that helps you build a full DevOps Toolkit. This book in the series looks at Kubernetes, the tool designed to, among other roles, make it easier in the creation and deployment of highly available and fault-tolerant applications at scale, with zero downtime.
Within this book, Viktor will cover a wide range of emerging topics, including what exactly Kubernetes is, how to use both first and third-party add-ons for projects, and how to get the skills to be able to call yourself a ?Kubernetes ninja.?
Work with Viktor and dive into the creation and exploration of Kubernetes with a series of hands-on guides.
Style and approachReaders join Viktor Farcic as he continues his exploration of DevOps and begins to explore the opportunities presented by Kubernetes.
Table of contents
- Title Page
- Copyright
- Dedication
- Contributor
- Packt Upsell
- Preface
- How Did We Get Here?
- Running Kubernetes Cluster Locally
- Creating Pods
- Scaling Pods With ReplicaSets
-
Using Services to Enable Communication between Pods
- Creating a Cluster
- Creating Services by exposing ports
- Creating Services through declarative syntax
- Splitting the Pod and establishing communication through Services
- Defining multiple objects in the same YAML file
- Discovering Services
- What now?
- Kubernetes Pods, ReplicaSets, and Services compared to Docker Swarm stacks
-
Deploying Releases with Zero-Downtime
- Creating a Cluster
- Deploying new releases
- Updating Deployments
- Zero-Downtime Deployments
- Rolling back or rolling forward?
- Rolling back failed Deployments
- Merging everything into the same YAML definition
- Updating multiple objects
- Scaling Deployments
- What now?
- Kubernetes Deployments compared to Docker Swarm stacks
-
Using Ingress to Forward Traffic
- Creating a cluster
- Exploring deficiencies when enabling external access through Kubernetes services
- Enabling Ingress controllers
- Creating Ingress Resources based on paths
- Creating Ingress resources based on domains
- Creating an Ingress resource with default backends
- What now?
- Kubernetes Ingress compared to Docker Swarm equivalent
- Using Volumes to Access Host's File System
-
Using ConfigMaps to Inject Configuration Files
- Creating a cluster
- Injecting configurations from files
- Injecting configurations from key/value literals
- Injecting configurations from environment files
- Converting ConfigMap output into environment variables
- Defining ConfigMaps as YAML
- A plea NOT to use ConfigMaps!
- What now?
- Kubernetes ConfigMaps compared to Docker Swarm configs
- Using Secrets to Hide Confidential Information
- Dividing a Cluster into Namespaces
- Securing Kubernetes Clusters
-
Managing Resources
- Creating a cluster
- Defining container memory and CPU resources
- Measuring actual memory and CPU consumption
- Exploring the effects of discrepancies between resource specifications and resource usage
- Adjusting resources based on actual usage
- Exploring quality of service (QoS) contracts
- Defining resource defaults and limitations within a namespace
- Defining resource quotas for a namespace
- What now?
- Kubernetes resource management compared to docker swarm equivalent
-
Creating a Production-Ready Kubernetes Cluster
- What is kubernetes operations (kops) project?
- Preparing for the cluster setup
- Creating a kubernetes cluster in AWS
- Exploring the components that constitute the cluster
- Updating the cluster
- Upgrading the cluster manually
- Upgrading the cluster automatically
- Accessing the cluster
- Deploying applications
- Exploring high-availability and fault-tolerance
- Giving others access to the cluster
- Destroying the cluster
- What now?
- Kubernetes operations (kops) compared to Docker for AWS
- Persisting State
- The End
- Other Books You May Enjoy
Product information
- Title: The DevOps 2.3 Toolkit
- Author(s):
- Release date: September 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789135503
You might also like
book
The DevOps 2.5 Toolkit
An advanced exploration of the skills and knowledge required for operating Kubernetes clusters, with a focus …
book
The DevOps 2.4 Toolkit
An exploration of continuous deployment to a Kubernetes cluster, using a wide range of Kubernetes platforms …
book
What's New in Apache Web Server 2.2?
What's New in Apache Web Server 2.2? shows you all the new features you'll know to …
book
Ubuntu Unleashed 2014 Edition: Covering 13.10 and 14.04,Ninth Edition
The Publisher regrets that the CD/DVD content for this title cannot be made available Online. Ubuntu …