Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Kubernetes – An Enterprise Guide
Kubernetes – An Enterprise Guide

Kubernetes – An Enterprise Guide: Master containerized application deployments, integrate enterprise systems, and achieve scalability , Third Edition

Arrow left icon
Profile Icon Marc Boorshtein Profile Icon Scott Surovich
Arrow right icon
R$306.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (11 Ratings)
Paperback Aug 2024 682 pages 3rd Edition
eBook
R$80 R$245.99
Paperback
R$306.99
Subscription
Free Trial
Renews at R$50p/m
Arrow left icon
Profile Icon Marc Boorshtein Profile Icon Scott Surovich
Arrow right icon
R$306.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (11 Ratings)
Paperback Aug 2024 682 pages 3rd Edition
eBook
R$80 R$245.99
Paperback
R$306.99
Subscription
Free Trial
Renews at R$50p/m
eBook
R$80 R$245.99
Paperback
R$306.99
Subscription
Free Trial
Renews at R$50p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Kubernetes – An Enterprise Guide

Questions

  1. A single Docker image can be used on any Docker host, regardless of the architecture used.
    1. True
    2. False

Answer: B (We added the topic of cross-platform images)

  1. What does Docker use to merge multiple image layers into a single filesystem?
    1. Merged filesystem
    2. NTFS filesystem
    3. EXT4 filesystem
    4. Union filesystem

Answer: D

  1. Kubernetes is only compatible with the Docker runtime engine.
    1. True
    2. False

Answer: B

  1. When you edit a container's filesystem interactively, what layer are the changes written to?
    1. Operating system layer
    2. Bottom-most layer
    3. Container layer
    4. Ephemeral layer

Answer: C

  1. Assuming the image contains the required binaries, what Docker command allows you to gain access to a container's bash prompt?
    1. docker shell -it <container> /bin/bash
    2. docker run -it <container> /bin/bash
    3. docker exec -it <container> /bin/bash
    4. docker spawn -it <container> /bin/bash

Answer: B

  1. When a container is stopped, the Docker daemon will delete all traces of...

Technical requirements

This chapter has the following technical requirements:

We consider it essential to highlight that this chapter will mention various Kubernetes objects, some of which may lack extensive context. However, in Chapter 3, Kubernetes Bootcamp, we will dive into Kubernetes objects in depth, providing numerous example commands to enhance your understanding. To ensure a practical learning experience, we recommend having a cluster while reading the bootcamp chapter.

Most of the basic Kubernetes topics covered in this chapter will be discussed in future chapters, so if some topics become a bit foggy after you’ve read this chapter, never...

Introducing Kubernetes components and objects

Since this chapter will discuss various common Kubernetes objects and components, we’ve included a table with brief definitions for each term. This will provide you with the necessary context and help ensure you understand the terminology as you read through the chapter.

In Chapter 3, Kubernetes Bootcamp, we will go over the components of Kubernetes and the basic set of objects that are included in a cluster. Since we will have to use some basic objects in this module, we have provided some common Kubernetes components and resources in the table below.

Table 4.1 – Kubernetes components and objects

Figure 2.1: Kubernetes components and objects

While these are only a few of the objects that are available in a Kubernetes cluster, they are the objects we will discuss in this chapter. Knowing what each resource is and having basic knowledge of its functionality will help you to understand this chapter.

Interacting with a cluster

To interact with a cluster...

Using development clusters

Over time, several solutions have been developed to facilitate the installation of development Kubernetes clusters, enabling administrators and developers to conduct testing on local systems. While these tools have proven effective for basic Kubernetes testing, they often possess certain limitations that render them suboptimal for more advanced scenarios.

Some of the most common solutions available are as follows:

  • Docker Desktop
  • K3s
  • KinD
  • kubeadm
  • minikube
  • Rancher Desktop

Each solution has benefits, limitations, and use cases. Some solutions limit you to a single node that runs both the control plane and worker nodes. Others offer multi-node support but require additional resources to create multiple virtual machines. Depending on your development or testing requirements, these solutions may not meet your needs completely.

To truly get into Kubernetes, you need to have a cluster that has at least a...

Installing KinD

At the time of writing, the current version of KinD is 0.22.0, supporting Kubernetes clusters up to 1.30.x.

The files required to deploy KinD and all of the components for the cluster that we will use for the chapters are located in the repository, under the chapter2 folder. The script, create-cluster.sh, located in the root of the chapter2 directory, will execute all of the steps discussed in the remainder of the chapter. You do not need to execute the commands as you read the chapter; you are welcome to follow the steps, but before executing the install script in the repo, you must delete any KinD clusters that may have been deployed.

The deployment script contains in-line remarks to explain each step; however, we will explain each step of the installation process in the next section.

Installing KinD – prerequisites

There are multiple methods available for installing KinD, but the simplest and fastest approach to begin building KinD clusters...

Creating a KinD cluster

The KinD utility offers the flexibility to create both single-node clusters and more intricate setups with multiple control plane nodes and worker nodes. In this section, we will dive into the various options provided by the KinD executable. By the conclusion of this chapter, you will have a fully operational two-node cluster comprising a control plane node and a worker node.

Note

Kubernetes cluster concepts, including the control plane and worker nodes will be covered in detail in the next chapter, Chapter 3: Kubernetes Bootcamp.

For the exercises covered in this book, we will be setting up a multi-node cluster. The simple cluster configuration provided in the next section serves as an introductory example and should not be employed for the exercises presented in the book.

Creating a simple cluster

We will create a cluster later in the chapter, but before we do that, let’s explain how we can use KinD to create different...

Reviewing your KinD cluster

Now that you have a fully functional Kubernetes cluster, we can dive into the realm of a few key Kubernetes objects, specifically storage objects. In the next chapter, Kubernetes Bootcamp, we will get deeper into the other objects that are available in a Kubernetes cluster. While that chapter will explore the large list of objects available in a cluster, it is important to introduce the storage-related objects at this point, since KinD provides storage capabilities.

In this section, we shall acquaint ourselves with the storage objects seamlessly integrated within KinD. These purpose-built storage objects extend persistent storage capabilities to your workloads within the cluster, ensuring data persistence and resilience. By familiarizing ourselves with these storage objects, we lay the foundation for seamless data management within the Kubernetes ecosystem.

KinD storage objects

Remember that KinD includes Rancher’s auto-provisioner to...

Adding a custom load balancer for Ingress

We added this section for anybody who may want to know more about how to load balance between multiple worker nodes.

This section disccusses a complex topic that covers adding a custom HAProxy container that you can use to load balance worker nodes in a KinD cluster. You should not deploy this on the KinD cluster that we will use for the remaining chapters.

Since you will interact with load balancers in most enterprise environments, we wanted to add a section on how to configure your own HAProxy container for worker nodes, in order to load balance between three KinD nodes.

First, we will not use this configuration for any of the chapters in this book. We want to make the exercises available to everyone, so to limit the required resources, we will always use the two-node cluster that we created earlier in this chapter. If you want to test KinD nodes with a load balancer, we suggest using a different Docker host or waiting until...

Summary

This chapter provided an overview of the KinD project, a Kubernetes SIG project. We covered the process of installing optional components in a KinD cluster, such as Calico for CNI and NGINX for Ingress control. Additionally, we explored the Kubernetes storage objects that are included with a KinD cluster.

You should now understand the potential benefits that KinD can bring to you and your organization. It offers a user-friendly and highly customizable Kubernetes cluster deployment, and the number of clusters on a single host is only limited by the available host resources.

In the next chapter, we will dive into Kubernetes objects. We’ve called the next chapter Kubernetes Bootcamp, since it will cover the majority of the basic Kubernetes objects and what each one is used for. The next chapter can be considered a “Kubernetes pocket guide.” It contains a quick reference to Kubernetes objects and what they do, as well as when to use them.

It’...

Questions

  1. What object must be created before you can create a PersistentVolumeClaim?
    1. PVC
    2. A disk
    3. PersistentVolume
    4. VirtualDisk

Answer: c

  1. KinD includes a dynamic disk provisioner. Which company created the provisioner?
    1. Microsoft
    2. CNCF
    3. VMware
    4. Rancher

Answer: d

  1. If you created a KinD cluster with multiple worker nodes, what would you install to direct traffic to each node?
    1. A load balancer
    2. A proxy server
    3. Nothing
    4. Replicas set to 3

Answer: a

  1. True or false? A Kubernetes cluster can only have one CSIdriver installed.
    1. True
    2. False

Answer: b

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Focuses on what you need to run Kubernetes in an Enterprise environment, based on real-world experience
  • Learn how to secure clusters by adding runtime security and enhancing secrets management using direct pod mounting and Vault integration
  • Get a firm command of Kubernetes from a dual perspective of an admin as well as a developer

Description

Stay at the forefront of cloud-native technologies with the eagerly awaited Kubernetes – An Enterprise Guide, Third Edition. Delve deep into Kubernetes and emerge with the latest insights to conquer today's dynamic enterprise challenges. This meticulously crafted edition equips you with the latest insights to skillfully navigate the twists and turns of ever-evolving cloud technology. Experience a more profound exploration of advanced Kubernetes deployments, revolutionary techniques, and expert strategies that redefine your cloud-native skill set. Discover cutting-edge topics reshaping the technological frontier like virtual clusters, container security, and secrets management. Gain an edge by mastering these critical aspects of Kubernetes and propelling your enterprise to new heights. Expertly harness Kubernetes' power for business-critical applications with insider techniques. Smoothly transition to microservices with Istio, excel at modern deployments with GitOps/CI/CD, and bolster security with OPA/Gatekeeper and KubeArmor. Integrate Kubernetes with leading tools for maximum impact in a competitive landscape. Stay ahead of the technology curve with cutting-edge strategies for innovation and growth. Redefine cloud-native excellence with this definitive guide to leveraging Kubernetes.

Who is this book for?

Tech enthusiasts, DevOps aficionados, and those keen on mastering containerization will revel in the insights offered by this book. Designed for DevOps engineers, developers, and system administrators seeking to amplify their IT journey, this guide is your gateway to next-level Kubernetes expertise. While some familiarity with Docker and Kubernetes is advantageous, fear not if you're new to these concepts. A Kubernetes bootcamp is thoughtfully included, ensuring a seamless learning experience for beginners and those in need of a refresher.

What you will learn

  • Manage Secrets with Vault and External Secret Operator
  • Create multitenant clusters with vCluster for isolated environments
  • Monitor clusters with Prometheus and visualize metrics using Grafana
  • Aggregate and analyze logs centrally with OpenSearch for insights
  • Build a developer platform integrating GitLab and ArgoCD for CI/CD
  • Deploy applications in Istio service mesh and secure them with OPA and GateKeeper
  • Secure your container runtime and halt hackers in their tracks with KubeArmor
Estimated delivery fee Deliver to Brazil

Standard delivery 10 - 13 business days

R$63.95

Premium delivery 3 - 6 business days

R$203.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 30, 2024
Length: 682 pages
Edition : 3rd
Language : English
ISBN-13 : 9781835086957
Languages :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Brazil

Standard delivery 10 - 13 business days

R$63.95

Premium delivery 3 - 6 business days

R$203.95
(Includes tracking information)

Product Details

Publication date : Aug 30, 2024
Length: 682 pages
Edition : 3rd
Language : English
ISBN-13 : 9781835086957
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
R$50 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
R$500 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just R$25 each
Feature tick icon Exclusive print discounts
R$800 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just R$25 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total R$ 836.97
Mastering Git
R$278.99
Implementing GitOps with Kubernetes
R$250.99
Kubernetes – An Enterprise Guide
R$306.99
Total R$ 836.97 Stars icon

Table of Contents

21 Chapters
Docker and Container Essentials Chevron down icon Chevron up icon
Deploying Kubernetes Using KinD Chevron down icon Chevron up icon
Kubernetes Bootcamp Chevron down icon Chevron up icon
Services, Load Balancing, and Network Policies Chevron down icon Chevron up icon
External DNS and Global Load Balancing Chevron down icon Chevron up icon
Integrating Authentication into Your Cluster Chevron down icon Chevron up icon
RBAC Policies and Auditing Chevron down icon Chevron up icon
Managing Secrets Chevron down icon Chevron up icon
Building Multitenant Clusters with vClusters Chevron down icon Chevron up icon
Deploying a Secured Kubernetes Dashboard Chevron down icon Chevron up icon
Extending Security Using Open Policy Agent Chevron down icon Chevron up icon
Node Security with Gatekeeper Chevron down icon Chevron up icon
KubeArmor Securing Your Runtime Chevron down icon Chevron up icon
Backing Up Workloads Chevron down icon Chevron up icon
Monitoring Clusters and Workloads Chevron down icon Chevron up icon
An Introduction to Istio Chevron down icon Chevron up icon
Building and Deploying Applications on Istio Chevron down icon Chevron up icon
Provisioning a Multitenant Platform Chevron down icon Chevron up icon
Building a Developer Portal Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(11 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




DK Sep 01, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book offers a deep and thoughtful exploration of managing Kubernetes in an enterprise environment. The book covers a broad range of topics essential for effectively deploying and scaling Kubernetes in complex organizational settings. The authors provide a wealth of practical advice, drawing on their extensive experience in the field.While the book excels in many areas, such as its detailed discussions on integrating Kubernetes with enterprise systems and managing multi-tenant clusters, it does feel like it’s missing a few critical points, particularly in areas like advanced security practices or some emerging Kubernetes tools. That said, the depth and clarity of the content make it a valuable resource for anyone looking to extend their Kubernetes knowledge beyond the basics.Overall, it’s a solid guide that will be especially useful for DevOps teams working in enterprise environments. Just be prepared to supplement it with additional resources for the most cutting-edge practices.
Amazon Verified review Amazon
Boom Shakalaka Sep 09, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a reader with a few years of hands-on experience deploying at scale and managing both Amazon EKS and Google Kubernetes Engine (GKE), "Kubernetes - An Enterprise Guide" by Marc Boorshetein and Scott Surovich is an excellent guide for those just learning about Kubernetes as well as seasoned professionals. The end of each chapter includes a summary and questions that can be used for study. They also include a link to their Discord community if you would have questions.The authors start by covering container fundamentals and Docker concepts. Docker is one of the most widely used tooling for developing with containers. It is geared towards individuals who have prior experience with containers. I found this information useful as someone with years of experience. This leads into working with Kubernetes locally by deploying a cluster with KinD (Kubernetes in Docker). This is a great way to learn the basics of Kubernetes without having to spend money on cloud resources or procuring hardware. Chapter 2 covers common components of Kubernetes as well as how to interact with a cluster using kubectl. Example screenshots and configurations are provided which should be helpful for those new to the tooling and concepts when learning KinD.There is a wealth of information in regards to Kubernetes concepts; therefore, it would be quite difficult to learn by simply reading a textbook. The information is similar to what you might find in the documentation online, but with more in depth analysis and focused sections. A beginner would likely need to revisit sections based on what that person's role is in terms of interacting with Kubernetes. Overall this book includes some great information for an individual migrating their organization to Kubernetes.I was able to learn some new things even as an experienced user, for example, the chapter about the K8GB I found particularly enlightening. I knew the basics going in, but have not been working with Kubernetes lately so it was a good refresher to see them again. There were also some insightful explanations I can use moving forward. I definitely recommend reading for anyone with some experience with containers and is ready to level up and start using Kubernetes at scale.There are many solutions to choose from when it comes to cluster components. The authors have chosen some of the most popular solutions to cover in depth so this information is immediately useful for users looking to implement Kubernetes at an Enterprise level.
Amazon Verified review Amazon
Eugene C. Olsen Sep 23, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
From the authors, “We created this book to help DevOps teams to expand their skills beyond the basics of Kubernetes.” Also, “Readers should have some experience with Kubernetes and DevOps before reading this book.” The book is intermediate to advanced in level and is very hands-on. This said, Chapter 3 provides an excellent Kubernetes bootcamp. I would recommend, however, that before diving into Chapter 3, the beginner should invest some time getting an overview of Kubernetes, including some common use cases.To follow the book with the hands-on instructions that fill most of the chapters (more practice than theory), Ubuntu Linux 22.04 or higher is required. This could be running on a high-end Raspberry Pi or anything more powerful. The book is not meant to be a page-turner. If the reader has their Ubuntu machine nearby they will get some great experience deploying Kubernetes and related tools. It will take time. Kubernetes has lots of moving parts.Seven of the 19 chapters are dedicated to security with security concerns also peppered throughout most of the rest of the chapters. Chapter 15 needs more computing power (maybe an Orange Pi Max with 16GB RAM) and Chapter 19 requires considerably more computing power.Targeted at DevOps, the book might appeal to a wider audience wishing for a deep, hands-on dive into Kubernetes.
Amazon Verified review Amazon
Kevin J. Sep 30, 2024
Full star icon Full star icon Full star icon Full star icon