Hallo Kubernetes: Container, Orchestration, Management, and Monitoring
$5.99
Minimum price
$9.99
Suggested price

Hallo Kubernetes: Container, Orchestration, Management, and Monitoring

About the Book

Explore the dynamic world of Kubernetes from the ground up with "Hallo Kubernetes," your comprehensive guide to mastering container orchestration, management, and monitoring. This book provides an extensive look into how Kubernetes operates, coupled with detailed exercises to build, manage, and scale applications effectively using this powerful platform.

Starting with a clear introduction to what Kubernetes is and why it's a game-changer for modern software deployments, the book progresses into hands-on exercises to get you up and running. You'll learn how to install and enable Kubernetes using Docker Desktop, configure Rancher Kubernetes Engine, and manage Kubernetes clusters using various tools such as kubectl and Helm.

Each chapter is meticulously designed to enhance your understanding and skills, focusing on real-world applications of Kubernetes functionalities such as deployments, services, storage solutions, ingress networking, and even Kubernetes secrets for managing sensitive data. The exercises are structured to guide you through basic setups to more advanced configurations, ensuring you gain practical knowledge and confidence in using Kubernetes.

For those looking to dive deeper, the book covers advanced topics such as autoscaling, managing cron jobs, and deploying the Kubernetes Dashboard UI. It also offers insights into the strategic use of Kubernetes namespaces and ingress resources to optimize your container environments for both development and production.

Whether you're a beginner curious about containerization or an experienced developer aiming to leverage Kubernetes at scale, "Hallo Kubernetes" offers the knowledge and tools necessary to navigate and excel in the world of containers and orchestration. Join the ranks of skilled Kubernetes professionals with this essential guide at your side.

Exercises

This book contains exercises to help you learn Kubernetes. You can follow the exercises in the order they are presented in the book.

Exercise 1: Install and Enable Kubernetes using Docker Desktop

Exercise 2: Install Rancher Kubernetes Engine (RKE) on a single node

Exercise 3: Install kubectl client

Exercise 4: Install Red Hat OpenShift on a single node

Exercise 5: Accessing Kubernetes Cluster using kubectl

Exercise 6: Basic Kubernetes CLI - kubectl

Exercise 7: Helm

Exercise 8: oc CLI for OpenShift

Exercise 9: Basic Kubernetes YAML

Exercise 10: Multiple Containers in A Kubernetes Deployment

Exercise 11: Kubernetes ConfigMaps

Exercise 12: Mutiple Kubernetes Deployments in Kubernetes YAML

Exercise 13: Configure Container Resources in A Kubernetes Deployment

Exercise 14: Basic Kubernetes Services

Exercise 15: Deploying MySQL and phpMyAdmin

Exercise 16: Deploying PostgreSQL and pgAdmin

Exercise 17: Deploying NodeJS Application and MongoDB

Exercise 18: Kubernetes Deployment and Service with Namespace

Exercise 19: Service Autoscaling

Exercise 20: External Name Service

Exercise 21: Kubernetes Namespace CRUD Operations

Exercise 22: Accessing Resources From Across Namespaces

Exercise 23: CRUD Operations with Kubernetes Secrets

Exercise 24: Managing Sensitive Data with Kubernetes Secrets - MySQL and phpMyAdmin Use Case

Exercise 25: Kubernetes Dashboard UI on Docker Desktop

Exercise 26: Kubernetes Dashboard UI on Rancher Kubernetes

Exercise 27: CRUD Operations with Kubernetes Persistent Volumes and Volume Claims

Exercise 28: Dynamic Volume Provisioning in Kubernetes Using StorageClasses

Exercise 29: Implementing Persistent Storage in Pods with PVs and PVCs

Exercise 30: Implementing Persistent Storage in PostgreSQL and pgAdmin Pods with PVs and PVCs

Exercise 31: Deploy an Ingress Controller

Exercise 32: Create an Ingress Resource

Exercise 33: Ingress Resource with TLS Termination and SSL Certificates

Exercise 34: Ingress Networking with Annotations

Exercise 35: Ingress Networking for Kubernetes Dashboard UI

Exercise 36: Implementing CronJobs in Kubernetes

Exercise 37: Deploying Kubernetes Metrics Server

Exercise 38: Implementing Auto-Scaling in Kubernetes

Exercise 39: Simulating Kubernetes Pod Autoscaling

About the Author

Agus Kurniawan
Agus Kurniawan

Agus Kurniawan's journey in the field of technology, spanning from 2001, is a remarkable blend of deep technical expertise and a fervent passion for sharing knowledge. As a seasoned professional, Agus has carved a niche in diverse technological domains, including software development, IoT (Internet of Things), Machine Learning, IT infrastructure, and DevOps. His experiences are not just limited to developing cutting-edge solutions but also extend to shaping the future of upcoming technologists through training and workshops.

Agus's career is marked by significant contributions to both technological innovation and community development. His recognition as a Microsoft Most Valuable Professional (MVP) from 2004 to 2022 underlines his proficiency in Microsoft technologies and his dedication to educating others. Agus has been at the forefront of delivering various training sessions and workshops, sharing his insights and helping others grow in the ever-evolving tech industry.

Table of Contents

  1. Introduction
    1. What is Kubernetes?
    2. Why use Kubernetes?
    3. How does Kubernetes work?
    4. Kubernetes Platforms
  2. How to Use This Book
    1. Introduction
    2. Source Code
    3. Feedback
  3. Up and Running Kubernetes
    1. Prerequisites
    2. Objectives
    3. Exercise 1: Install and Enable Kubernetes using Docker Desktop
    4. Exercise 2: Install Rancher Kubernetes Engine (RKE) on a single node
    5. Exercise 3: Install kubectl client
    6. Exercise 4: Install Red Hat OpenShift on a single node
    7. Conclusion
    8. Next Steps
  4. Working with Kubernetes CLI
    1. Prerequisites
    2. Objectives
    3. Introduction
    4. Exercise 5: Accessing Kubernetes Cluster using kubectl
    5. Exercise 6: Basic Kubernetes CLI - kubectl
    6. Exercise 8: oc CLI for OpenShift
    7. Conclusion
    8. Next Steps
  5. Kubernetes Deployments
    1. Prerequisites
    2. Objectives
    3. Introduction
    4. Exercise 9: Basic Kubernetes YAML
    5. Exercise 10: Multiple Containers in A Kubernetes Deployment
    6. Exercise 11: Kubernetes ConfigMaps
    7. Exercise 12: Multiple Kubernetes Deployments in Kubernetes YAML
    8. Exercise 13: Configure Container Resources in A Kubernetes Deployment
    9. Conclusion
    10. Next Steps
  6. Kubernetes Services
    1. Prerequisites
    2. Objectives
    3. Introduction
    4. Exercise 14: Basic Kubernetes Services
    5. Exercise 15: Deploying MySQL and phpMyAdmin
    6. Exercise 16: Deploying PostgreSQL and pgAdmin
    7. Exercise 17: Deploying NodeJS Application and MongoDB
    8. Exercise 18: Kubernetes Deployment and Service with Namespace
    9. Exercise 19: Service Autoscaling
    10. Exercise 20: External Name Service
    11. Conclusion
    12. Next Steps
  7. Kubernetes Namespace
    1. Prerequisites
    2. Objectives
    3. Introduction
      1. What are Kubernetes Namespaces?
      2. Why Use Kubernetes Namespaces?
      3. Advantages of Using Namespaces
    4. Exercise 21: Kubernetes Namespace CRUD Operations
    5. Exercise 22: Accessing Resources From Across Namespaces
    6. Conclusion
    7. Next Steps
  8. Kubernetes Secrets
    1. Prerequisites
    2. Objectives
    3. Introduction
      1. What are Kubernetes Secrets?
      2. Why Use Kubernetes Secrets?
      3. Key Features of Kubernetes Secrets
      4. Best Practices for Using Kubernetes Secrets
    4. Exercise 23: CRUD Operations with Kubernetes Secrets
    5. Exercise 24: Managing Sensitive Data with Kubernetes Secrets - MySQL and phpMyAdmin Use Case
    6. Conclusion
    7. Next Steps
  9. Kubernetes Dashboard UI
    1. Prerequisites
    2. Objectives
    3. Understanding the Kubernetes Dashboard UI
    4. Exercise 25: Kubernetes Dashboard UI on Docker Desktop
    5. Exercise 26: Kubernetes Dashboard UI on Rancher Kubernetes
    6. Conclusion
    7. Next Steps
  10. Kubernetes Storage
    1. Prerequisites
    2. Objectives
    3. Understanding Persistent Storage in Kubernetes
      1. Persistent Volumes (PVs)
      2. Persistent Volume Claims (PVCs)
      3. How PVs and PVCs Work Together
      4. Use Cases for PVs and PVCs
    4. Exercise 27: CRUD Operations with Kubernetes Persistent Volumes and Volume Claims
    5. Exercise 28: Dynamic Volume Provisioning in Kubernetes Using StorageClasses
    6. Exercise 29: Implementing Persistent Storage in Pods with PVs and PVCs
    7. Exercise 30: Implementing Persistent Storage in PostgreSQL and pgAdmin Pods with PVs and PVCs
    8. Conclusion
    9. Next Steps
  11. Kubernetes Ingress Networking
    1. Prerequisites
    2. Objectives
    3. Introduction
    4. Exercise 31: Deploy an Ingress Controller
    5. Exercise 32: Create an Ingress Resource
    6. Exercise 33: Ingress Resource with TLS Termination and SSL Certificates
    7. Exercise 34: Ingress Networking with Annotations
    8. Exercise 35: Ingress Networking for Kubernetes Dashboard UI
    9. Conclusion
    10. Next Steps
  12. Kubernetes Cron Jobs
    1. Prerequisites
    2. Objectives
    3. Understanding Kubernetes CronJobs
    4. Exercise 36: Implementing CronJobs in Kubernetes
    5. Conclusion
    6. Next Steps
  13. Kubernetes Autoscaling
    1. Understanding Kubernetes Autoscaling
    2. Exercise 37: Deploying Kubernetes Metrics Server
    3. Exercise 38: Implementing Auto-Scaling in Kubernetes
    4. Exercise 39: Simulating Kubernetes Pod Autoscaling

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

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub