Kubernetes and Docker An Enterprise Guide
Effectively containerize applications, integrate enterprise systems, and scale applications in your enterprise
Scott Surovich
Marc Boorshtein
BIRMINGHAMMUMBAI
Kubernetes and Docker An Enterprise Guide
Copyright 2020 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author(s), nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Commissioning Editor: Vijin Boricha
Acquisition Editor: Savia Lobo
Senior Editor: Rahul Dsouza
Content Development Editor: Carlton Borges/Alokita Amanna
Technical Editor: Soham Amburle
Copy Editor: Safis Editing
Project Coordinator: Neil Dmello
Proofreader: Safis Editing
Indexer: Priyanka Dhadke
Production Designer: Aparna Bhagat
First published: November 2020
Production reference: 2061120
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-83921-340-3
www.packt.com
To my wife, Kim, for always being supportive and understanding of my technology addiction I couldn't have finished this book without your support. To my mother, Adele, and in loving memory of my father, Gene (Gene-O!), for everything they taught me to never give up, and that I can do anything that I set my mind to.
- Scott Surovich
To my wife, for supporting me in the establishment of Tremolo Security and my giving up a full-time salary to build this company; to my sons for keeping me on my toes; to my mom for raising me and giving me my persistence, and in memory of my dad, who pushed me to be my own boss.
- Marc Boorshtein
Packt.com
Subscribe to our online digital library for full access to over 7,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.
Why subscribe?
- Spend less time learning and more time coding with practical eBooks and videos from over 4,000 industry professionals
- Improve your learning with Skill Plans built especially for you
- Get a free eBook or video every month
- Fully searchable for easy access to vital information
- Copy and paste, print, and bookmark content
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at for more details.
At www.packt.com, you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.
Foreword
The pace of innovation in our industry never seems to slow down. The container and Kubernetes communities exemplify this concept. From its initial release in mid-2014, Kubernetes has not only grown exponentially as a project, but it's also revolutionized industries around software development, infrastructure, security, and continuous delivery. In a few short years, Kubernetes and the concepts that power it have changed how we'll deliver technology for the next 10 years or more.
When talking with customers, I find the struggle with staying up to date can be one of the biggest challenges when taking advantage of containers and Kubernetes. The most useful tool to keep up with this constant change is a strong understanding of the fundamental concepts and tools that make them possible. If you understand how Kubernetes essentially works, the frequent growth and changes in the Kubernetes ecosystem become tools to be leveraged instead of changes to be fretted over. Unfortunately, the only way to have that level of understanding with a complex system such as Kubernetes is to have experience using it in multiple situations.
Marc and Scott bring a mountain of experience to Kubernetes and Docker: the Complete Guide. The practical examples built from their experience help you separate the signal from the noise to master that fundamental knowledge. When you understand the relationships between the components that make up Kubernetes, container runtimes such as Docker, and the host operating systems, you begin to grow the skills that make containers the revolutionary technology they've become.
As you read the chapters and work through this book's examples in your own environment, please take the occasional minute to step back and think through how what you're doing can bring you practical value and help solve the challenges you face. Kubernetes and containers have changed the landscape of our industry because they provide a more effective way to bring value to our end users. Focusing on that value will help you incorporate it into your own solutions and make that promise real for your own end users.
All the best.
Jamie Duncan
Author, OpenShift in Action
Contributors
About the authors
Scott Surovich has been involved in the industry for over 20 years and is currently the Global Container Engineering Lead at a global Tier 1 bank, working on global Kubernetes design and delivery standards, including the surrounding ecosystem. His previous roles include working on other global engineering teams, including Windows, Linux, and virtualization. His enterprise experience has allowed him to work with multiple companies on their early Kubernetes offerings, including Kasten, Reduxio, VMware, and Google.
Scott also holds the CKA, CKAD, and Mirantis Kubernetes certifications. As part of the pilot group, he was one of the first people to receive Google's premier certification as a Google Certified Hybrid Multi-Cloud Fellow.
I would like to thank all those people who have supported me in my life and career. I have been lucky in terms of the support and encouragement that I have received from my family, friends, employer, teammates, and managers. Thank you all for the support!
Marc Boorshtein has been a software engineer and consultant for nearly 20 years and is currently the CTO 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. In recent years, he has focused on applying identity to DevOps and Kubernetes, building open source tools to automate infrastructure security. Marc is a CKAD, and can often be found in the Kubernetes Slack channels answering questions about authentication and authorization.