Kubernetes – An Enterprise Guide: Effectively containerize applications, integrate enterprise systems, and scale applications in your enterprise
, Second Edition
Extensively revised edition to cover the latest updates and new releases along with two new chapters to introduce Istio
Get a firm command of Kubernetes from a dual perspective of an admin as well as a developer
Understand advanced topics including load balancing, externalDNS, global load balancing, authentication integration, policy, security, auditing, backup, Istio and CI/CD
Description
Kubernetes has taken the world by storm, becoming the standard infrastructure for DevOps teams to develop, test, and run applications. With significant updates in each chapter, this revised edition will help you acquire the knowledge and tools required to integrate Kubernetes clusters in an enterprise environment.
The book introduces you to Docker and Kubernetes fundamentals, including a review of basic Kubernetes objects. You’ll get to grips with containerization and understand its core functionalities such as creating ephemeral multinode clusters using KinD. The book has replaced PodSecurityPolicies (PSP) with OPA/Gatekeeper for PSP-like enforcement. You’ll integrate your container into a cloud platform and tools including MetalLB, externalDNS, OpenID connect (OIDC), Open Policy Agent (OPA), Falco, and Velero. After learning to deploy your core cluster, you’ll learn how to deploy Istio and how to deploy both monolithic applications and microservices into your service mesh. Finally, you will discover how to deploy an entire GitOps platform to Kubernetes using continuous integration and continuous delivery (CI/CD).
Who is this book for?
This book is for anyone interested in DevOps, containerization, and going beyond basic Kubernetes cluster deployments. DevOps engineers, developers, and system administrators looking to enhance their IT career paths will also find this book helpful.
Although some prior experience with Docker and Kubernetes is recommended, this book includes a Kubernetes bootcamp that provides a description of Kubernetes objects to help you if you are new to the topic or need a refresher.
What you will learn
Create a multinode Kubernetes cluster using KinD
Implement Ingress, MetalLB, ExternalDNS, and the new sandbox project, K8GBConfigure a cluster OIDC and impersonation
Deploy a monolithic application in Istio service mesh
Map enterprise authorization to Kubernetes
Secure clusters using OPA and GateKeeper
Enhance auditing using Falco and ECK
Back up your workload for disaster recovery and cluster migration
Deploy to a GitOps platform using Tekton, GitLab, and ArgoCD
Kubernetes – An Enterprise Guide, Second Edition: Effectively containerize applications, integrate enterprise systems, and scale applications in your enterprise
Thanks to the authors. This comprehensive book on Kubernetes came at the right time.This book starts with the basics and continues to build and build and build. I appreciate the pacing as there is a lot of information covered, and the authors did a great job of not skimming over content. For example, Kubernetes resources are covered thoroughly. I have experienced some books that tend to end up providing nothing more than a list or a repeat of the help content.I would recommend this to those wanting to start using K8s and those with a moderate amount of experience. The scope is huge but all major aspects of hosting a K8s solution are covered from basic operation to networking and security to more complex scenarios using a service mesh. I also found this guide helpful for a PaaS Kubernetes offering (Azure Kubernetes Service).
Amazon Verified review
Aman GuptaMay 10, 2022
5
The chronology of chapters in this book has been set strategically to increase the complexity as I proceed. The best thing I liked about the book is no alien term is left unexplained. You don't need to google or refer any external material to understand the concepts described in this book.
Amazon Verified review
Sanket AgrawalMay 10, 2022
5
What I found interesting about this book is that it isn't monotonous. In fact, it presents two different angles of perspective on the functioning of Kubernetes and I found that they at times complement each other. The book is detailed in optimum amount - not going too deep into the basics but at the same time ensuring it doesn't leave any important aspect unexplained.
Amazon Verified review
GoLeafsGoFeb 06, 2022
5
Ok, for starters, if you want to know why you should read this book, take a look at the author's LinkedIn profiles. Both of them have years of experience in multiple portions of Information Technology and they have been working with Kubernetes, almost from the beginning.With that said, their experience and presentations doesn't mean that they can write books, right? Well, I am happy to say that they can write, and I think they write and explain everything very well. The format of this book is great for most learners. They tend to explain a topic which then blends into an exercise to help you learn the topic. I personally love this versus reading 40+ pages of theory and, maybe, get an exercise at the end of the chapter. Their GIT repository scripts are something I find myself using a few times a week to create test environments, which are well worth the price of the book by themselves.Does the book have any negatives? Very few, but there are some. For some reason the review questions in some chapters don't see to have answers, but I assume they will release an update in their GIT that will include the answers. Either way, it's not the end of the world.I wanted to call out some chapters and topics that I found very interesting and informative. I really like the use of kind for the clusters. I know others like Minikube, or even Docker desktop, but those are both have limits, and they have options to install add-ons like the K8s dashboard, where you don't learn how to do it at all. Using kind makes sense to me, it's small and you can run it on any machine that has Docker or another container runtime, including WSL2, Linux, Windows, or Mac.I really like the bootcamp chapter as a refresher, I learned about a few resources that I rarely use, or even heard of. The services chapter is a mammoth chapter, and not just the printed chapter, they continue a complex deployment using kubeadm to demonstrate the OSS project called K8GB. This was one of my favorite topics in the book and we plan to implement it at work based on my team testing it using the scripts from the authors.So many people have no idea how to secure a cluster with identity management. A lot of people use certificates for users and as the book points out, this is a nightmare and contrary to common beliefs, not a secure model. Instead, they explain OIDC in K8s in a way that anyone can learn it and to top it off, they include script to deploy OIDC with a container that appears to be a form of an Active Directory. It's not covered in the book, but I found out that you can add users by editing a config map in the namespace where the pod is running.I also loved the Istio chapters. Sure, they won't make you a service mesh expert, but that's not possible in just 2 chapters. The chapters provide enough information to make installing and working with Istio resources a lot less scary than it would be without the chapters.Finally, chapter 14 is another huge chapter that cover what could be an entire book by itself. I still like the chapter since it gets into CI/CD and uses a number of OSS tools to introduce you to pipelines. This has been an area I have been meaning to dive into more and reading this book, and chapter, was a great jumpstart to that.It's a big book, clocking in at over 500 pages, while so many other K8s books barely break 350+ pages. Something tells me they could have created a book that was triple what it is! K8s is a big and complex topic, and the chapters contain the perfect number of details to get the reader excited and comfortable on each of them.Do yourself a favor, stop searching for topics on Google that can lead you to blog that might just confuse you more than necessary, or posting questions in forums just to have someone make a sarcastic remark about your question. I have had my team read this book, and every topic can transfer to a large cluster, even though they use kind for the examples. Even the scripts work on a real-world cluster!
Amazon Verified review
HK-supergeekJan 07, 2022
5
I was a fan of the first edition of this book and when the second edition was announced so quickly, I was skeptical. Since the first edition was a unique book with the merging of theory with labs intertwined, I took the plunge and pre-ordered the second edition.The first chapter is just the base Docker, which I think is needed since the book exercises use KinD, but I'm glad they removed the other two Docker chapters from the first edition. From there the book has been updated for a new KinD version and the K8s bootcamp has some good updates. Chapter 4 and beyond is where it gets interesting. I loved the updates to the services chapter, it includes new scripts and a section on global load balancing using K8GB. The K8GB section even includes scripts and docs in book repo to step you through using kubeadm and a Windows DNS server that allows you to simulate two regions and fail a DNS record between the clusters for high availability. The updates to the Identity Management sections are excellent as well, including new scripts to deploy the OIDC provider. In this update they have included a container that acts as the backend Active Directory for the OIDC server. With one script you will have an OIDC server with a local directory that you can use for advanced features and to learn about JSON web tokens.Other chapters have great updates as well. My favorite update is the Falco chapter which covers all new features of Falco and even uses Falcosidekick to trigger a function that is created using Kubeless to create a network policy to stop a pod from communicating on the network!It's not all about just the updates in the second edition. The updates are great but they also added chapters, including one on Istio that covers installing Istio and using Kiali to observe the mesh, and the second chapter expands on the basics by authentication services and users using the tokens from the OIDC server. The scripts shine here too. Using two or three scripts you can create a new KinD cluster that includes Istio, OIDC and Kiali with token integration!!!I know this is a long review, but I really wanted to leave one since I have enjoyed the second edition even more than the original, first edition. These guys obviously don't just know what Kubernetes is, they know how it should be deployed and secured for any enterprise. This is a must have reference for anybody interested in Kubernetes and how it should run in the real-world.
Marc Boorshtein has been a software engineer and consultant for 20 years and is currently the CTO (Chief Technology Officer) of Tremolo Security, Inc. Marc has spent most of his career building identity management solutions for large enterprises, U.S. Government civilian agencies, and local government public safety systems.
Scott Surovich has been involved in the industry for over 25 years and is currently the Global Container Engineering Lead at a tier 1 bank as the Global on-premises Kubernetes product owner architecting and, delivering cluster standards, including the surrounding ecosystem. His previous roles include working on other global engineering teams, including Windows, Linux, and virtualization.
Economy: Delivery to most addresses in the US within 10-15 business days
Premium: Trackable Delivery to most addresses in the US within 3-8 business days
UK:
Economy: Delivery to most addresses in the U.K. within 7-9 business days. Shipments are not trackable
Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days! Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands
EU:
Premium: Trackable delivery to most EU destinations within 4-9 business days.
Australia:
Economy: Can deliver to P. O. Boxes and private residences. Trackable service with delivery to addresses in Australia only. Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro Delivery time is up to 15 business days for remote areas of WA, NT & QLD.
Premium: Delivery to addresses in Australia only Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.
India:
Premium: Delivery to most Indian addresses within 5-6 business days
Rest of the World:
Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days
Asia:
Premium: Delivery to most Asian addresses within 5-9 business days
Disclaimer: All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.
Unfortunately, due to several restrictions, we are unable to ship to the following countries:
Afghanistan
American Samoa
Belarus
Brunei Darussalam
Central African Republic
The Democratic Republic of Congo
Eritrea
Guinea-bissau
Iran
Lebanon
Libiya Arab Jamahriya
Somalia
Sudan
Russian Federation
Syrian Arab Republic
Ukraine
Venezuela
What is custom duty/charge?
Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.
Do I have to pay customs charges for the print book order?
The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.
A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.
How do I know my custom duty charges?
The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.
For example:
If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order?
Cancellation Policy for Published Printed Books:
You can cancel any order within 1 hour of placing the order. Simply contact [email protected] with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at [email protected] using the returns and refund process.
Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.
What is your returns and refunds policy?
Return Policy:
We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on [email protected] with the order number and issue details as explained below:
If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on [email protected] within one hour of placing the order and we will replace/refund you the item cost.
Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on [email protected] who will be able to resolve this issue for you.
You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.
On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on [email protected] within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.
What tax is charged?
Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.
What payment methods can I use?
You can pay with the following card types:
Visa Debit
Visa Credit
MasterCard
PayPal
What is the delivery time and cost of print books?
Shipping Details
USA:
'
Economy: Delivery to most addresses in the US within 10-15 business days
Premium: Trackable Delivery to most addresses in the US within 3-8 business days
UK:
Economy: Delivery to most addresses in the U.K. within 7-9 business days. Shipments are not trackable
Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days! Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands
EU:
Premium: Trackable delivery to most EU destinations within 4-9 business days.
Australia:
Economy: Can deliver to P. O. Boxes and private residences. Trackable service with delivery to addresses in Australia only. Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro Delivery time is up to 15 business days for remote areas of WA, NT & QLD.
Premium: Delivery to addresses in Australia only Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.
India:
Premium: Delivery to most Indian addresses within 5-6 business days
Rest of the World:
Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days
Asia:
Premium: Delivery to most Asian addresses within 5-9 business days
Disclaimer: All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.
Unfortunately, due to several restrictions, we are unable to ship to the following countries: