Learn Kubernetes - Container orchestration using Docker
Learn Kubernetes - Container orchestration using Docker
Be ready to create and run your orchestrated application next week.
About the Book
This book is for anyone who needs to run software on Kubernetes. Whether you’re a developer, a DevOps manager or a technician, this book should help you plan and run Kubernetes workloads.
I assume that you have no previous knowledge about containers or containers orchestration.
I made my best to keep this book small, so that you can learn Kubernetes quickly without getting lost in petty details. If you are looking for a reference book where you’ll find answers to all the questions you may have within the next 4 years of your Kubernetes practice, you’ll find other heavy books for that. My purpose is to swiftly provide you with the tools you need to create and run your first cloud-ready application using Kubernetes, then be able to look for more by yourself when needed.
Plus this book is packed with exercises and samples where you create, run and manage your own applications on a Kubernetes cluster.
Read this book, and you can create and run your first Kubernetes application within a week. Or your money back.
Bundles that include this book
Table of Contents
-
Introduction
- What this book is not
- Prerequisites
- How to read this book
- Tools you need
- Source code
-
1. Why Kubernetes
- 1.1 DevOps challenges
- 1.2 Containers
- 1.3 Docker containers
- 1.4 Deploying images
- 1.5 The need for container orchestration
- 1.6 What’s K8s?
-
2. Kubernetes cluster
- 2.1 Parts of a Kubernetes cluster
- 2.2 Creating a cluster
- 2.3 Exercise - Set up your development cluster
- 2.4 Exercise solution
- 2.5 Connecting to a cluster
-
3. Tooling
- 3.1 Kubernetes Dashboard
- 3.2 Visual Studio Code
- 3.3 Helm
-
4. Running pods
- 4.1 Deployments and ReplicaSets
- 4.2 Imperative commands
- 4.3 Exercise - Use imperative commands
- 4.4 Exercise solution
- 4.5 Exercise - Observe Kubernetes handle a failing pod
- 4.6 Exercise solution
- 4.7 Declarative commands
- 4.8 Exercise - Create resources using declarative commands
- 4.9 Exercise solution
- 4.10 Exercise - Update a Pod created declaratively
- 4.11 Exercise solution
- 4.12 Debugging
- 4.13 Exercise - Debugging failing Pods
- 4.14 Exercise solution
- 4.15 Exercise - Delete created objects
- 4.16 Exercise solution
- 4.17 Resources management
-
5. Exposing services
- 5.1 The need for services
- 5.2 Services
- 5.3 Exercise - Expose a web application to the internet
- 5.4 Exercise solution
- 5.5 Exercise - Expose an API inside the cluster
- 5.6 Exercise solution
- 5.7 Ingress
-
6. Volumes
- 6.1 The need for volumes
- 6.2 Short-lived storage with Volumes
- 6.3 Exercise - Create and use a Volume
- 6.4 Exercise solution
- 6.5 Persistent storage with PersistentVolumeClaims
- 6.6 Exercise - Create and use a PersistentVolume
- 6.7 Exercise solution
-
7. Configuration
- 7.1 Similar but different
- 7.2 ConfigMap
- 7.3 Exercise - Create and use a ConfigMap
- 7.4 Exercise solution
- 7.5 Secret
- 7.6 Exercise - Create and use a Secret
- 7.7 Exercise solution
-
8. Updating and scaling
- 8.1 Horizontal scaling
- 8.2 Automatic horizontal scaling
- 8.3 Update strategies
-
9. Sharing a cluster
- 9.1 Namespaces
- 9.2 RBAC
-
10. Helm
- 10.1 Using Helm
- 10.2 Creating Helm packages (charts)
- A word from the author
- Image attributions
- The Learn collection
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them